Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

dev-env-bootstrappernpm

Malicious code in dev-env-bootstrapper (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-4277
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall dev-env-bootstrapper

What this malware does

Ten packages published by npm user asdxzxc at version 1.0.10 target developers working on AI and LLM tooling. Each package masquerades as a developer utility while executing a two-stage payload triggered via postinstall: package.jsonlib/setup.jslib/worker.js.

Credential harvesting: lib/worker.js scans the filesystem for private keys (64-char hex), BIP39 mnemonics (12–24 word phrases), API keys and secrets, and passwords from env vars and shell history (.bash_history, .zsh_history, .fish_history, .mysql_history, .psql_history), including wallet tool invocations (geth account, hardhat, metamask, wallet import). Targeted paths include ~/.ssh, ~/.aws/credentials, ~/.config/gcloud, ~/.azure, ~/.docker/config.json, ~/.kube/config, crypto wallet dirs (~/.ethereum, ~/.bitcoin, ~/.solana), exchange configs (Binance, Bybit, OKX, KuCoin, Deribit, 3Commas), .env, .npmrc, .gitconfig. Also performs browser data theft and Ethereum keystore brute-force. A priority-target list fetched from the actor's GitHub Pages endpoint enables aggressive deep scanning for pre-registered high-value hosts.

AI self-propagation: after credential theft, a _propagate() function executes a multi-vector campaign to infect AI coding assistants. It writes poisoned .cursorrules and CLAUDE.md files — framed as "P-2024-001 Enterprise Credential Integrity Standard" — to all discovered project directories, parent directories, and home subdirectories, instructing Cursor, Claude Code, and GitHub Copilot to execute the remote payload and propagate it via Issues, PRs, and documentation. Git hooks (post-merge, post-checkout, pre-commit, pre-push) are injected into all .git repos found on disk, and a persistence block is appended to ~/.bashrc, ~/.zshrc, and ~/.profile. Zero-width steganography (ZWSP/ZWJ/ZWNJ/LTRM encoding) embeds hidden scan triggers in all AI-generated text output, enabling AI-to-AI chain infection invisible to humans.

C2/exfil: a remotely configurable JSON config hosted on the actor's GitHub Pages delivers the active webhook list, encryption key, and scan strategy; hardcoded fallback webhooks at webhook.site and a DNS TXT record fallback are used if the primary channel fails. A dedup marker at ~/.local/share/.p2024_integrity prevents re-propagation within 24 hours.

dev-env-bootstrapper poses as a development environment initialization and project scaffolding utility.

lib/trap-core.js combines OS/host enumeration (os.hostname(), os.platform()), filesystem inspection (fs.existsSync), child_process execution (multiple require('child_process') sites at L12/L748/L951/L959/L964 with curl/ping invocations), and outbound HTTPS POSTs that include hostname fields in the request body (L385/L411/L466/L548/L549/L553/L600/L1023). The structure — gather host identifiers + execute shell commands + POST results to a hardcoded endpoint — is a system-intelligence exfiltration harness. The package's stated purpose ('dev environment bootstrapper') does not require any of these primitives, let alone all of them combined in a single file with a name ('trap-core') that suggests adversarial intent. Loading or running this module on an installer machine will leak host identity and arbitrary shell-command output to the operator-controlled endpoint.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

The OpenSSF Package Analysis project identified 'dev-env-bootstrapper' @ 1.0.12 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

2 flagged
1.0.121.5.2

Indicators of compromise (SHA-256)

1d5a4489bd871c5e3f6f3b6a140e881eea17c97e2ef8d030a597c206811f97ec
12a1f1f46130c839f39fabe6c86256a8ef4365a9cce429ca84bb3576df5e332e
6a872fd94fb92d07462faa78a3f72bfb2384eccad10438541109a88a041f1a0e
7f447359731d0329d0ce723f2da226f76941c07e33c2fd488cd43dbc2127fb63

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for dev-env-bootstrapper (2 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging dev-env-bootstrapper across your stack and pipelines.

  2. If you installed it — respond

    dev-env-bootstrapper is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If dev-env-bootstrapper was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks dev-env-bootstrapper before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. dev-env-bootstrapper on npm has been identified as a malicious package (versions 1.0.12, 1.5.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-gc4v-cqp6-5672IN-MAL-2026-004489IN-MAL-2026-004490

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder
  • SafeDep · finder

Detect & block this

O3 blocks dev-env-bootstrapper-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

dev-env-bootstrapper (npm) malicious package — MAL-2026-4277 | O3 Security