# MAL-2026-10727: Malicious code in axios-test-one (npm)


- **Type:** Malicious package
- **Package:** `axios-test-one` (npm)
- **Published:** 16 Jul 2026

## What is MAL-2026-10727?

MAL-2026-10727 is a malicious package in axios-test-one, published on 16 Jul 2026. 

### Official description

`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.

## What should I do about MAL-2026-10727?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-10727 is a malicious package: axios-test-one (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-10727/ (Markdown: https://insights.sbomify.com/MAL-2026-10727/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-10727

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-10727/
Summaries are generated and may contain mistakes; the official description above is the record.
