Foreign ministry spokesman Hong Lei

China on Friday labelled as "irresponsible" reports that it was behind a massive hack of personal data of millions of current and former US federal employees.

"Cyber attacks are generally anonymous and conducted across borders and their origins are hard to trace," foreign ministry spokesman Hong Lei said at a regular briefing. "Not to carry out a deep investigation and keep using words such as 'possible' is irresponsible and unscientific."