Malicious code in arb-kit (npm)
Description
The npm package arb-kit version 1.0.1 contains malicious code that, shortly after being required, drops and executes a concealed payload on the host system. This payload installs persistent mechanisms across Linux, Windows, and macOS to maintain execution. It searches the filesystem for cryptocurrency wallet-related files and exfiltrates them encrypted to IPFS using hardcoded credentials. The malicious behavior is intentionally disguised to evade detection.
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 arb-kit npm package (version 1.0.1) masquerades as an Arbitrum ABI/gas toolkit but contains an immediately-invoked function expression (IIFE) in its main entry point that, after a delay, reads a base64-encoded payload from a test fixture file. This payload is decoded and written to a hidden directory (~/.cache-db/.node-sync/syncd.js) and executed detached from the main process. It establishes persistence via OS-specific methods: crontab on Linux, schtasks on Windows, and a LaunchAgent plist on macOS. The payload searches for files related to cryptocurrency wallets (e.g., Metamask, Phantom, Ledger, Trezor, Solana, Ethereum, Bitcoin) by scanning for keywords in filenames with extensions such as .env, .key, .keystore, .pem, .json, and .dat. Harvested files are encrypted with RSA using an embedded public key and uploaded to IPFS through the Pinata cloud service using hardcoded API keys. Runtime configuration is fetched from a hardcoded GitHub Gist URL. The use of disguised paths and misleading comments indicates deliberate concealment of malicious activity.
Potential Impact
This malicious package compromises the confidentiality of cryptocurrency wallet credentials and related sensitive files on infected systems. By exfiltrating encrypted wallet data, attackers can potentially gain unauthorized access to victims' cryptocurrency assets. Persistence mechanisms ensure the payload remains active across system reboots, increasing the risk of prolonged compromise. The use of hardcoded credentials and external services for data exfiltration complicates detection and remediation.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately uninstall arb-kit version 1.0.1 and avoid using this package from untrusted sources. Conduct a thorough forensic investigation on affected systems to detect and remove the dropped payload and persistence mechanisms. Rotate any compromised cryptocurrency wallets and related credentials. Monitor for suspicious network activity related to IPFS or Pinata API usage. Verify package integrity and source before installation to prevent supply chain compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14263
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c0acd9273b492523ff
Added to database: 08/19/2026, 13:50:56 UTC
Last enriched: 08/19/2026, 14:24:27 UTC
Last updated: 10/02/2026, 13:52:01 UTC
Views: 26
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.