{"id":"MAL-2026-13276","summary":"Malicious code in dippy-invertor (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e8dbed78de451c63784d37e7ae925bc4bf1288b7c4cf6e0e6fb0e7f9ff4cd451)\nOn `require('dippy-invertor')`, index.js unconditionally loads _ext.js, which downloads an OS-specific executable from four hardcoded Cloudflare Workers hosts (oob-worker.cf10*.workers.dev family) and, on HTTPS failure, falls back to a DNS-TXT covert channel against sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru (queries TXT at `c.\u003cdomain\u003e` for a chunk count, iterates `0.\u003cdomain\u003e`..`N.\u003cdomain\u003e`, base64-decodes the concatenation). The retrieved payload is written to /tmp or %TEMP% under a disguised name (`.cache_\u003chex\u003e` on Unix, `dotnet_diag_\u003chex\u003e.exe` on Windows), chmod 0755, and spawned detached and unref'd via `/bin/sh -c` or `cmd`. Hostnames and the `child_process` / `chmodSync` API names are split-concatenated (`[...].join('')`) to evade string scanning, and cover-story identifiers (`analytics_state`, `DISABLE_TELEMETRY`, `dotnet_diag_*.exe`) disguise the loader. The package has no legitimate advertised behavior that requires fetching and executing an opaque remote binary at load time.\n","modified":"2026-08-05T16:50:30.052115343Z","published":"2026-08-05T15:28:59Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T15:28:59Z","sha256":"e8dbed78de451c63784d37e7ae925bc4bf1288b7c4cf6e0e6fb0e7f9ff4cd451","source":"amazon-inspector","versions":["35.1.6"],"id":"IN-MAL-2026-015715","import_time":"2026-08-05T16:13:35.457295949Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dippy-invertor/v/35.1.6"}],"affected":[{"package":{"name":"dippy-invertor","ecosystem":"npm","purl":"pkg:npm/dippy-invertor"},"versions":["35.1.6"],"database_specific":{"indicators":{"evidence_files":[{"path":"_ext.js","sha256":"df6946bdfccf1206fd39b09e49726d42209d844e66c6c9e1a14358a21fe5dc6b","tlsh":"6aa19756166630198bb0abe487174416f75bf6633780c298f75c68885fb3528c3b2efc"}],"package_integrity":[{"hashes":{"sha1":"879317e7c4dbae06cd5297939668b2fd6190e7f1","sha512_sri":"sha512-nSPwIClydTooVf+WqS+xKeb7HurDx3yRvWDKQ4eDPH/BIdVZUQnZJIbEeL+8BIt4HfaAKF/a9oe8NNMz1DK7UQ=="},"filename":"dippy-invertor-35.1.6.tgz"}]},"cwes":[{"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/dippy-invertor/MAL-2026-13276.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}