Look, I'm not saying stealth in space is definitely possible or definitely impossible.
I'm just doing the maths in order to determine what kind of sensor equipment you need in order to pick up a ship like this and actually determine it is in fact a clever ruse and not an asteroid.
The requirements are:
-You have a radar system that has already registered and archived the orbits of all legitimate objects within it's range
-is able to scan the area in a reasonable time; this time is the minimum grace time for a stealth ship. No radar system can immediately track the whole sky. If it takes a week to do a full sweep of the space, then it can take up to a week to detect the new object. On average, based on probabilities, it takes three and a half days.
Radar echoes are easy to minimize, however. A system that is able to detect every particle in, say, Saturn's belt would be impressive indeed. There's also places with a lot of junk gathering to them with very chaotic orbits; trojan asteroid zones come to mind first and foremost. Determining these orbits would pretty much require solving +three body problem which is, for current mathemathics, rather impossible. You can get approximations, sure, but you would need arbitrarily small dt (time differential, for not-mathematically inclined) values to really approach the accuracy you need for this kind of thing.
It's also possible to do the Han Solo and simply attach the spy ship on some already existing object. Without getting a good look at the asteroid or comet or whatever the ship attached itself to with good old Mark I, it would be very, very difficult to determine that it's there at all.
Optical detection of one kilometre wide target at 1 AU distance, beyond detecting a point source of radiation of course, would require resolution beyond 0.000689396936 arc-seconds, and again the system has a certain time it needs to sweep the whole sky. It can't do it instantaneously. You can't really fit a fish-eye lense with large enough CCD cell to cover half the sky immediately; even if you could, image analysis would become a problem.
As far as thermal imaging goes, same limitations apply. Sure you can detect a point source of light, but without more detail you can't know what the surface material is and without that, you can't know what the emissivity rates are. Sure, you can get some hints out of spectrum analysis, but that just reveals the element if even that; and element alone can't give you exact knowledge of the surface's emissivity rates which is required in order to accurately determine the surface temperature, which is required to differentiate from non-ship targets. It would most likely be fairly easy to pass between the surface variations of asteroids as far as surface temperature of the ship goes.
However, the further the ship is from the green zone, the more difficult it is to remain hidden, because the average temperature gained from solar heating either drops or rises too low to sustain livable environment and active heating needs to be engaged.
Still, I'm just bringing up all the difficulties in first of all detecting a ship - even a big'un at that - at interplanetary distances. Moreover I'm concentrating on the difficulties on how to determine that a target is actually a ship, especially if it wants to pass off as an asteroid or other naturally occurring target.
Thus far my conclusion is you need insanely good sensor equipment in order to make stealth impossible within any sort of reasonable range. If you want to handwave efficient enough sensors into existence for your scifi universe, sure you can negate the possibility of stealth ships, but you should still remember to limit the range of absolute detection and remember issues like light speed that make simultaneous events not simultaneous at all.