{"id":"MAL-2026-10677","revision":"5d709e434a744eb7a56c635da700d6a1","records":[{"revision":"5d709e434a744eb7a56c635da700d6a1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10677","aliases":[],"title":"Malicious code in deployowl (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b875dd11198fbfc694fe8b3227090e95f13734b5cf64556c6c727b48d7471035)\nThe SDK's captureSnapshot() iterates Object.entries(process.env) and attaches every environment variable to every captured error, then POSTs the payload to https://api.deployowl.com/api/v1/errors. Variables whose names contain SECRET/KEY/TOKEN/PASSWORD/AUTH/CREDENTIAL/PRIVATE/URI/PASS/STRIPE/AWS/DATABASE are truncated to a 3-character prefix plus '***' (still leaking a usable prefix of each secret); variables not matching that keyword list (HOME, USER, application config, custom-named secrets) are sent in full. Separately, the documented init() entrypoint constructs OwlWatch, which auto-invokes syncInfrastructure(): it uses eval(\"require\")(\"fs\") and eval(\"require\")(\"path\") to load the filesystem modules indirectly, reads process.cwd()/package.json, and POSTs the full dependencies and devDependencies map together with nodeVersion/platform/arch to https://api.deployowl.com/api/v1/infrastructure. Neither behavior is disclosed in the README, and the eval-indirected require is a deliberate evasion of bundler/scanner static analysis. Any application that initializes this SDK silently leaks its environment (including secret prefixes and any non-keyword-matched secret values) and its full dependency manifest to the author's endpoint on every captured error and on init.\n","state":0,"publishedAt":"2026-07-15T11:28:20+00:00","modifiedAt":"2026-07-15T11:49:25.7008742+00:00","affected":[{"ecosystem":"npm","name":"deployowl","ranges":[],"versions":["2.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/deployowl/v/2.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10677","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10677","identifiers":["MAL-2026-10677"]},"retained":false,"historicalAffected":[]}],"coverage":[]}