Malicious code in pay-methods-kmf (npm)
Description
The npm package pay-methods-kmf versions 100.100.100, 100.100.101, and 100.100.102 contains malicious code that exfiltrates sensitive information from the installer environment. Upon installation, it performs DNS beaconing and sends HTTP POST requests to an attacker-controlled server, leaking hostname, username, package name, and npm registry URL. The package includes a prebuilt native Linux addon with no source code, which performs these actions. This behavior is consistent with dependency confusion reconnaissance.
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 pay-methods-kmf npm package (versions 100.100.100, 100.100.101, and 100.100.102) is a malicious package that masquerades as a frontend utility but contains a prebuilt Linux x64 native addon. During installation, the package executes a postinstall script that performs two concurrent exfiltration channels: a DNS beacon that encodes the installer's hostname and package name to an OAST collector domain, and an HTTP POST request to a hardcoded IPv4 address (64.181.165.115) leaking the installer's hostname, username, package name, and npm registry URL. The native addon's symbol set indicates network communication and process control unrelated to frontend utilities. The package ships no source code for the binary, and the exfiltration infrastructure is attacker-controlled. The versioning and registry URL exfiltration suggest the package is used for internal registry reconnaissance via dependency confusion.
Potential Impact
Installation of the affected pay-methods-kmf package versions results in leakage of sensitive environment information including the installer's hostname, username, package name, and npm registry URL. This can expose internal or private registry hosts and potentially aid attackers in further reconnaissance or targeted attacks. The malicious code runs silently during installation, increasing the risk of unnoticed data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the affected versions (=100.100.100, =100.100.101, =100.100.102) of the pay-methods-kmf package. Validate package sources and consider using trusted registries and package integrity verification. Monitor for suspicious network activity related to npm package installations. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17776
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb02
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:42:52 UTC
Last updated: 10/11/2026, 21:42:52 UTC
Views: 2
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.