{"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: ghsa-malware (dafb05a40352ab1ea42be7af01a26ba6ecfb8b58bc4eb0163dbd27bb7b379a0f)\nAny 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.\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","aliases":["GHSA-rghg-wjq8-jq2g"],"modified":"2026-07-13T19:01:56.485320157Z","published":"2026-06-26T15:45:57Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-06-26T18:42:49.932741966Z","id":"IN-MAL-2026-007652","modified_time":"2026-06-26T18:16:23Z","versions":["1.2.7"],"source":"amazon-inspector","sha256":"d47aff9bb18dcd61350fa86e19d97ddee5ee7c5bdf7f0adea4a685e89d58fa4f"},{"modified_time":"2026-06-26T15:45:57Z","versions":["1.2.7"],"source":"ossf-package-analysis","sha256":"3bd536e15a72ad0dd7b3ceece502e73cd29c606ea4d22efa16da366740ebf22f","import_time":"2026-06-29T03:16:41.303415064Z"},{"sha256":"dafb05a40352ab1ea42be7af01a26ba6ecfb8b58bc4eb0163dbd27bb7b379a0f","import_time":"2026-07-13T18:49:49.017037355Z","id":"GHSA-rghg-wjq8-jq2g","modified_time":"2026-07-13T18:27:04Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-dynammic-table-component/v/1.2.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rghg-wjq8-jq2g"}],"affected":[{"package":{"name":"react-dynammic-table-component","ecosystem":"npm","purl":"pkg:npm/react-dynammic-table-component"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.7"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"9ae50aa5c14599b161d3205126f8420a10933a86d3a86b1537a166a2911f7941","tlsh":"45d02eaa17be0a266631377c834fc001ab62ba760b94e621b3c2c7454f26d60b432c98","path":"dist/setup.js"}],"package_integrity":[{"filename":"react-dynammic-table-component-1.2.7.tgz","hashes":{"sha1":"6c32f99a0caf229f78aa15538f78e114f8730347","sha512_sri":"sha512-gnXjnhYUW+8ozodsFWRMAjqc4U2yVjhitAZOYbcg+MoJPVT0axCLhT5x6+jRS7Cq/NZrJTxZ/HemAA7wekyiiA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-dynammic-table-component/MAL-2026-6534.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"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"}]}