US investigates code testing hack that could affect thousand