{"answers":{"affected":"1 open source package ship an affected version, including module-relpath.","exploited":"There is no known exploitation of MAL-2026-14561 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-14561 is a malicious package in module-relpath, published on 27 Aug 2026."},"fix_prompt":"MAL-2026-14561 is a malicious package: module-relpath (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-14561/ (Markdown: https://insights.sbomify.com/MAL-2026-14561/index.md)","id":"MAL-2026-14561","markdown":"https://insights.sbomify.com/MAL-2026-14561/index.md","name":"MAL-2026-14561","record":{"aliases":["GHSA-pmg4-2q5x-v3x5"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"The package presents itself as `relative-import-path` (README title, homepage and repository URL point at github.com/marko-js/relative-import-path, and the.d.ts documents only `relativeImportPath`), but the CJS bundle at dist/index.js does not export the documented API. Instead it exports a single undocumented function `modshit(moduleName, size)` that reads `public/logo.png` from the current working directory, slices the trailing `size` bytes off the file, resolves the path `../${moduleName}/public/logo.png` relative to its own directory, creates parent directories as needed, and writes those trailing bytes to that location. The effect is a steganographic second-stage helper: bytes appended to the tail of a PNG are extracted and planted into an arbitrary sibling package's directory on the installer's disk under the caller's chosen name. The exported symbol does not match the documented API, is named to obscure its purpose, and provides a primitive whose only use is smuggling payload bytes hidden inside an image into other node_modules entries.\n\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in module-relpath (npm)","id":"MAL-2026-14561","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":[],"package":"module-relpath","purl":"pkg:npm/module-relpath","source":"MAL-2026-14561"}],"products":null,"published":"2026-08-27","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-14561/"}