{"id":"MAL-2026-12635","summary":"Malicious code in claims-person-api-adapters (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ef5943c3dd39268851fabc25f5a2c686cf8b102954be63cb80afb04c03deddc6)\nOn require() of the package, index.js loads _ext.js which reconstructs hardcoded network destinations via Array.join string-splitting to evade static analysis, resolving to four Cloudflare Workers hosts of the form oob-worker.cf1{00-03}-*.workers.dev with a DNS-TXT chunked fallback across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The module selects a platform-specific payload, downloads a binary via https.get, writes it to /var/tmp or %TEMP% under cover-story names such as.cache_\u003chex\u003e and dotnet_diag_\u003chex\u003e.exe, chmods it to 0755, and spawns it detached via /bin/sh -c on POSIX or cmd.exe /c start /b on Windows. There is no hash or signature verification of the fetched bytes, the destination hosts are unrelated to any documented publisher for a claims/person API adapter, and the reconstruction of URLs from split fragments plus DNS-TXT covert-channel fallback are evasion techniques rather than delivery hygiene. The package name suggests a benign adapter library, but its only observed effect on import is retrieving and executing attacker-controlled code on the installer host.\n","modified":"2026-08-05T14:36:00.025523114Z","published":"2026-08-05T14:03:37Z","database_specific":{"malicious-packages-origins":[{"sha256":"ef5943c3dd39268851fabc25f5a2c686cf8b102954be63cb80afb04c03deddc6","source":"amazon-inspector","versions":["35.2.4"],"id":"IN-MAL-2026-015147","import_time":"2026-08-05T14:20:06.976807173Z","modified_time":"2026-08-05T14:03:37Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/claims-person-api-adapters/v/35.2.4"}],"affected":[{"package":{"name":"claims-person-api-adapters","ecosystem":"npm","purl":"pkg:npm/claims-person-api-adapters"},"versions":["35.2.4"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"0db1b89a12a670194fb0dbe0cb1b8825f65bf66337808284f79c95845fb311483b2dfc","path":"_ext.js","sha256":"41b9fa0e90c2bb2dc1d8999bc6d345254b427b0fa2600ae2febb08eb5e4c6475"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-RRmJYL8CjNDML4a8PwPLN4R7kgXzj9fYI3g2OXTHHiREj5frYoAzqyFYms/WTWgHpmfjwJFG7z34K0xZKaCCcg==","sha1":"042c0d7a165bb6d53dbadc135e526f07dbfb163a"},"filename":"claims-person-api-adapters-35.2.4.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-person-api-adapters/MAL-2026-12635.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}