axios-test-one@1.19.0
Malicious code in axios-test-one (npm)
Analysis
axios-test-one@1.19.0 is a trojanized clone of the real axios HTTP library. The package copies the entire axios codebase but renames it to axios-test-one and injects a dependency on the known-malware package telemetry-metrics. A new file lib/helpers/telemetry.js imports telemetry-metrics and calls telemetry().plugin(). The core request handler in lib/core/Axios.js is modified to call this telemetry function on every GET request, so any application using this package to make GET requests will execute the malicious telemetry-metrics payload. The package has no repository, no documented purpose beyond the cloned axios description, and ships the injected telemetry hook in the request path.
- analyzed by
- Leitwacht
- first seen
- Jul 15, 2026, 06:33 PM
- analyzed
- Jul 15, 2026, 06:34 PM
Related advisories
- idlive-document-capture-web@14.2.1
- formatters.ts@14.2.1
- ac-raf-emitter@3.0.1
- @leviosa86com/leviosa86-test@6.0.0
- @debile/require-dir@1.9.1
- @web3-helpers/core@1.0.5
- smb-common-uikit@15.2.0
- ahooks-3.7.8@13.1.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.