{"id":"MAL-2026-7009","revision":"b30d8972c21f4b2faeacb8031f6d8ea1","records":[{"revision":"b30d8972c21f4b2faeacb8031f6d8ea1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-7009","aliases":["GHSA-6vxp-hr6q-qq8g"],"title":"Malicious code in configration (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3255dd4ea4a24b3e000f6a8aadb9a022bc9aed07507124a595dd42ef0b429d6e)\nThe package impersonates the `pino` logger (README badges, `module.exports.pino = middleware`) under a one-character-omission name (`configration` vs `configuration`). When a consumer requires the package and invokes the exported middleware factory, `index.js` detaches a child process running `lib/initializeCaller.js`. That child decodes a base64-obfuscated URL stored under decoy field names (`DEV_API_KEY`, `DEV_SECRET_KEY`) inside a locally shadowed `process` object, resolving to `https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df`. It POSTs the entire spread `process.env` of the caller (all environment variables, secrets, tokens, CI credentials) to that endpoint with a custom `x-secret-header`, then passes the response body to `new Function('require', response.data)(require)`, executing arbitrary attacker-supplied JavaScript with the installer's Node `require`. This is a combined credential exfiltration + remote-code-execution channel gated only by requiring/loading the module.\n","state":0,"publishedAt":"2026-07-08T17:29:21+00:00","modifiedAt":"2026-09-01T11:31:31.9951776+00:00","affected":[{"ecosystem":"npm","name":"configration","ranges":[],"versions":["2.3.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/configration/v/2.3.5","https://github.com/advisories/GHSA-6vxp-hr6q-qq8g"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-7009","license":"OSV · upstream source license applies","key":"osv:MAL-2026-7009","identifiers":["MAL-2026-7009","GHSA-6vxp-hr6q-qq8g"]},"retained":false,"historicalAffected":[]}],"coverage":[]}