# MAL-2026-6455: Malicious code in simple-node-calc-ccc (npm)


- **Type:** Malicious package
- **Package:** `simple-node-calc-ccc` (npm)
- **Published:** 25 Jun 2026

## What is MAL-2026-6455?

MAL-2026-6455 is a malicious package in simple-node-calc-ccc, published on 25 Jun 2026. 

### Official description

Package name 'simple-node-calc-ccc' presents as a trivial calculator but ships lodash-compiler.js, an 87KB obfuscator.io-packed file using rotating string-array decoding (_0xNNNN identifiers, `_0x2f6e` rotation table). The decoded payload calls `require('fs')['writeFileS'+'ync']('poc.txt', 'Security P...OC.')`. The package also ships a non-standard `config.gypi` (line 9) containing `"action": ["node", "lodash-compiler.js"]`. config.gypi is normally generated locally by `node-gyp configure` and is not shipped with packages; shipping a hand-crafted config.gypi with a custom action that invokes an obfuscated sibling script is a covert mechanism to execute the obfuscated file whenever any downstream tool runs node-gyp in the package directory. While the present payload only writes a marker file ('Security POC'), the technique itself ships arbitrary obfuscated code execution to any installer who triggers a node-gyp build in this tree, and the obfuscation has no legitimate purpose for a calculator package.

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

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-6455 is a malicious package: simple-node-calc-ccc (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-6455/ (Markdown: https://insights.sbomify.com/MAL-2026-6455/index.md)
```

## Sources

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

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