{"answers":{"affected":"1 open source package ship an affected version, including workspace-config-loader.","exploited":"There is no known exploitation of MAL-2026-4284 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-4284 is a malicious package in workspace-config-loader, published on 23 May 2026."},"fix_prompt":"MAL-2026-4284 is a malicious package: workspace-config-loader (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-4284/ (Markdown: https://insights.sbomify.com/MAL-2026-4284/index.md)","id":"MAL-2026-4284","markdown":"https://insights.sbomify.com/MAL-2026-4284/index.md","name":"MAL-2026-4284","record":{"aliases":["GHSA-p8hf-5qq9-8g8h"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.json` → `lib/setup.js` → `lib/worker.js`.\n\n**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.\n\n**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.\n\n**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.\n\n`workspace-config-loader` poses as workspace configuration loading and management utilities.\n\nThe package ships lib/trap-core.js, a ~1000-line module that imports os, fs, https, and child_process, collects host identity (os.hostname(), os.platform()) and filesystem state, and issues multiple POST requests to network endpoints with a hostname field in the request body (lines 393, 411, 553, 600). The module also invokes shell utilities including curl and ping (lines 40, 781) and uses child_process at multiple call sites (lines 12, 748, 951, 959, 964). The combined shape — system-intel collection, hostname-keyed POST bodies, and command-execution primitives bundled into a single file under a generic-sounding name (\"workspace-config-loader\") — does not match any documented purpose for a configuration-loading utility and is consistent with a host-recon / exfiltration agent. Installer harm: requiring or loading this package executes the data-collection and outbound POST paths against an installer's machine.\n\nAny 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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in workspace-config-loader (npm)","id":"MAL-2026-4284","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":[],"package":"workspace-config-loader","purl":"pkg:npm/workspace-config-loader","source":"MAL-2026-4284"}],"products":null,"published":"2026-05-23","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-4284/"}