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 sigchain-js (npm)

0
Critical
Published: 07/28/2026 (07/28/2026, 13:36:13 UTC)
Source: GCVE Database
Product: sigchain-js

Description

The npm package sigchain-js versions 1.0.0 and 1.0.1 contain malicious code in their published distribution bundles. These bundles include top-level code that decrypts an encrypted payload from companion packages and executes it via a spawned detached Node.js child process. This behavior enables arbitrary code execution on the host machine when the package is imported or required. The malicious payload is split across cooperating packages, including a dependency named thedata and a transitively included package tchain-api, which mimics an official SDK. Additionally, the package pins a non-existent axios version, redirecting installs to a squatted package. This threat does not have a known patch or fix at this time.

Affected software

npmghsa
sigchain-js
Affected versions
=1.0.1=1.0.0

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, 23:18:35 UTC

Technical Analysis

The sigchain-js npm package versions 1.0.0 and 1.0.1 contain malicious code embedded only in the published distribution bundles (dist/sigchain-js.cjs.js, dist/sigchain-js.esm.js, dist/sigchain-js.umd.js). This code reads an encrypted payload from companion packages (thedata and tchain-api), decrypts it using a hardcoded DES password "hydra", and executes the decrypted code by spawning a detached Node.js child process and piping the payload into its stdin. The malicious code is absent from the source tree and only present in the distributed bundles, indicating post-source tampering or supply chain compromise. The package also pins [email protected], a version that does not exist in the official axios release history, causing the installer to fetch a malicious squatted package. This results in arbitrary code execution on any system that installs or imports sigchain-js, controlled by whoever maintains the companion packages.

Potential Impact

Importing or requiring sigchain-js versions 1.0.0 or 1.0.1 leads to arbitrary code execution on the host system. The executed code is controlled by the attacker who publishes updates to the companion packages thedata and tchain-api. This can lead to full compromise of the host environment where the package is installed or used. The malicious axios dependency further increases risk by redirecting to a malicious package, potentially affecting other dependencies or code.

Mitigation Recommendations

No official patch or remediation is currently available for sigchain-js versions 1.0.0 and 1.0.1. Users should immediately avoid installing or importing this package and remove any existing installations. Verify dependencies carefully and avoid packages with suspicious or squatted dependencies such as [email protected]. Monitor vendor advisories or trusted sources for updates or official fixes. Consider using package integrity verification tools and supply chain security measures to detect tampered 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-11146
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a73851ebf8831d5394ef785

Added to database: 08/05/2026, 18:46:54 UTC

Last enriched: 08/05/2026, 23:18:35 UTC

Last updated: 08/05/2026, 23:18:35 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