Nanoscale sensing elements offer promise for single-molecule analyte detection in physically or biologically constrained environments. Single-walled carbon nanotubes have several advantages when used as optical sensors, such as photostable near-infrared emission for prolonged detection through biological media and single-molecule sensitivity. Molecular adsorption can be transduced into an optical signal by perturbing the electronic structure of the nanotubes. Here, we show that a pair of single-walled nanotubes provides at least four modes that can be modulated to uniquely fingerprint agents by the degree to which they alter either the emission band intensity or wavelength. We validate this identification method in vitro by demonstrating the detection of six genotoxic analytes, including chemotherapeutic drugs and reactive oxygen species, which are spectroscopically differentiated into four distinct classes, and also demonstrate single-molecule sensitivity in detecting hydrogen peroxide. Finally, we detect and identify these analytes in real time within live 3T3 cells, demonstrating multiplexed optical detection from a nanoscale biosensor and the first label-free tool to optically discriminate between genotoxins.