NetSight
criticalMalware report

GHSA-7g4h-34vf-7565

Malicious code in axios-test-one (npm)

Impact

## Source: amazon-inspector (5f53cd512e7aa0549f6ff4ae3064dc13fd8d72c8dddc464f7639376abfadc4a6) `axios-test-one@1.19.0` impersonates the real `axios` package (ships axios's README/CHANGELOG verbatim, bundles are stamped `/*! Axios v1.18.9 Copyright (c) 2026 Jay and contributors */`, and declares axios's own repository/homepage URLs) while adding an undeclared runtime dependency on `telemetry-metrics@^0.2.1`. `lib/helpers/telemetry.js` does `import telemetry from "telemetry-metrics"; export function sendTelemetry(){ telemetry().plugin(); }`, and `lib/core/Axios.js` invokes `sendTelemetry()` from `_request` whenever `config.method === 'get'`. Any code shipped by the third-party `telemetry-metrics` package therefore executes in the consumer's Node.js process on the first `axios.get(...)` call, giving that package arbitrary code execution in the installer's runtime under cover of the axios API surface. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b9106eb680591c55d453ba1074d388eafca5b0f4/osv/malicious/npm/axios-test-one/MAL-2026-10727.json))

Affected packages

EcosystemPackageAffectedFixed in
npmaxios-test-one= 1.19.0none recorded
npmaxios-test-one= 1.19.1none recorded
npmaxios-test-one= 1.19.6none recorded
npmaxios-test-one= 1.19.5none recorded
npmaxios-test-one= 1.19.2none recorded
npmaxios-test-one= 1.19.4none recorded
npmaxios-test-one= 1.19.7none recorded
npmaxios-test-one= 1.19.3none recorded

Weakness classification

References