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-10425: Malicious code in trinity-scheme (npm)

0
High
Published: 07/13/2026 (07/13/2026, 06:55:05 UTC)
Source: GCVE Database
Product: trinity-scheme

Description

The trinity-scheme npm package version 20.0.0 contains malicious code that executes a hidden shell command during installation. This command collects system information such as the current user, working directory, and hostname, then sends this data to a hardcoded external endpoint. The malicious payload is hex-encoded to evade detection by plain-text scanning tools. The package does not provide legitimate functionality consistent with its declared purpose.

Affected software

npmghsa
trinity-scheme
Affected versions
=20.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: 07/13/2026, 09:26:53 UTC

Technical Analysis

The trinity-scheme package on npm, specifically version 20.0.0, includes a preinstall script that reads a hex-encoded command from a file named preinstall.json. This command is decoded and executed via child_process.exec, resulting in the collection of the installer's 'whoami', 'pwd', and 'hostname' outputs. These details are then exfiltrated via an HTTP POST request to a hardcoded URL (https://eo7o7j442dx6yl6.m.pipedream.net/). The use of hex encoding is intended to bypass plain-text scanning detection. The package itself lacks any legitimate functionality matching its name, indicating it is a malicious package designed for information theft.

Potential Impact

The malicious code can lead to unauthorized disclosure of system information (user identity, current directory, hostname) to an external attacker-controlled server. This information leakage could facilitate further targeted attacks or reconnaissance. There is no indication of additional payloads or direct system compromise beyond information exfiltration in the provided data.

Mitigation Recommendations

No official patch or remediation is currently documented for this package version. Users should avoid installing trinity-scheme version 20.0.0. Since this is a malicious package, removal and replacement with a trusted alternative is recommended. Monitor package sources carefully and verify package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current 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-10425
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ad9c68715ace438f3ce6

Added to database: 07/13/2026, 09:19:24 UTC

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

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