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 stackus (npm)

0
Critical
Published: 06/18/2026 (06/18/2026, 04:09:20 UTC)
Source: GCVE Database
Product: stackus

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

npmghsa
stackus
Affected versions
=1.0.6

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/11/2026, 12:34:28 UTC

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.

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-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 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