Malicious code in axios-test-one (npm)
The npm package 'axios-test-one' is a malicious impersonation of the legitimate 'axios' package. It copies axios's metadata and documentation but includes a runtime dependency on a malicious package 'telemetry-metrics'. This dependency executes code on every axios.get() call, potentially allowing unauthorized code execution in consumers of this package.
AI Analysis
Technical Summary
'axios-test-one' is a malicious npm package designed to impersonate the popular 'axios' HTTP client. It reuses axios's description, repository URL, homepage, and documentation to appear legitimate. The package declares a runtime dependency on 'telemetry-metrics', a malicious sibling package controlled by the attacker. Within its code, it conditionally calls 'sendTelemetry()' on HTTP GET requests, which invokes 'telemetry-metrics' plugin code. This means any consumer requiring 'axios-test-one' and making GET requests will execute attacker-controlled code, posing a significant security risk.
Potential Impact
Consumers of 'axios-test-one' who install and use this package will unknowingly execute malicious code embedded in the 'telemetry-metrics' dependency during normal GET HTTP requests. This could lead to unauthorized code execution within the context of the affected application, potentially compromising system integrity and confidentiality.
Mitigation Recommendations
Users should avoid installing or using the 'axios-test-one' package. Verify that dependencies reference the legitimate 'axios' package and not similarly named or impersonating packages. Since no official patch or fix is available, removing 'axios-test-one' and replacing it with the authentic 'axios' package is the recommended mitigation.
Malicious code in axios-test-one (npm)
Description
The npm package 'axios-test-one' is a malicious impersonation of the legitimate 'axios' package. It copies axios's metadata and documentation but includes a runtime dependency on a malicious package 'telemetry-metrics'. This dependency executes code on every axios.get() call, potentially allowing unauthorized code execution in consumers of this package.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
'axios-test-one' is a malicious npm package designed to impersonate the popular 'axios' HTTP client. It reuses axios's description, repository URL, homepage, and documentation to appear legitimate. The package declares a runtime dependency on 'telemetry-metrics', a malicious sibling package controlled by the attacker. Within its code, it conditionally calls 'sendTelemetry()' on HTTP GET requests, which invokes 'telemetry-metrics' plugin code. This means any consumer requiring 'axios-test-one' and making GET requests will execute attacker-controlled code, posing a significant security risk.
Potential Impact
Consumers of 'axios-test-one' who install and use this package will unknowingly execute malicious code embedded in the 'telemetry-metrics' dependency during normal GET HTTP requests. This could lead to unauthorized code execution within the context of the affected application, potentially compromising system integrity and confidentiality.
Mitigation Recommendations
Users should avoid installing or using the 'axios-test-one' package. Verify that dependencies reference the legitimate 'axios' package and not similarly named or impersonating packages. Since no official patch or fix is available, removing 'axios-test-one' and replacing it with the authentic 'axios' package is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10727
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c7acd9273b49252857
Added to database: 08/19/2026, 13:51:03 UTC
Last enriched: 08/19/2026, 17:55:07 UTC
Last updated: 08/19/2026, 17:55:07 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.