A tool as small as a human cell can scan for contaminants and more