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-10219: Malicious code in chai-as-precision (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 04:16:07 UTC)
Source: GCVE Database
Product: chai-as-precision

Description

The npm package 'chai-as-precision' version 7.0.6 contains malicious code that masquerades as a different package, 'pino'. When used, it spawns a detached child process that fetches and executes attacker-controlled JavaScript code from an external URL, allowing arbitrary code execution with full require access on the host. This behavior is hidden by suppressing output and using base64-encoded strings to obscure the malicious payload's origin and execution. There is no known patch or fix available at this time.

Affected software

npmghsa
chai-as-precision
Affected versions
=7.0.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: 07/13/2026, 09:53:00 UTC

Technical Analysis

The 'chai-as-precision' npm package version 7.0.6 is a malicious package that mimics the 'pino' logging library, likely as a typosquatting attempt. Its main module spawns a detached child Node.js process that fetches a JSON payload from an attacker-controlled URL (hosted on tiiny.site). The payload contains a 'cookie' field with JavaScript code that is executed dynamically via the Function constructor, granting the attacker arbitrary code execution capabilities with full access to Node.js require functionality on the host system. The malicious code uses obfuscation techniques such as base64 encoding and environment variable wrappers to evade detection. No official patch or remediation guidance is provided in the available data.

Potential Impact

This malicious package enables arbitrary remote code execution on any system that installs and runs it, potentially allowing attackers to execute any code with the privileges of the Node.js process. This can lead to full system compromise, data theft, or further malware deployment. The attacker controls the external payload, which can be changed at any time, making the threat persistent and dynamic.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove the 'chai-as-precision' package version 7.0.6 from their projects and dependency trees. Avoid installing or using this package. Verify your dependency manifests and lockfiles for the presence of this package and replace it with trusted alternatives. Monitor for any unexpected child processes or network connections originating from Node.js applications. Check vendor advisories or trusted security sources for updates on remediation.

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

Threat ID: 6a54adf768715ace438f74a2

Added to database: 07/13/2026, 09:20:55 UTC

Last enriched: 07/13/2026, 09:53:00 UTC

Last updated: 07/13/2026, 09:53:00 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