Malicious code in type-slint (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1b5cd26e040f4f4366ed65cca4b70258d276f781e0aab76b99b5573d4007a97d) The npm package [email protected] masquerades as the pino logger (copied module layout, exports as module.exports.pino, keywords fast/logger/stream/json). Its index.js middleware() function spawns lib/caller.js as a detached, stdio-ignored child (spawn('node', [script,...], { detached: true, stdio: 'ignore' }); child.unref()), so the loader persists after the parent Node process exits. lib/caller.js fetches JavaScript from a Pinata IPFS gateway URL (bronze-improved-gibbon-411.mypinata.cloud/ipfs/bafkreigjnxn5vnn34rc5r43ajwwkmk4akqpm4awmq5gdhakgszpeqiffsu) and evaluates the response body's.cookie field via new Function.constructor('require', s)(require), passing require in — this grants the fetched code full Node capabilities (filesystem, network, child_process, env). The fetch retries up to 5 times and console.log is restored to suppress traces. lib/caller.js and lib/const.js also carry base64-encoded strings labelled DEV_API_KEY that decode to jsonkeeper.com paste URLs (jsonkeeper.com/b/XRGF3, jsonkeeper.com/b/4NAKK), stored on a shadowed process object as a secondary configuration channel. The remote payload is attacker-controlled and mutable, and the executed content is fully attacker-defined at runtime. ## Source: ghsa-malware (1e7bb4cbe2c22cdfddf10e706f0c8c3bdb4a66ff9086be3da46e1f5a4c5ccf5e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The malicious npm package [email protected] impersonates the pino logger by copying its module layout and exports. Its index.js middleware function spawns a detached child Node.js process that fetches JavaScript code from a Pinata IPFS gateway URL and executes it using the Function constructor with full access to Node.js require, enabling arbitrary code execution with full privileges. The fetch operation retries multiple times and suppresses console logs to avoid detection. Additional base64-encoded URLs serve as secondary configuration channels for attacker-controlled payloads. The remote payload is mutable and fully attacker-defined at runtime, posing a significant risk of remote code execution and system compromise.
Potential Impact
This malicious package enables remote code execution with full Node.js privileges, allowing attackers to execute arbitrary code on the host system. This can lead to complete system compromise, data theft, persistence mechanisms, and further lateral movement. The attacker-controlled payload is mutable and can be updated at any time, increasing the risk and flexibility of exploitation.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package rather than a vulnerability in legitimate software. Users should immediately remove [email protected] from their dependencies and replace it with a verified, legitimate package. Audit dependency trees to ensure no transitive dependencies include this malicious package. Avoid installing packages from untrusted sources and verify package authenticity before use.
Malicious code in type-slint (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1b5cd26e040f4f4366ed65cca4b70258d276f781e0aab76b99b5573d4007a97d) The npm package [email protected] masquerades as the pino logger (copied module layout, exports as module.exports.pino, keywords fast/logger/stream/json). Its index.js middleware() function spawns lib/caller.js as a detached, stdio-ignored child (spawn('node', [script,...], { detached: true, stdio: 'ignore' }); child.unref()), so the loader persists after the parent Node process exits. lib/caller.js fetches JavaScript from a Pinata IPFS gateway URL (bronze-improved-gibbon-411.mypinata.cloud/ipfs/bafkreigjnxn5vnn34rc5r43ajwwkmk4akqpm4awmq5gdhakgszpeqiffsu) and evaluates the response body's.cookie field via new Function.constructor('require', s)(require), passing require in — this grants the fetched code full Node capabilities (filesystem, network, child_process, env). The fetch retries up to 5 times and console.log is restored to suppress traces. lib/caller.js and lib/const.js also carry base64-encoded strings labelled DEV_API_KEY that decode to jsonkeeper.com paste URLs (jsonkeeper.com/b/XRGF3, jsonkeeper.com/b/4NAKK), stored on a shadowed process object as a secondary configuration channel. The remote payload is attacker-controlled and mutable, and the executed content is fully attacker-defined at runtime. ## Source: ghsa-malware (1e7bb4cbe2c22cdfddf10e706f0c8c3bdb4a66ff9086be3da46e1f5a4c5ccf5e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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 malicious npm package [email protected] impersonates the pino logger by copying its module layout and exports. Its index.js middleware function spawns a detached child Node.js process that fetches JavaScript code from a Pinata IPFS gateway URL and executes it using the Function constructor with full access to Node.js require, enabling arbitrary code execution with full privileges. The fetch operation retries multiple times and suppresses console logs to avoid detection. Additional base64-encoded URLs serve as secondary configuration channels for attacker-controlled payloads. The remote payload is mutable and fully attacker-defined at runtime, posing a significant risk of remote code execution and system compromise.
Potential Impact
This malicious package enables remote code execution with full Node.js privileges, allowing attackers to execute arbitrary code on the host system. This can lead to complete system compromise, data theft, persistence mechanisms, and further lateral movement. The attacker-controlled payload is mutable and can be updated at any time, increasing the risk and flexibility of exploitation.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package rather than a vulnerability in legitimate software. Users should immediately remove [email protected] from their dependencies and replace it with a verified, legitimate package. Audit dependency trees to ensure no transitive dependencies include this malicious package. Avoid installing packages from untrusted sources and verify package authenticity before use.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10077
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baaa68715ace435855e2
Added to database: 07/10/2026, 09:26:02 UTC
Last enriched: 07/10/2026, 10:16:03 UTC
Last updated: 07/31/2026, 13:08:59 UTC
Views: 29
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.