Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in constructor-blocks-common (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:57:42 UTC)
Source: GCVE Database
Product: constructor-blocks-common

Description

The npm package 'constructor-blocks-common' version 35.5.6 contains malicious code that executes during module loading. It reconstructs remote hostnames, downloads a platform-specific binary to temporary directories, sets executable permissions, and runs the binary detached from the main process. This results in remote code execution on the host installing or requiring the package. The malicious payload is disguised and obfuscated to evade detection, including a second dropper copy hidden under an 'Analytics SDK' cover story.

Affected software

npmghsa
constructor-blocks-common
Affected versions
=35.5.6

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:21:55 UTC

Technical Analysis

The 'constructor-blocks-common' npm package version 35.5.6 includes malicious code embedded in its index.js and lib/telemetry.js files. Upon requiring the package, a bootstrap routine reconstructs destination hostnames and downloads an opaque, platform-specific binary via HTTPS. The binary is saved to temporary directories with disguised filenames, permissions are set to executable, and it is executed in a detached process using shell commands. The payload is unrelated to the package's stated purpose and is obfuscated to evade static analysis. This behavior leads to remote code execution on the host system during installation or runtime.

Potential Impact

Installing or requiring the affected package version results in remote code execution on the host system. This allows an attacker to execute arbitrary code with the privileges of the user running the npm install or require command, potentially compromising the system integrity and confidentiality.

Mitigation Recommendations

No patch or official fix is currently documented for this malicious package version. Users should avoid installing or requiring 'constructor-blocks-common' version 35.5.6. Verify package integrity and source before installation, and consider removing this package if already installed. Monitor for updates from the package maintainer or npm 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-12660
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735736bf8831d53914334f

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

Last enriched: 08/05/2026, 16:21:55 UTC

Last updated: 08/05/2026, 16:21:55 UTC

Views: 2

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