Axios Published Two Malicious Versions for about Three Hours
On 31 March, two malicious versions of the Axios HTTP client appeared on npm. The project's maintainer postmortem identified them as 1.14.1 and 0.30.4 and said they remained available for roughly three hours before removal.
The versions added a malicious dependency, [email protected], designed to install remote-access malware on Windows, macOS and Linux. The maintainers said an attacker published the releases through a compromised maintainer account. They responded by wiping the affected device, resetting credentials and beginning changes to the release process, including plans for short-lived, identity-based publishing credentials.
The publication window establishes exposure. It does not establish that every Axios user downloaded either version, that every download executed the malicious dependency, or that every execution produced a further compromise. Lockfiles, package-manager records, build logs and cached artefacts would be needed to distinguish those states for a particular environment.
The familiar package name offered no protection once publication authority had been taken. Nor would a general instruction to use a trusted registry have answered the question. The evidence belongs to the precise version and bytes that crossed the build path.