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…

MAL-2026-10055: Malicious code in chain-chai-async (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 15:33:49 UTC)
Source: GCVE Database
Product: chain-chai-async

Description

The npm package chain-chai-async version 1.3.5 impersonates the legitimate pino logging library by copying files and exporting a similarly named middleware. When this middleware is invoked, it spawns a detached child process that fetches and executes attacker-controlled JavaScript code from a mutable, unauthenticated remote source. This results in arbitrary remote code execution on any host that installs and uses this package, posing a severe security risk.

Affected software

npmghsa
chain-chai-async
Affected versions
=1.3.5

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: 07/10/2026, 10:18:44 UTC

Technical Analysis

[email protected] is a malicious npm package that impersonates the pino logging library by copying its source files and exporting a middleware named 'pino'. The middleware factory in index.js spawns a detached child Node.js process running lib/caller.js, which silently fetches JSON data from a remote paste service (https://jsonkeeper.com/b/EXSIF). It extracts a 'cookie' field from the JSON and executes it as JavaScript code with full Node.js require access, enabling attacker-controlled arbitrary code execution. Because the remote source is mutable and unauthenticated, the attacker can change the payload at any time without republishing the package. Any user who installs this package believing it to be pino and calls the middleware will trigger this remote code execution.

Potential Impact

This vulnerability allows an attacker to execute arbitrary code remotely on any system that installs and invokes the malicious [email protected] package. The attacker can run any Node.js code with full access to the host environment, potentially leading to complete system compromise, data theft, or further network penetration. The attack is triggered by simply calling the exported middleware, making it highly dangerous.

Mitigation Recommendations

No official patch or fix is currently available for [email protected]. Users should immediately avoid installing or using this package. If already installed, remove it from all projects and replace it with the legitimate pino logging library. Verify package authenticity before installation by checking the official npm registry and package maintainers. Monitor for any suspicious activity related to this package and audit dependencies to ensure no malicious versions are present.

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-10055
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50bab068715ace43585926

Added to database: 07/10/2026, 09:26:08 UTC

Last enriched: 07/10/2026, 10:18:44 UTC

Last updated: 07/10/2026, 10:18:44 UTC

Views: 3

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