MAL-2026-6534
Malicious code in react-dynammic-table-component (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (d47aff9bb18dcd61350fa86e19d97ddee5ee7c5bdf7f0adea4a685e89d58fa4f) react-dynammic-table-component@1.2.7 declares a `preinstall` lifecycle script (`node dist/setup.js`) that runs automatically on `npm install`. The script issues an HTTPS GET to https://everydaynodechecker-39143n.vercel.app/api/key?mem=master and passes the response body directly to `eval()`, executing attacker-controlled JavaScript on the installer's machine with the user's privileges. The fetch+eval primitive is wrapped in a function named `initDatabase` that performs no database work — a cover-story label inside an otherwise unrelated React table UI component. The destination host is not a publisher/CDN domain for this package and the fetched content is unpinned, unverified, and mutable by whoever controls the Vercel deployment, so the executed code can be changed at any time without republishing the package. Installer harm is immediate and unbounded: any code the operator of the endpoint chooses to serve runs at install time (credential theft, persistence, lateral movement, dependency tampering, etc.).
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for react-dynammic-table-component (npm). Pin to a known-safe version or switch to an alternative.