Advisory

MAL-2026-6137

Also known as: None

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

Summary

Malicious code in react-error-lint (npm)

Details

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

Source: amazon-inspector (a084c9e71eac856bf1a1fec025773cc561f9f6677c187d60e055b89c73d846b9)
Package name and README impersonate the popular react-error-boundary library (advertising an ErrorBoundary export, citing bvaughn and kentcdodds.com), but index.js exports unrelated helpers setDefaultModule and buildoptimize. The buildoptimize function issues an HTTP request to the hardcoded URL https://vercel-node-rouge-beta.vercel.app/icons/23 and passes the response body to eval(JSON.parse(b)) with no integrity check. Any caller that invokes buildoptimize() runs whatever JavaScript the attacker-controlled Vercel preview endpoint returns at that moment, granting remote code execution on the installer's machine. The advertised ErrorBoundary API does not exist, confirming the package is a lure rather than a misnamed legitimate library.

Severity

Not rated by the source.

Dates

Published
2026-06-18 16:32 UTC
Modified
2026-06-18 17:16 UTC

Affected packages and fixes

react-error-lint

npm · All systems

Affected

  • Versions: 1.1.6

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