MAL-2026-10425: Malicious code in trinity-scheme (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10425: Malicious code in trinity-scheme (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.