{"id":"MAL-2026-14257","revision":"a71ee02cb8d94593bfb1f1e7f2eb9c65","records":[{"revision":"a71ee02cb8d94593bfb1f1e7f2eb9c65","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14257","aliases":[],"title":"Malicious code in modsync (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (04b786780800de5689c4ae50377166b26050fd688ec5d75cfb14fda990b92494)\nThe package presents itself as a pino-like logger/middleware (README, docs/, and index.d.ts copied from pinojs/pino; keywords `fast/logger/stream/json`) but its exported middleware is a no-op. index.js unconditionally requires `./lib/config`, which is a 4 MB single-line file bearing obfuscator.io fingerprints (hex-named identifiers, a ~23,909-entry rotating string array, decoder functions, control-flow flattening, hex string escapes) and executes a top-level IIFE at module load. Consumers that `require('modsync')` execute this obfuscated blob in their process. Package metadata is inconsistent with the advertised purpose (name `modsync` combined with pino keywords, description referencing vulnerability management, author `Robert King <hello@jsonspack.com>`, bugs URL `jsonspack.com/issues`). The combination of a plagiarized cover-story shell around a large obfuscated require-time payload is characteristic of a malicious package rather than legitimate business logic; the obfuscation exists to hide behavior from inspection.\n","state":0,"publishedAt":"2026-08-19T05:04:38+00:00","modifiedAt":"2026-08-19T05:31:27.6806635+00:00","affected":[{"ecosystem":"npm","name":"modsync","ranges":[],"versions":["5.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/modsync/v/5.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14257","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14257","identifiers":["MAL-2026-14257"]},"retained":false,"historicalAffected":[]}],"coverage":[]}