Malicious code in kuaishou (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fd1d5daf09cc7bfff164e60bf5abd0a1b374b5bb616f0a78cac8f6c6ea613608) The package's `prepare` lifecycle script, which runs automatically on `npm install`, collects host, user, and platform identifiers along with the full `process.env` and POSTs them to a hardcoded ngrok tunnel at crabbing-thong-overhung.ngrok-free.dev (path `/?cross_os_cloud=1`). When executed in GitHub Actions, it additionally reads ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN, requests a GitHub Actions OIDC ID token, and includes that token in the exfiltrated payload. The version number (99.9.9) and hardcoded attacker-controlled tunnel destination are consistent with a dependency-confusion / typosquat lure targeting CI environments; the OIDC token can be exchanged for cloud credentials via configured trust relationships. ## Source: ghsa-malware (ba06f85b2f6ed01391c70e5ba328a9bacd99e5c40f62c3fb477e53bdeeb03b0e) 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.
AI Analysis
Technical Summary
The malicious 'kuaishou' npm package versions 99.9.9 and 99.9.10 include a 'prepare' lifecycle script that executes automatically during installation. This script collects sensitive environment data including host, user, platform identifiers, and the entire process environment variables, then sends this data via HTTP POST to a hardcoded ngrok tunnel URL controlled by the attacker. In GitHub Actions CI environments, the script reads specific environment variables related to OIDC token requests, obtains an OIDC ID token, and includes it in the exfiltrated data. The stolen token can be used to obtain cloud credentials if trust relationships are configured, enabling potential cloud resource compromise. The versioning and hardcoded destination suggest this package is part of a dependency confusion or typosquatting campaign aimed at automated CI pipelines.
Potential Impact
Sensitive environment information and potentially cloud access tokens are exfiltrated to an attacker-controlled endpoint. This can lead to unauthorized access to cloud resources via stolen OIDC tokens, especially in CI environments like GitHub Actions. The compromise of cloud credentials can result in further escalation and resource misuse. The malicious code executes automatically on package installation, increasing the risk of widespread impact if the package is used in automated workflows.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should avoid installing 'kuaishou' versions 99.9.9 and 99.9.10 from npm. Review and audit dependencies for typosquatting or dependency confusion risks, especially in CI/CD pipelines. Rotate any potentially exposed cloud credentials and tokens if this package was installed in your environment. Monitor for suspicious network traffic to unknown ngrok tunnels or unexpected environment variable access in CI environments.
Malicious code in kuaishou (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fd1d5daf09cc7bfff164e60bf5abd0a1b374b5bb616f0a78cac8f6c6ea613608) The package's `prepare` lifecycle script, which runs automatically on `npm install`, collects host, user, and platform identifiers along with the full `process.env` and POSTs them to a hardcoded ngrok tunnel at crabbing-thong-overhung.ngrok-free.dev (path `/?cross_os_cloud=1`). When executed in GitHub Actions, it additionally reads ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN, requests a GitHub Actions OIDC ID token, and includes that token in the exfiltrated payload. The version number (99.9.9) and hardcoded attacker-controlled tunnel destination are consistent with a dependency-confusion / typosquat lure targeting CI environments; the OIDC token can be exchanged for cloud credentials via configured trust relationships. ## Source: ghsa-malware (ba06f85b2f6ed01391c70e5ba328a9bacd99e5c40f62c3fb477e53bdeeb03b0e) 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.
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 malicious 'kuaishou' npm package versions 99.9.9 and 99.9.10 include a 'prepare' lifecycle script that executes automatically during installation. This script collects sensitive environment data including host, user, platform identifiers, and the entire process environment variables, then sends this data via HTTP POST to a hardcoded ngrok tunnel URL controlled by the attacker. In GitHub Actions CI environments, the script reads specific environment variables related to OIDC token requests, obtains an OIDC ID token, and includes it in the exfiltrated data. The stolen token can be used to obtain cloud credentials if trust relationships are configured, enabling potential cloud resource compromise. The versioning and hardcoded destination suggest this package is part of a dependency confusion or typosquatting campaign aimed at automated CI pipelines.
Potential Impact
Sensitive environment information and potentially cloud access tokens are exfiltrated to an attacker-controlled endpoint. This can lead to unauthorized access to cloud resources via stolen OIDC tokens, especially in CI environments like GitHub Actions. The compromise of cloud credentials can result in further escalation and resource misuse. The malicious code executes automatically on package installation, increasing the risk of widespread impact if the package is used in automated workflows.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should avoid installing 'kuaishou' versions 99.9.9 and 99.9.10 from npm. Review and audit dependencies for typosquatting or dependency confusion risks, especially in CI/CD pipelines. Rotate any potentially exposed cloud credentials and tokens if this package was installed in your environment. Monitor for suspicious network traffic to unknown ngrok tunnels or unexpected environment variable access in CI environments.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10416
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ad9268715ace438f0503
Added to database: 07/13/2026, 09:19:14 UTC
Last enriched: 07/13/2026, 09:22:45 UTC
Last updated: 07/23/2026, 10:27:50 UTC
Views: 18
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.
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.