Protecting the public purse with digital footprints