# MAL-2026-6243: Malicious code in atlasora-utils (npm)


- **Type:** Malicious package
- **Package:** `atlasora-utils` (npm)
- **Published:** 20 Jun 2026

## What is MAL-2026-6243?

MAL-2026-6243 is a malicious package in atlasora-utils, published on 20 Jun 2026. 

### Official description

On `npm install`, the package's postinstall hook (`node install.js`, declared in package.json) harvests secrets from the installer's machine and POSTs them to a hardcoded attacker-controlled webhook at https://webhook.site/22e20640-e2a1-4bb2-b203-061077d055ff. Collected data includes: a long list of named environment variables (COINBASE_*, OPENAI_API_KEY, AWS_ACCESS_KEY_ID/SECRET, JWT_SECRET, PRIVATE_KEY, MNEMONIC, etc.); the contents of `.env`, `.env.local`, and `.env.production` from the current working directory and parent directories; files under `~/.ssh/` filtered for content containing `PRIVATE` or `KEY` (private SSH keys); `~/.aws/credentials`; `~/.npmrc` (npm auth tokens); and the output of `git config --list`. The source uses a constant explicitly named `EXFIL_SERVER` and labels the operation as a collection target. The package also masquerades as an internal AtlasOra package — the console output prints `@atlasora/shared: installed successfully` while the actual package name is `atlasora-utils`, consistent with a dependency-confusion lure targeting developers of the AtlasOra project.

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

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

## Sources

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

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