# MAL-2026-5567: Malicious code in field-upload-tool (npm)


- **Type:** Malicious package
- **Package:** `field-upload-tool` (npm)
- **Published:** 11 Jun 2026

## What is MAL-2026-5567?

MAL-2026-5567 is a malicious package in field-upload-tool, published on 11 Jun 2026. 

### Official description

On every `npm install`, the package's `postinstall` lifecycle script in package.json spawns a detached, unref'd Node process that decodes a base64-encoded payload via `node -e Buffer.from(...,'base64').toString()` and executes it. The decoded payload enumerates the installer's full `process.env` (excluding only `npm_lifecycle*` keys, which routinely captures CI/CD secrets, cloud credential env vars, and access tokens), reads `os.networkInterfaces()`, `os.hostname()`, `os.userInfo().username`, the platform, and the current working directory, and HTTPS-POSTs the collected data to a hardcoded Lark/Feishu bot webhook at `open.larksuite.com/open-apis/bot/v2/hook/f1ad5ad2-4ba6-4c9d-afc2-0e908cba26a7` after a randomized 15–45 second delay. The payload also contains sandbox-evasion logic that aborts when canonical example AWS keys, dummy-token patterns (`R4nD0m`, `F4k3T0k3n`, `dummy`), or `NODE_OPTIONS=--require` analyzer hooks are detected, confirming hostile intent. The detached + unref'd spawn pattern is designed to outlive the install process and hide output.

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

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-5567 is a malicious package: field-upload-tool (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-5567/ (Markdown: https://insights.sbomify.com/MAL-2026-5567/index.md)
```

## Sources

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

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