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 sodel-pych (npm)

0
Critical
Published: 06/17/2026 (06/17/2026, 13:04:18 UTC)
Source: GCVE Database
Product: sodel-pych

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c7d67bcaf42f4ef050a6b824dfbc2f711d6820f7b3b1140d211110f390e512fa) The package ships several files whose names and contents suggest a non-trivial install-time and runtime footprint: a postinstall script (scripts/postinstall-agent.mjs) that performs network I/O including a ping/GET against an identifier-bearing endpoint, a relay server (dist/relayServer.js) with multiple ping invocations, a Discord relay upload module (dist/discordRelayUpload.js) combining base64 decoding with POST calls, a Hugging Face credentials module (dist/hfCredentials.js) using base64-decoded values, and a secret-scan startup audit (dist/secretScan/agentStartupAudit.js) that fetches huggingface.co endpoints. The combination of a postinstall agent, a Discord upload path, base64-encoded data in deployment defaults, and credential/secret handling is consistent with either (a) a legitimate ML/agent tooling package that talks to Hugging Face and uses Discord for notifications, or (b) a credential-relay/exfiltration tool. The evidence available here is keyword-level pattern matches without traced execution paths, so intent cannot be determined from this data alone. A human reviewer should inspect scripts/postinstall-agent.mjs to confirm what runs on `npm install`, dist/discordRelayUpload.js to confirm whether installer-side data is shipped to Discord, and dist/hfCredentials.js to confirm whose credentials are read. ## Source: ghsa-malware (95b8b8f54c9c2a4fa965e4a7fe7ea9c8f8ef1b5bcdd4cc1da7354d0ce2e8842f) 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
sodel-pych
Affected versions
=1.0.121=1.0.122

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/10/2026, 09:43:10 UTC

Technical Analysis

The sodel-pych npm package versions 1.0.121 and 1.0.122 include multiple suspicious components: a postinstall script that performs network I/O including pings and GET requests to an identifier-bearing endpoint; a relay server with multiple ping invocations; a Discord relay upload module that decodes base64 data and sends POST requests; a module handling Hugging Face credentials with base64-decoded values; and a secret-scan startup audit fetching huggingface.co endpoints. These behaviors suggest either legitimate ML tooling or malicious credential exfiltration. The package is flagged as malicious by GHSA, indicating that any system with this package installed should be considered fully compromised, with all secrets and keys rotated immediately. Removal of the package alone may not eliminate all malicious software.

Potential Impact

Systems with the affected versions of sodel-pych installed are considered fully compromised. Attackers may have obtained full control over the system, including access to stored secrets and keys. The malicious code potentially exfiltrates credentials and sensitive data to external services such as Discord and Hugging Face. This can lead to unauthorized access, data breaches, and further compromise of connected systems or accounts.

Mitigation Recommendations

No official patch or fix is currently available. Immediate removal of the sodel-pych package versions 1.0.121 and 1.0.122 is strongly recommended. All secrets, credentials, and keys stored on the affected system should be rotated immediately from a separate, trusted device. Due to the potential for full system compromise, a thorough security assessment and system rebuild may be necessary to ensure complete remediation.

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-6062
Osv Schema Version
1.7.4
Aliases
["GHSA-4cgm-w872-8q5g"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba5668715ace4357eec8

Added to database: 07/10/2026, 09:24:38 UTC

Last enriched: 07/10/2026, 09:43:10 UTC

Last updated: 07/19/2026, 02:57:41 UTC

Views: 7

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