{"id":"MAL-2026-10508","revision":"6d3d2d28687d4ae2a5889b2ae4ec9017","records":[{"revision":"6d3d2d28687d4ae2a5889b2ae4ec9017","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10508","aliases":[],"title":"Malicious code in nodemon-elint (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (869b2e1ce23c7668369cd6316bca7d3f8a564fa575ebbee8d1e3cf6a68d4ccaa)\nnodemon-elint@3.1.13 copies the source tree, README, author metadata, and homepage of the legitimate `nodemon` package but is published under a confusable name. Its package.json declares a runtime dependency on `type-elint@^3.3.7`, which is not required or imported by any file under lib/ and has no documented purpose in the package. Installing nodemon-elint therefore causes npm to resolve and install `type-elint` into the installer's dependency tree, where any install-time lifecycle scripts or require-time side effects in that sibling package execute on the installer's machine. The package.json also lists `chai@^4.4.1` — a test assertion library — under `dependencies` rather than `devDependencies`, with no `require('chai')` anywhere in lib/, an additional anomalous production dependency inconsistent with upstream nodemon. The pattern (name-confusion wrapper of a popular package + undocumented, unused sibling dependency whose name mirrors the typosquat scheme) is a dependency-chain drop: the wrapper itself contains no visible payload, but installing it pulls in attacker-controlled code via the forced dependency.\n","state":0,"publishedAt":"2026-07-13T22:11:54+00:00","modifiedAt":"2026-07-13T22:31:56.5838529+00:00","affected":[{"ecosystem":"npm","name":"nodemon-elint","ranges":[],"versions":["3.1.13"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/nodemon-elint/v/3.1.13"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10508","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10508","identifiers":["MAL-2026-10508"]},"retained":false,"historicalAffected":[]}],"coverage":[]}