Skip to main content

Malicious code in claims-format-masked-phone-number (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:04:14 UTC)
Source: GCVE Database
Product: claims-format-masked-phone-number

Description

The npm package 'claims-format-masked-phone-number' version 35.9.8 contains malicious code that loads a polyfill script which fetches and executes opaque native binaries from hardcoded Cloudflare Workers subdomains. These binaries are saved to temporary directories and executed without any signature verification. A fallback mechanism uses DNS TXT record queries to retrieve and run additional executable code. The package's behavior and included files do not align with its stated purpose of phone-number masking, indicating malicious intent.

Affected software

npmghsa
claims-format-masked-phone-number
Affected versions
=35.9.8

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

AILast updated: 08/05/2026, 16:12:38 UTC

Technical Analysis

The 'claims-format-masked-phone-number' npm package version 35.9.8 includes a malicious payload that, upon requiring the package, loads a polyfill script which dynamically assembles hostnames to fetch native binaries from Cloudflare Workers subdomains. These binaries are written to temporary locations with executable permissions and launched without verification, allowing arbitrary code execution. If this primary channel fails, a fallback mechanism retrieves executable code via DNS TXT queries from specified domains, decodes it, and executes it similarly. The package masquerades as a phone-number masking library but contains unrelated telemetry-related files and comments, further indicating malicious behavior.

Potential Impact

This malicious package enables remote code execution on the host system by downloading and executing unsigned native binaries from attacker-controlled infrastructure. This can lead to full system compromise, unauthorized access, data theft, or further malware deployment. The lack of signature verification and use of obfuscated runtime hostname assembly complicate detection and mitigation.

Mitigation Recommendations

No official patch or fix is currently available for this malicious package version. Users should immediately remove version 35.9.8 of 'claims-format-masked-phone-number' from their environments and avoid installing it. Audit existing systems for the presence of this package and any dropped binaries or suspicious processes. Employ supply chain security best practices such as verifying package provenance and using trusted package registries. Monitor for updates from the package maintainers or security advisories for remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12617
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735734bf8831d53913d1b7

Added to database: 08/05/2026, 15:31:00 UTC

Last enriched: 08/05/2026, 16:12:38 UTC

Last updated: 09/07/2026, 22:03:38 UTC

Views: 18

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses