The solar system is full of small bodies. Most of them are harmless. But the occasional one spells bad news for Earth. With the tools of modern astronomy, we can detect these objects ahead of time. By measuring their orbital properties and brightness, we can determine if they are potential threats. Using supervised classification, we can take previously identified threatening objects and automatically detect if a new object is like them. This increases our chances of detecting the next threat far in advance so we can find a solution in time.