Skip to main content

Malicious code in certificates-revocation-utils (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:17:12 UTC)
Source: GCVE Database
Product: certificates-revocation-utils

Description

The npm package certificates-revocation-utils version 35.1.9 contains malicious code that executes arbitrary attacker-controlled binaries on the installer's machine. Upon loading, it fetches a platform-specific binary from obfuscated Cloudflare Workers hostnames and a fallback domain, writes it to a temporary file, sets executable permissions, and runs it detached from the main process. This behavior is unrelated to the package's stated purpose and is hidden through code obfuscation. Installing or requiring this package results in remote code execution.

Affected software

npmghsa
certificates-revocation-utils
Affected versions
=35.1.9

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, 15:47:37 UTC

Technical Analysis

The certificates-revocation-utils npm package version 35.1.9 includes malicious functionality that, when the module is loaded, requires a vendor script which dynamically constructs Cloudflare Workers hostnames to download a platform-specific binary. If the primary method fails, it falls back to resolving DNS-TXT records from a suspicious domain. The downloaded binary is saved to a temporary path with a randomized filename, permissions are set to executable (chmod 0755 on POSIX), and it is executed in a detached process using shell commands. The code uses obfuscation techniques to hide the use of child_process and filesystem chmod calls. A temporary file is used to ensure the payload executes only once per time-to-live period. This results in arbitrary code execution on the machine installing or requiring this package.

Potential Impact

An attacker can execute arbitrary code on any system that installs or requires certificates-revocation-utils version 35.1.9. This leads to full compromise of the affected system, allowing the attacker to run any commands with the privileges of the user installing the package. The malicious payload is fetched from attacker-controlled infrastructure, making the attack remotely controlled and dynamic.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid installing or requiring certificates-revocation-utils version 35.1.9. Remove this package from any environments where it is present. Monitor for any unexpected binaries or processes spawned from npm package installations. Check vendor advisories or trusted security sources for updates or fixes. Since this is a malicious package, consider using package integrity verification and restricting installation of untrusted packages.

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-12539
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735731bf8831d53913cf6b

Added to database: 08/05/2026, 15:30:57 UTC

Last enriched: 08/05/2026, 15:47:37 UTC

Last updated: 09/07/2026, 21:51:29 UTC

Views: 17

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