Malicious code in argoncrypt (npm)
Description
The npm package 'argoncrypt' versions 1.2.1, 1.2.2, and 1.2.3 contain malicious code that executes attacker-controlled scripts upon being required. It fetches and runs code from an untrusted external URL without verification, granting full Node.js host privileges to the attacker. The package masquerades as a logging transport to evade detection. Any system with this package installed is considered fully compromised, and secrets should be rotated immediately.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'argoncrypt' npm package (versions 1.2.1, 1.2.2, and 1.2.3) contains embedded malicious code that, when the package is required, spawns a detached Node.js child process executing a script that fetches additional code from a base64-encoded URL hosted on an anonymous static site. This fetched code is executed with full Node.js capabilities, including access to 'require', enabling arbitrary code execution with full host privileges. The package disguises itself as a pino logger transport to mislead reviewers. The external code fetch lacks integrity checks such as pinning, hashing, or signature verification, and retries the fetch up to five times. This behavior results in a full compromise of any system that installs or runs the package.
Potential Impact
Systems that have installed or run the affected versions of 'argoncrypt' are fully compromised, as the package executes attacker-controlled code with full privileges. This can lead to unauthorized access, data exfiltration, and control over the host environment. All secrets and keys stored on the compromised system should be considered exposed and must be rotated from a secure environment. Removing the package alone may not eliminate all malicious artifacts due to the elevated access granted during execution.
Defensive Guidance
Remove the 'argoncrypt' package immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or accessible on compromised hosts from a secure, uncompromised environment. Due to the full system compromise risk, consider rebuilding affected systems to ensure complete removal of any persistent malicious code. There is no official patch or fix available; the package should be considered malicious and untrusted.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5506
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-h3m2-g8jh-9p37"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e497a1
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 08:23:37 UTC
Last updated: 10/04/2026, 06:37:35 UTC
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.