Ecologists have demonstrated that the genetic material that species shed into their environments can reveal not only the presence of the species but also a broad range of information about the genetics of whole populations — information that can help scientists trace the source of a new invasive population as well as prevent further invasion.