test-dev-confignpm
Advisory published Updated
test-dev-config is a confirmed malicious npm package (MAL-2026-13359) that steals credentials and exfiltrates sensitive data (malicious version 0.1.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in test-dev-config (npm)
What this malware does
src/config.js hardcodes a remote host as the English-word phrase "Four Five P Nine Five P One Eight Six P Two Three Seven" and decodes it at import time via a textToIp() helper to the IPv4 address 45.95.186.237, then exports SOCKET_SERVER_HOST (port 8008) and DJANGO_API_URL (http://45.95.186.237:8000). The word-to-digit encoding serves solely to hide the destination from string and URL scanners. src/constants.js enumerates Chromium, Chrome, Brave, Edge, Opera, and Vivaldi User Data directories under %LOCALAPPDATA%/%APPDATA%, along with Local Storage, leveldb, Local Extension Settings, and Sync Extension Settings paths, the LastPass Chrome extension ID (hdokiejnpimakedhajhdlcegeplioahd), and a KEYLOGGER_DIR ("Results") with a KEYLOGGER_LOG_FILE ("events.log"). The package is the shared configuration layer of a browser-credential-stealer and keylogger toolkit: any consumer importing it inherits the C2 endpoint and the browser-secret target-path list.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for test-dev-config (version 0.1.0).
If you installed it — respond
test-dev-config 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.
Did it already run?
If test-dev-config was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks test-dev-config-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.