Malicious code in generate-schema-ethers (npm)
Description
The npm package 'generate-schema-ethers' version 1.0.0 is identified as malicious. Upon execution, it runs the 'whoami' command and sends system information including OS username, hostname, platform, and package name to a hardcoded external URL without user consent. This behavior is consistent with reconnaissance activity typical of typosquatting or dependency confusion attacks. The package is considered fully compromising any system where it is installed or run.
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 'generate-schema-ethers' npm package version 1.0.0 contains malicious code that executes the 'whoami' command and exfiltrates sensitive system information such as the OS username, hostname, platform, and package name to a hardcoded external URL (https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9). This network communication occurs unconditionally without any user consent or configuration options. The package name mimics legitimate schema-generation tooling, indicating a typosquatting or dependency confusion attack vector. The OpenSSF Package Analysis project and other sources have flagged this package as malicious due to its unauthorized data exfiltration and command execution behavior.
Potential Impact
Any system with this package installed or running should be considered fully compromised. The attacker may have gained full control over the affected system. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure, unaffected environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by the package.
Defensive Guidance
Remove the 'generate-schema-ethers' package version 1.0.0 immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or used on the compromised system from a different, secure machine. Conduct a thorough investigation and remediation of the affected environment to identify and remove any additional malicious software or persistence mechanisms. There is no official patch or fix for this malicious package; mitigation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15594
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a95a111acd9273b4947f70d
Added to database: 08/31/2026, 15:43:13 UTC
Last enriched: 09/08/2026, 16:38:56 UTC
Last updated: 10/04/2026, 06:55:32 UTC
Views: 101
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.