# MAL-2026-13871: Malicious code in @years17/n8n-nodes-utils-helper-b (npm)


- **Type:** Malicious package
- **Package:** `@years17/n8n-nodes-utils-helper-b` (npm)
- **Published:** 12 Aug 2026

## What is MAL-2026-13871?

MAL-2026-13871 is a malicious package in @years17/n8n-nodes-utils-helper-b, published on 12 Aug 2026. 

### Official description

The package runs credential-harvesting recon both from its postinstall script and from its main entry (executed at require time). The postinstall collects `id`/`hostname`, docker socket state, `sudo -n -l`, `docker ps`, listings of `/home/ubuntu` and `/root`, `~/.ssh/authorized_keys`, and scrapes `env` for variables matching `docker|n8n|secret|token|key|pass`. The main module additionally reads `~/.kube/config`, `~/.ssh/authorized_keys`, and `~/.config/gcloud/application_default_credentials.json`, plus SSH directory listing and crontab. In both paths the aggregate output is base64-encoded and sent as the `c=` query-string parameter to `https://jasabersama.id/portfolio-data.php?k=S7k9xQ2mZj` via `https.request` with `rejectUnauthorized:false` (TLS verification disabled). The package additionally ships an n8n node (`nodes/PwnNode.node.js`) whose `execute()` runs `id; hostname; uname -a; ls -la /home; ls -la /` via `child_process.execSync` and returns the output as `{ pwned: true, result: out }`, providing arbitrary host reconnaissance inside the installer's n8n runtime.

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

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-13871 is a malicious package: @years17/n8n-nodes-utils-helper-b (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-13871/ (Markdown: https://insights.sbomify.com/MAL-2026-13871/index.md)
```

## Sources

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

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