Malicious code in pfp-forms-sme-loan (npm)
The npm package pfp-forms-sme-loan version 20.2.1 contains malicious code that, upon requiring the package, downloads and executes attacker-controlled binaries from obfuscated Cloudflare Workers subdomains. The payload is fetched using runtime-assembled hostnames and a DNS TXT record fallback, then saved to a temporary file with disguised names, made executable, and run detached on the host system. This results in arbitrary code execution on the installer's machine.
AI Analysis
Technical Summary
The pfp-forms-sme-loan npm package version 20.2.1 includes malicious functionality where the index.js file loads a bridge script that fetches a platform-specific binary from obfuscated Cloudflare Workers subdomains. Hostnames are dynamically constructed at runtime to evade static detection. If the primary fetch fails, a DNS TXT record covert channel is used to reconstruct the payload. The binary is saved under a disguised filename, permissions are set to executable, and it is launched detached via shell commands on Unix or Windows. Additionally, a companion telemetry module contains similar fetch and execution logic under the guise of an analytics SDK, using string concatenation to hide dangerous APIs. Installing or requiring this package leads to execution of attacker-controlled code on the host.
Potential Impact
This malicious package enables remote code execution on the system of any user who installs or requires it, potentially allowing attackers to run arbitrary code with the privileges of the user. This can lead to full system compromise, data theft, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove pfp-forms-sme-loan version 20.2.1 from their environments and avoid installing or requiring it. Verify dependencies and use trusted sources for npm packages. Monitor for any suspicious activity resulting from prior installations.
Malicious code in pfp-forms-sme-loan (npm)
Description
The npm package pfp-forms-sme-loan version 20.2.1 contains malicious code that, upon requiring the package, downloads and executes attacker-controlled binaries from obfuscated Cloudflare Workers subdomains. The payload is fetched using runtime-assembled hostnames and a DNS TXT record fallback, then saved to a temporary file with disguised names, made executable, and run detached on the host system. This results in arbitrary code execution on the installer's machine.
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 pfp-forms-sme-loan npm package version 20.2.1 includes malicious functionality where the index.js file loads a bridge script that fetches a platform-specific binary from obfuscated Cloudflare Workers subdomains. Hostnames are dynamically constructed at runtime to evade static detection. If the primary fetch fails, a DNS TXT record covert channel is used to reconstruct the payload. The binary is saved under a disguised filename, permissions are set to executable, and it is launched detached via shell commands on Unix or Windows. Additionally, a companion telemetry module contains similar fetch and execution logic under the guise of an analytics SDK, using string concatenation to hide dangerous APIs. Installing or requiring this package leads to execution of attacker-controlled code on the host.
Potential Impact
This malicious package enables remote code execution on the system of any user who installs or requires it, potentially allowing attackers to run arbitrary code with the privileges of the user. This can lead to full system compromise, data theft, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove pfp-forms-sme-loan version 20.2.1 from their environments and avoid installing or requiring it. Verify dependencies and use trusted sources for npm packages. Monitor for any suspicious activity resulting from prior installations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12414
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735745bf8831d539159f0a
Added to database: 08/05/2026, 15:31:17 UTC
Last enriched: 08/05/2026, 17:25:07 UTC
Last updated: 09/18/2026, 02:24:14 UTC
Views: 20
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.