Malicious code in @opap/player-kyc-widget (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (abfe2a5c5b34e28b415fb39f20acea1ec320ef85aeb9577c9a52153630f964fc) The package's postinstall script runs automatically on `npm install` and collects host identifiers (hostname, username, cwd, platform, arch) from the installer, then transmits them off-host through two channels to a hardcoded Burp Collaborator subdomain `k5qrs9i96xtw61nb3bbwwualqcw3kt8i.oastify.com`: (1) an HTTPS GET carrying a base64-encoded payload in the query string, and (2) a DNS lookup where the fingerprint is hex-encoded and split into <=60-char labels prepended to the callback host, providing a covert channel that works even when outbound HTTP egress is blocked. The version number 3.999.999 published to the public `@opap` scope is the canonical shape of a dependency-confusion attack targeting a private internal scope of the same name. ## Source: ghsa-malware (ebbe49c2623d54fed28386f226aefa5f14ccdf94caee07543ae5251beffd13fc) 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. ## Source: ossf-package-analysis (98e627cea85331a67652aa65927058579efe7046253a9ef22cb70b1d73916885) The OpenSSF Package Analysis project identified '@opap/player-kyc-widget' @ 3.999.999 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.
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 npm package '@opap/player-kyc-widget' version 3.999.999 runs a postinstall script that automatically executes upon 'npm install'. This script collects system identifiers and sends them to a hardcoded Burp Collaborator subdomain via two channels: an HTTPS GET request with a base64-encoded payload in the query string, and a DNS lookup with a hex-encoded fingerprint split into labels. The DNS channel acts as a covert exfiltration method that can bypass HTTP egress restrictions. This package is a canonical example of a dependency confusion attack, where a public package mimics a private internal package to trick internal build systems into installing it.
Potential Impact
The malicious package can leak sensitive host information such as hostname, username, current directory, platform, and architecture to an attacker-controlled domain. This data exposure can aid attackers in profiling the victim environment for further attacks. The use of dual exfiltration channels, including a covert DNS channel, increases the likelihood of successful data leakage even in restricted network environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the '@opap/player-kyc-widget' package version 3.999.999 from the public npm registry. Verify the authenticity of packages and scopes before installation, especially for packages with suspiciously high version numbers or unknown provenance. Monitor for and remove any installations of this malicious package. Check vendor advisories or trusted security sources for updates or fixes regarding this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14387
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a8c4c74acd9273b499c0e2d
Added to database: 08/24/2026, 13:51:48 UTC
Last enriched: 08/24/2026, 14:28:31 UTC
Last updated: 10/02/2026, 19:20:09 UTC
Views: 76
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.