{"id":"MAL-2026-13425","summary":"Malicious code in typst-resume-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (104d03639d9a9d48d03641fef83163391bb1540c8a01c56287bcaf8ca45ad01c)\nindex.js loads https, http, and child_process at the top of the module and sends host/environment data to a hardcoded AWS Lambda URL at https://oo7fsr4cy32q42bzkpgwhy7asu0hzaod.lambda-url.us-east-1.on.aws. The code reads process.env and branches on process.platform before issuing an https.request to that endpoint. The destination is an attacker-controlled serverless URL unrelated to a Typst or resume tooling publisher, and the collected data (environment variables and host attributes) is credential-grade content leaving the installer's machine.\n","modified":"2026-08-06T14:34:53.046320678Z","published":"2026-08-06T13:10:03Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.2"],"id":"IN-MAL-2026-016363","import_time":"2026-08-06T14:19:45.299774786Z","modified_time":"2026-08-06T13:10:25Z","sha256":"104d03639d9a9d48d03641fef83163391bb1540c8a01c56287bcaf8ca45ad01c","source":"amazon-inspector"},{"import_time":"2026-08-06T14:19:45.176464982Z","modified_time":"2026-08-06T13:10:03Z","sha256":"cf49520847fad0a4e5351cf63bd0e5bf3e13bf0a46478ac528318fd4e07156bf","source":"amazon-inspector","versions":["1.0.3"],"id":"IN-MAL-2026-016361"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/typst-resume-cli/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/typst-resume-cli/v/1.0.3"}],"affected":[{"package":{"name":"typst-resume-cli","ecosystem":"npm","purl":"pkg:npm/typst-resume-cli"},"versions":["1.0.2","1.0.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"92bb25d7ea080529008bdfb7c7a3ff5ac204114d21f913834cbeb54f34bb33dd","tlsh":"1912897e29d6b2103e7ac96c82dae41a9607b0b27615c40bb1fcb350bfde61cc5915f8"}],"package_integrity":[{"filename":"typst-resume-cli-1.0.2.tgz","hashes":{"sha1":"930b1de05e94377fae3c9ce7ccb02fbd5d16d489","sha512_sri":"sha512-YAuNI40D5/UBg2dxfzhWM91wZVKCpHjHRxexRgWs3tFyevdsqyRiv4yyfR9gK+rzSzeCBdxK344BG9gwbaxUKA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typst-resume-cli/MAL-2026-13425.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}