The Smart Card Detective (SCD) is a general framework for research on smart cards. It allows you to monitor any smart card application (including Chip and PIN / EMV transactions) and create your custom applications. The software is completely open source, and the hardware can be bought from Smart Architects. The device has a smart card interface as well as a terminal/reader interface, allowing the SCD to act as a passive/active monitor between a card and a reader or emulate a card or a terminal. Using the Python command line interface, you can interact with the SCD using a PC. This allows more flexible operation, although the SCD also features many stand-alone applications and a battery so that you can also use it without a PC.