{"id":"MAL-2026-6534","summary":"Malicious code in react-dynammic-table-component (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d47aff9bb18dcd61350fa86e19d97ddee5ee7c5bdf7f0adea4a685e89d58fa4f)\nreact-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.).\n\n## Source: ossf-package-analysis (3bd536e15a72ad0dd7b3ceece502e73cd29c606ea4d22efa16da366740ebf22f)\nThe OpenSSF Package Analysis project identified 'react-dynammic-table-component' @ 1.2.7 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2026-06-29T03:31:42.464296881Z","published":"2026-06-26T15:45:57Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007652","modified_time":"2026-06-26T18:16:23Z","versions":["1.2.7"],"source":"amazon-inspector","import_time":"2026-06-26T18:42:49.932741966Z","sha256":"d47aff9bb18dcd61350fa86e19d97ddee5ee7c5bdf7f0adea4a685e89d58fa4f"},{"modified_time":"2026-06-26T15:45:57Z","versions":["1.2.7"],"source":"ossf-package-analysis","import_time":"2026-06-29T03:16:41.303415064Z","sha256":"3bd536e15a72ad0dd7b3ceece502e73cd29c606ea4d22efa16da366740ebf22f"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-dynammic-table-component/v/1.2.7"}],"affected":[{"package":{"name":"react-dynammic-table-component","ecosystem":"npm","purl":"pkg:npm/react-dynammic-table-component"},"versions":["1.2.7"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","cweId":"CWE-506","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-dynammic-table-component/MAL-2026-6534.json","indicators":{"package_integrity":[{"filename":"react-dynammic-table-component-1.2.7.tgz","hashes":{"sha512_sri":"sha512-gnXjnhYUW+8ozodsFWRMAjqc4U2yVjhitAZOYbcg+MoJPVT0axCLhT5x6+jRS7Cq/NZrJTxZ/HemAA7wekyiiA==","sha1":"6c32f99a0caf229f78aa15538f78e114f8730347"}}],"evidence_files":[{"tlsh":"45d02eaa17be0a266631377c834fc001ab62ba760b94e621b3c2c7454f26d60b432c98","sha256":"9ae50aa5c14599b161d3205126f8420a10933a86d3a86b1537a166a2911f7941","path":"dist/setup.js"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}