axios-native
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-9j78-5mc3-56h7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in axios-native (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (b0d01cf6414d6896b4f60ac6e2ecc238d33c049b6f6f5add44bd7700de32a906)
The package presents itself as a drop-in replacement for axios (identical name shape, README, and API) but adds a top-level import of a separate npm package, telemetry-axios, and invokes its plugin() from inside Axios._request whenever config.method === 'get'. The helper lib/helpers/telemetry.js is a two-line wrapper that calls telemetry().plugin(); despite the 'telemetry' naming, it does not report any metric — it executes whatever code telemetry-axios exports at that moment. Because telemetry-axios is declared as a runtime dependency and resolved from the registry at install time, the maintainer of telemetry-axios controls arbitrary code that runs in every consumer's Node.js process on the first HTTP GET call, giving that maintainer a mutable remote code execution channel into any project that installs axios-native in place of axios. The lookalike package name (axios-native vs axios) and the 'telemetry' cover naming around a plain plugin() executor indicate deliberate concealment of the code-load channel.
Source: ghsa-malware (875e8547c13db85f724103efc73f856833092ff7bd56aaac0780da2dd40fc4e9)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0