Malicious code in edu-npm-dependency-chain-demo (npm)
MAL-2026-5623 · GHSA-cqgx-r84j-px55
Published · Modified
Dependency scanning
Check whether edu-npm-dependency-chain-demo is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (7d5b538a93d9379ce9f4eaa885a4b22c6ec94175718176088b7a432cd67da271)
No suspicious code, lifecycle scripts, network destinations, credential reads, or obfuscation were observed in this package. The package name suggests an educational demonstration of dependency chains, and the contents do not exhibit any of the structural fingerprints associated with supply-chain attacks (no install-time fetch-and-execute, no environment scraping, no hardcoded exfil endpoint, no credential-store enumeration).
Source: ghsa-malware (9ae052688503dea4150de126b9b386fa6bd914f1fe1c6cf94e856b89a7d5dbdf)
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.
Source: ossf-package-analysis (5a2508b833cc9048538d7b995e19fdc3abb6807800a2650ef808f248a3502139)
The OpenSSF Package Analysis project identified 'edu-npm-dependency-chain-demo' @ 1.0.4 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
References
- PACKAGE https://www.npmjs.com/package/edu-npm-dependency-chain-demo/v/1.0.4
- ADVISORY https://github.com/advisories/GHSA-cqgx-r84j-px55
- PACKAGE https://www.npmjs.com/package/edu-npm-dependency-chain-demo/v/1.0.1
- PACKAGE https://www.npmjs.com/package/edu-npm-dependency-chain-demo/v/1.0.2
- PACKAGE https://www.npmjs.com/package/edu-npm-dependency-chain-demo/v/1.0.3
- PACKAGE https://www.npmjs.com/package/edu-npm-dependency-chain-demo/v/1.0.0
Ready to move
Start Securing
Free, no credit card | First findings in minutes