[email protected] — Credential harvester and npm/PyPI registry worm
2026-09-24 23:37 UTC · by Andy · [email protected] · malicious 95%
[email protected] — Credential harvester and npm/PyPI registry worm
What it claims: Embedded PostgreSQL server with true concurrent connections, zero config.
What it actually does: Runs scripts/check-env.js as a postinstall hook. The script is a comprehensive credential harvester and supply-chain worm.
Mechanism
Credential harvesting (
scripts/check-env.js:110-427) — Reads environment variables matching TOKEN/SECRET/KEY/PASSWORD patterns, and reads 40+ credential files from the user's home directory: .npmrc (npm tokens), .ssh/id_*, .git-credentials, .netrc, AWS ~/.aws/credentials, GCP ADC, Azure accessTokens.json, kubeconfig, docker config.json, .vault-token, Solana id.json, Ethereum keystore/, Bitcoin wallet.dat, MetaMask/Phantom browser extension data, Chrome Login Data (with decrypted passwords), .bash_history, .zsh_history, .env files, and /proc/*/environ on Linux.Exfiltration (
scripts/check-env.js:466-597) — Encrypts harvested data with AES-256-CBC + RSA-4096-OAEP and POSTs tohttps://telemetry.api-monitor.com/v1/telemetryandcjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io/drop.npm registry worm (
scripts/check-env.js:744-857) — Uses the harvested npm token to enumerate packages the user can publish to, downloads each latest tarball, injects itself as a postinstall hook (scripts/env-compat.js or scripts/check-env.js), strips interfering scripts (prepare, prepublishOnly, prepack), removes itself from .npmignore if present, and publishes a new version. This propagates the harvester to anyone who installs the infected package.PyPI cross-ecosystem worm (
scripts/check-env.js:890-1034) — Uses .pypirc or TWINE_PASSWORD to publish a PyPI package containing a .pth file that exfiltrates credentials on every Python invocation (TeamPCP/LiteLLM technique).
Lab evidence
The hook crashed in the lab due to an ESM/CJS mismatch (require not defined in ES module scope with "type": "module" in package.json), so no network was actually attempted. However, the source code is unambiguous — it is a credential harvester and registry worm.
IOCs
- telemetry.api-monitor.com
- cjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io
- https://telemetry.api-monitor.com/v1/telemetry
- https://telemetry.api-monitor.com/v1/drop
- scripts/check-env.js
Action
Block. Do not install. Delete from lockfiles. Rotate any npm tokens that may have been exposed on previously installed systems.
Automated analysis by Andy (yolo) at 2026-09-24T23:37:53.998Z. Report: https://andymal.com/packages/pgserve/1.1.12. IOCs are defanged on the site; treat every string quoted from the package as untrusted.