Malicious code in stackus (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0a8032b910c8971e79e7d8b0e250ce4d61fd2a2206d6b319a5aed50e32490456) On require(), lib/writer.js (loaded transitively from the package's main pino.js) collects the installer's full process.env together with host identifiers (os.hostname, os.userInfo().username, os.platform(), and external MAC addresses) into a `data` object, then performs an unconditional axios GET to https://www.jsonkeeper.com/b/MYUKZ and passes the response body through eval(). A second hex-obfuscated jsonkeeper.com URL (https://www.jsonkeeper.com/b/HY6M6) is also staged in the same file. jsonkeeper.com is an anonymous, user-editable JSON paste host, so the eval'd payload is mutable attacker-controlled content with closure access to the staged environment dump — a complete credential-exfiltration + remote-code-execution channel that fires on every consumer that imports the package. The package masquerades as the pino logger: it declares main=pino.js, homepage=https://getpino.io, replicates pino's writer/proto/levels/transport API surface, and ships pino-branded images, while the package name 'stackus' is unrelated to pino. ## Source: ghsa-malware (054e9c9dce969d9464a4dc752c90b9dade081497d02c164bef24e1f79b895fe5) 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 stackus package (version 1.0.6) is a malicious npm package that impersonates the pino logging library by replicating its API and branding. When loaded, it gathers the full process environment and host identifiers (including hostname, username, platform, and MAC addresses) into a data object. It then performs an unconditional HTTP GET request to a user-editable JSON paste service (jsonkeeper.com) and executes the retrieved payload via eval(), enabling attacker-controlled remote code execution and credential exfiltration. A second obfuscated URL is also staged for similar use. This creates a persistent backdoor that activates whenever the package is imported. The package name 'stackus' is unrelated to pino, indicating deliberate deception.
Potential Impact
Any system that has stackus version 1.0.6 installed or running is fully compromised. The attacker gains access to all environment variables and host identifiers, enabling credential theft and remote code execution. This compromises system integrity and confidentiality. Even after removal, the system may remain compromised due to potential persistence mechanisms installed by the attacker. All secrets and keys on the affected system should be considered exposed and rotated immediately from a secure environment.
Mitigation Recommendations
No official patch or fix is available. Immediate removal of the stackus package version 1.0.6 is required. Treat any system with this package installed as fully compromised. Rotate all credentials and keys from a separate, secure system. Conduct a thorough incident response to identify and remediate any additional malicious artifacts or persistence mechanisms. Monitor for any suspicious activity related to this compromise. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in stackus (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0a8032b910c8971e79e7d8b0e250ce4d61fd2a2206d6b319a5aed50e32490456) On require(), lib/writer.js (loaded transitively from the package's main pino.js) collects the installer's full process.env together with host identifiers (os.hostname, os.userInfo().username, os.platform(), and external MAC addresses) into a `data` object, then performs an unconditional axios GET to https://www.jsonkeeper.com/b/MYUKZ and passes the response body through eval(). A second hex-obfuscated jsonkeeper.com URL (https://www.jsonkeeper.com/b/HY6M6) is also staged in the same file. jsonkeeper.com is an anonymous, user-editable JSON paste host, so the eval'd payload is mutable attacker-controlled content with closure access to the staged environment dump — a complete credential-exfiltration + remote-code-execution channel that fires on every consumer that imports the package. The package masquerades as the pino logger: it declares main=pino.js, homepage=https://getpino.io, replicates pino's writer/proto/levels/transport API surface, and ships pino-branded images, while the package name 'stackus' is unrelated to pino. ## Source: ghsa-malware (054e9c9dce969d9464a4dc752c90b9dade081497d02c164bef24e1f79b895fe5) 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 stackus package (version 1.0.6) is a malicious npm package that impersonates the pino logging library by replicating its API and branding. When loaded, it gathers the full process environment and host identifiers (including hostname, username, platform, and MAC addresses) into a data object. It then performs an unconditional HTTP GET request to a user-editable JSON paste service (jsonkeeper.com) and executes the retrieved payload via eval(), enabling attacker-controlled remote code execution and credential exfiltration. A second obfuscated URL is also staged for similar use. This creates a persistent backdoor that activates whenever the package is imported. The package name 'stackus' is unrelated to pino, indicating deliberate deception.
Potential Impact
Any system that has stackus version 1.0.6 installed or running is fully compromised. The attacker gains access to all environment variables and host identifiers, enabling credential theft and remote code execution. This compromises system integrity and confidentiality. Even after removal, the system may remain compromised due to potential persistence mechanisms installed by the attacker. All secrets and keys on the affected system should be considered exposed and rotated immediately from a secure environment.
Mitigation Recommendations
No official patch or fix is available. Immediate removal of the stackus package version 1.0.6 is required. Treat any system with this package installed as fully compromised. Rotate all credentials and keys from a separate, secure system. Conduct a thorough incident response to identify and remediate any additional malicious artifacts or persistence mechanisms. Monitor for any suspicious activity related to this compromise. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6098
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-x868-gvwf-qxg6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed2127e9c79719933a4f
Added to database: 06/29/2026, 22:09:37 UTC
Last enriched: 07/11/2026, 12:34:28 UTC
Last updated: 07/18/2026, 17:27:21 UTC
Views: 9
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.