{"id":"MAL-2026-6508","summary":"Malicious code in tw-style-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fc430da42cdbbb83b681be645a2bbc3f3f2a48e0e19d9d3624b4b3e6f9aa7e92)\ntw-style-utils@0.7.0 was scanned and produced no findings indicative of supply-chain attack behavior. No install-time lifecycle scripts performing remote fetches or code execution, no credential or environment exfiltration patterns, no hardcoded attacker-controlled network destinations, no obfuscated payloads, and no suspicious dependency-tree manipulation were observed in the scanned files.\n\n## Source: ghsa-malware (0af16d76f3fa788874c372ddcf606db1ee997f80329274dca8049e9638221318)\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","aliases":["GHSA-75cr-ggc5-8h7g"],"modified":"2026-07-08T19:46:49.122938720Z","published":"2026-06-26T05:17:40Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-06-26T05:17:40Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"0af16d76f3fa788874c372ddcf606db1ee997f80329274dca8049e9638221318","import_time":"2026-06-26T05:41:02.339449378Z","id":"GHSA-75cr-ggc5-8h7g"},{"modified_time":"2026-07-08T19:18:05Z","versions":["0.7.1"],"source":"amazon-inspector","sha256":"a01f1592bc10910a56fb6773e7825d059d02eb2dca5733bdb16a5bf51f062e00","import_time":"2026-07-08T19:33:41.740394881Z","id":"IN-MAL-2026-008179"},{"versions":["0.7.0"],"source":"amazon-inspector","sha256":"fc430da42cdbbb83b681be645a2bbc3f3f2a48e0e19d9d3624b4b3e6f9aa7e92","import_time":"2026-07-08T19:33:41.886485409Z","id":"IN-MAL-2026-008180","modified_time":"2026-07-08T19:18:13Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75cr-ggc5-8h7g"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tw-style-utils/v/0.7.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tw-style-utils/v/0.7.0"}],"affected":[{"package":{"name":"tw-style-utils","ecosystem":"npm","purl":"pkg:npm/tw-style-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.7.1","0.7.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tw-style-utils/MAL-2026-6508.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}