test-dev-watch
This report shows the evidence for test-dev-watch@0.1.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-11495 confirms this npm version as malicious.
Advisory
MAL-2026-11495
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in test-dev-watch (npm)
Details
The package exports a Helper class that implements two installer-harming primitives on Windows. First, start() launches a polling loop that reads every virtual-key state (vKey 1..255) via user32.dll GetAsyncKeyState/GetKeyState (loaded through koffi), decodes each keypress with shift/caps/ctrl/alt handling, and appends the reconstructed keystrokes — including typed passwords and seed phrases — to a log file under %LOCALAPPDATA%\<KEYLOGGER_DIR>\<KEYLOGGER_LOG_FILE>, where those constants are imported from the sibling package test-dev-config. Second, _monitorClipboard polls the Windows clipboard once per second via PowerShell Get-Clipboard, classifies its contents against regexes for BTC, ETH, BASE, TRX, XRP, SOL, DOT, XMR, LTC, ADA, ATOM, NEAR, APT, SUI, TON, BCH, DOGE, XLM, and AVAX addresses, and when a match is found overwrites the clipboard via PowerShell Set-Clipboard with an address drawn from wallet_replacements[chain], redirecting outgoing cryptocurrency transfers to an operator-controlled destination. The package name 'test-dev-watch' and its benign-looking metadata do not correspond to the shipped functionality; the imported identifiers KEYLOGGER_DIR and KEYLOGGER_LOG_FILE, together with the sibling packages test-dev-config and test-dev-store that supply the keylogger path components, indicate coordinated infrastructure for planting a keylogger and clipper on developer machines that install the package.
## Source: ghsa-malware (db85a6a548238053a85ec4851a41b50b3e501d57ac56043fed21d711c1110b4c) 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.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to test-dev-watch@0.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing test-dev-watch@0.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.