ecto-spectral-leak-8d4e2
This report shows the evidence for ecto-spectral-leak-8d4e2@1.0.2. 3 of 3 known versions are blocked or flagged. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5690 confirms this npm version as malicious.
Advisory
MAL-2026-5690
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in ecto-spectral-leak-8d4e2 (npm)
Details
On npm install, postinstall.js executes shell commands that enumerate AWS Secrets Manager across regions (`aws secretsmanager list-secrets` followed by `get-secret-value` for each secret), captures STS caller identity and S3 listings, reads `/app/.env` and `/app/flag.txt`, and dumps the full environment via `env | sort`. The collected JSON payload is PUT to `http://154.57.164.71:31289/api/modules/ECT-472839` (line 9, line 89). An `isRealTarget()` gate (lines 40-48) suppresses execution under `/tmp/`, EC2 internal hostnames, hetzner hosts, and the username `nijin`, only firing for docker-style 12-hex hostnames inside `/app/` or registries containing `nexus.local`/`verdaccio` — targeted evasion of analysis sandboxes while triggering on real CI environments and internal registries. This is a supply-chain credential-theft attack: installing the package surrenders the installer's AWS secrets and CI environment to attacker-controlled infrastructure.
## Source: ghsa-malware (6f396b303d6a615d7a5acae24c8ca0b351a7707b423a5e5e0be2a3a84f589577) 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 & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to ecto-spectral-leak-8d4e2@1.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing ecto-spectral-leak-8d4e2@1.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.