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 tfjs-inference (npm)

0
High
Published: 08/19/2026 (08/19/2026, 00:03:33 UTC)
Source: GCVE Database
Product: tfjs-inference

Description

The npm package 'tfjs-inference' version 1.0.0 is a typosquatting package targeting TensorFlow.js. It contains a postinstall script that automatically collects host identifiers such as hostname, platform, architecture, Node.js version, and package name, then sends this data as JSON to a hardcoded third-party server without user consent or notification. The package internally labels itself as a security research canary, but the data exfiltration destination is controlled by the author, raising significant privacy and security concerns.

Affected software

npmghsa
tfjs-inference
Affected versions
=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/19/2026, 14:45:52 UTC

Technical Analysis

The 'tfjs-inference' npm package version 1.0.0 is a malicious typosquatting package mimicking TensorFlow.js. Its postinstall lifecycle script automatically collects detailed system and environment information from the installer host and exfiltrates this data to a hardcoded external server (zl2u2d1x.instances.poc.jchunt.top) without any opt-in or user notification. Although internal comments describe the package as a security research canary, the exfiltration endpoint is controlled by the package author, making this a privacy-invasive and potentially malicious behavior. The data collection triggers immediately upon 'npm install', posing a risk to users who inadvertently install this package.

Potential Impact

This package compromises user privacy by silently collecting and transmitting host system identifiers to an external server controlled by the package author. This unauthorized data exfiltration can lead to exposure of sensitive environment details, potentially aiding further targeted attacks or profiling. There is no indication of direct code execution impact beyond data leakage. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is documented for this package. Users should avoid installing 'tfjs-inference' version 1.0.0 and verify package authenticity before installation to prevent inadvertent data exfiltration. Since this is a typosquatting package, ensure correct package names are used when installing dependencies. Monitor for and remove any instances of this package if found in your environment.

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

Threat ID: 6a85b4caacd9273b49252b68

Added to database: 08/19/2026, 13:51:06 UTC

Last enriched: 08/19/2026, 14:45:52 UTC

Last updated: 08/19/2026, 14:45:52 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