Skip to main content

Malicious code in @stellarshift/abi-tools (npm)

0
Critical
Published: 09/02/2026 (09/02/2026, 17:38:00 UTC)
Source: GCVE Database
Product: @stellarshift/abi-tools

Description

The npm package @stellarshift/abi-tools versions 1.0.1 and 1.0.3 contain malicious code that executes a hidden remote shell payload during installation. The postinstall hook decodes an obfuscated URL and fetches a script from a remote server, executing it without integrity checks. Execution is targeted to enterprise environments running collaboration clients Lark or Feishu alongside FortiClient VPN on Windows or macOS, evading CI environments and using stealth process flags. This behavior indicates a targeted supply-chain attack against managed enterprise endpoints. Removal of the package does not guarantee full remediation due to potential persistent compromise.

Affected software

npmghsa
@stellarshift/abi-tools
Affected versions
=1.0.1=1.0.3

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: 09/07/2026, 20:09:18 UTC

Technical Analysis

The @stellarshift/abi-tools npm package versions 1.0.1 and 1.0.3 include a postinstall hook that decodes an XOR-encoded URL from a JSON file and fetches a remote script from a Tencent Cloud storage endpoint. On Unix systems, it runs the script via curl piped to bash; on Windows, it uses PowerShell to execute the downloaded content with execution policy bypassed and hidden windows. The payload only executes if the host is Windows or macOS and detects both a collaboration client (Lark or Feishu) and FortiClient VPN, indicating targeted execution on enterprise workstations. The process is launched detached and hidden, and errors are suppressed to ensure npm install reports success. There is no verification of the fetched script's integrity or authenticity. This is a supply-chain attack delivering a remote shell payload under the guise of a legitimate ABI hashing utility package.

Potential Impact

Systems that install the affected versions of @stellarshift/abi-tools are at risk of remote code execution via the postinstall hook fetching and running a malicious script. This can lead to full system compromise, including unauthorized access to secrets and keys stored on the machine. Because the payload targets enterprise environments with specific software combinations, it may facilitate targeted espionage or data exfiltration. The attack is stealthy, evades CI environments, and suppresses errors, increasing the likelihood of unnoticed compromise. Removal of the package alone may not eliminate the attacker’s presence.

Mitigation Recommendations

No official patch or fix is currently documented for this malicious package. Immediate mitigation involves removing the @stellarshift/abi-tools package versions 1.0.1 and 1.0.3 from affected systems. Due to the potential for full system compromise, all secrets and keys stored on impacted machines should be rotated from a secure, uncompromised environment. Monitor for any signs of persistence or additional malware. Avoid installing this package or any untrusted npm packages without thorough vetting. Check vendor advisories or npm security advisories for updates or 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-15821
Osv Schema Version
1.7.4
Aliases
["GHSA-gjx7-hpjv-9pwq"]
Ecosystems
["npm"]

Threat ID: 6a998f5facd9273b49192d51

Added to database: 09/03/2026, 15:16:47 UTC

Last enriched: 09/07/2026, 20:09:18 UTC

Last updated: 10/04/2026, 09:38:08 UTC

Views: 25

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