Malicious code in @across-toolkit/eslint-config (npm)
Description
The npm package '@across-toolkit/eslint-config' versions 99.0.0 and 99.0.1 contain malicious code that executes during installation. This code harvests sensitive credentials and environment information from the installer’s system, including AWS, GCP, SSH keys, and various configuration files, then exfiltrates this data to a hardcoded external endpoint. The package appears designed for dependency confusion attacks targeting the Across Protocol internal namespace.
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 '@across-toolkit/eslint-config' npm package versions 99.0.0 and 99.0.1 include a postinstall.js script that runs automatically upon installation. This script collects a wide range of sensitive data from the host environment, such as AWS credentials (~/.aws/credentials, AWS IMDS queries), GCP credentials (metadata service queries, gcloud tokens), SSH private keys (~/.ssh/id_rsa, id_ed25519), npm and git configuration files, environment variables including tokens (NPM_TOKEN, GITHUB_TOKEN, Actions OIDC tokens), and system information (hostname, whoami). The collected data is base64-encoded and sent via HTTPS POST to a hardcoded webhook URL. The package name and versioning suggest it is crafted for dependency confusion attacks against the Across Protocol namespace. This behavior was identified by Amazon Inspector and the OpenSSF Package Analysis project, which classified the package as malicious.
Potential Impact
Installation of these package versions results in unauthorized exfiltration of sensitive credentials and environment data from the user's system to an external attacker-controlled endpoint. This compromises cloud credentials (AWS, GCP), SSH keys, npm and git tokens, and potentially other secrets, leading to significant risk of account takeover, unauthorized access, and further compromise of development and deployment environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or using '@across-toolkit/eslint-config' versions 99.0.0 and 99.0.1. Remove these versions if already installed and rotate any potentially exposed credentials and tokens. Monitor for suspicious activity related to compromised credentials. Check vendor advisories or trusted security sources for updates or official fixes. Consider using package integrity verification and dependency allowlists to prevent installation of malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10703
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a5a00a291ae9bcd3f7eef18
Added to database: 07/17/2026, 10:14:58 UTC
Last enriched: 09/17/2026, 17:06:55 UTC
Last updated: 10/02/2026, 14:30:23 UTC
Views: 78
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.