{"schema_version":"1.8.0","id":"MAL-2026-12678","published":"2026-08-05T13:55:43Z","modified":"2026-08-05T14:36:21.436636125Z","summary":"Malicious code in delivery-ci-pipeline-rules (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (48367fe7933e3c07d664eda305a21bd8de43e06c685170b2146da16249bde15c)\nindex.js unconditionally require()s _init.js on load. _init.js assembles attacker-controlled hostnames from split string fragments joined at runtime (e.g. oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev) and fetches a platform-specific executable via https.get, selecting per-platform payload paths (/pkg/package, /pkg/package.exe, /pkg/loader_mac). The fetched bytes are written to /tmp or %TEMP% under a disguised name (.cache_<rnd> or dotnet_diag_<rnd>.exe), chmod 0755, then spawned detached via /bin/sh -c or cmd.exe /c. When HTTPS fails, _init.js falls back to a DNS-TXT covert channel over sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, resolving c.<domain> for a chunk count, iterating 0.<domain>..N.<domain>, and base64-decoding the concatenated TXT records into the executable. Host and domain constants are string-fragmented to defeat literal scanners; execution is gated by a ~22000-second cache TTL. Installing or importing this package results in an attacker-controlled binary being fetched from non-publisher infrastructure and executed on the installer's host.\n","affected":[{"package":{"name":"delivery-ci-pipeline-rules","ecosystem":"npm","purl":"pkg:npm/delivery-ci-pipeline-rules"},"versions":["35.9.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"633443c80b3e03f4f02173f2bc7a753d3c392199f5e29fdccf79dce97dfa1f8c","tlsh":"35a163aa1666701847b0dbe4ca175415f65af6637380c2c8fb9c699c5ff212482b2efc"}],"package_integrity":[{"filename":"delivery-ci-pipeline-rules-35.9.3.tgz","hashes":{"sha1":"7b1708ddb1debdf6e4c19048f722c8c4decff633","sha512_sri":"sha512-dM2Ja7u7TgnT6vwRBnwf1QHVxtTnCfo0+nPkV5AO+NoYamfhP0eYkAFWvCEq0n2/XkGdsETVluw4FjtKNXopmQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/delivery-ci-pipeline-rules/MAL-2026-12678.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/delivery-ci-pipeline-rules/v/35.9.3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015096","import_time":"2026-08-05T14:20:01.530057935Z","modified_time":"2026-08-05T13:55:43Z","sha256":"48367fe7933e3c07d664eda305a21bd8de43e06c685170b2146da16249bde15c","source":"amazon-inspector","versions":["35.9.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}