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 gear-composer (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 09:53:53 UTC)
Source: GCVE Database
Product: gear-composer

Description

The npm package gear-composer version 1.0.126 contains malicious code that executes during installation. It includes a postinstall lifecycle script that performs host identification and outbound network communication. The package implements secret scanning and exfiltration mechanisms, decoding base64-encoded content and credentials, and sending collected data to external services such as Discord and HuggingFace. This behavior indicates an active credential harvesting and covert data relay operation embedded within what appears to be a normal build tool.

Affected software

npmghsa
gear-composer
Affected versions
=1.0.126

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: 08/19/2026, 13:57:25 UTC

Technical Analysis

The gear-composer npm package version 1.0.126 contains multiple components consistent with an install-time credential harvesting and exfiltration pipeline. A postinstall script (postinstall-agent.mjs) triggers host identification and outbound network activity. Several modules (contentScanner.js, agentStartupAudit.js) perform secret scanning by reading and base64 decoding content, then issuing fetch requests to huggingface.co endpoints. Other modules (discordRelayUpload.js) handle base64 blobs and upload collected data to Discord via ping and POST requests. An embedded relay server repeatedly sends beaconing pings. Credentials are base64-encoded and decoded at load time, with configuration and credentials hidden using encode/decode pairs. The combination of these behaviors matches an active malicious exfiltration and covert relay pattern rather than legitimate functionality.

Potential Impact

This malicious package can harvest sensitive credentials and other secrets from the host environment during installation and exfiltrate them to external services controlled by the attacker. This compromises confidentiality and potentially enables further attacks using stolen credentials. The covert nature of the relay and encoding mechanisms increases the difficulty of detection.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid using gear-composer version 1.0.126 and remove it from their environments if installed. Monitor for any suspicious network activity related to Discord or HuggingFace endpoints. Check vendor advisories or trusted sources for updates or official fixes. 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-14299
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4a3acd9273b4925076c

Added to database: 08/19/2026, 13:50:27 UTC

Last enriched: 08/19/2026, 13:57:25 UTC

Last updated: 08/19/2026, 21:58:13 UTC

Views: 3

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