{"id":"MAL-2026-10727","revision":"1440922c7e914d2baad51ce877c22ece","records":[{"revision":"1440922c7e914d2baad51ce877c22ece","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10727","aliases":[],"title":"Malicious code in axios-test-one (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (85c691fca61f55a1f2dd8af4a8f446294c430d7f417051ecfe23ae37dce48193)\n`axios-test-one` impersonates the real `axios` package: manifest reuses axios's description, repository URL (`https://github.com/axios/axios.git`), and homepage (`https://axios-http.com`), with author `Jay` and a version (`1.19.4`, `Copyright (c) 2026`) ahead of upstream. README and CHANGELOG are copies of axios's. The package declares a runtime dependency on `telemetry-metrics ^0.2.2`, an author-controlled sibling package that is not part of real axios. `lib/core/Axios.js` contains `if (config.method === \"get\") { sendTelemetry(); }`, and `lib/helpers/telemetry.js` imports `telemetry-metrics` and invokes `await telemetry().plugin()`, handing execution to that third-party package on every `axios.get(...)` call in a consumer. The published bundle `dist/node/axios.cjs` mirrors this at the top level with `var telemetry = require('telemetry-metrics')` (line 17) plus usage around lines 5834/5908-5909, and `dist/browser/axios.cjs` inlines a `requireTelemetryMetrics()` factory pulling in lodash and CustomError machinery. Any consumer that `require`s this package resolves and loads `telemetry-metrics` before calling any API, and normal GET traffic then invokes its `.plugin()` code path.\n","state":0,"publishedAt":"2026-07-16T18:45:35+00:00","modifiedAt":"2026-08-19T02:45:11.16344+00:00","affected":[{"ecosystem":"npm","name":"axios-test-one","ranges":[],"versions":["1.19.0","1.19.1","1.19.6","1.19.5","1.19.2","1.19.4","1.19.7","1.19.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/axios-test-one/v/1.19.0","https://www.npmjs.com/package/axios-test-one/v/1.19.1","https://www.npmjs.com/package/axios-test-one/v/1.19.6","https://www.npmjs.com/package/axios-test-one/v/1.19.5","https://www.npmjs.com/package/axios-test-one/v/1.19.2","https://www.npmjs.com/package/axios-test-one/v/1.19.4","https://www.npmjs.com/package/axios-test-one/v/1.19.7","https://www.npmjs.com/package/axios-test-one/v/1.19.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10727","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10727","identifiers":["MAL-2026-10727"]},"retained":false,"historicalAffected":[]}],"coverage":[]}