{"id":"MAL-2026-15516","summary":"Malicious code in nx-app (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8671a9b563cebe9de36365a80edc1f242be492933cadb3e45ea590c8c5e1e115)\npackage.json declares its own name `nx-app` as a dependency whose value is a raw HTTPS URL (`https://repo.securityctrl.com/nx-app`) rather than a semver range against the npm registry. On `npm install`, npm fetches a tarball from that URL and runs any lifecycle scripts it contains, with no version pin, no integrity hash, and no signature check. Whoever controls repo.securityctrl.com controls code executed on the installer's machine at install time. The self-referential dependency key (matching the package's own name) is a dependency-confusion shape that forces resolution to the off-registry URL even when a registry-hosted `nx-app` exists, and the shipped in-tree source is an inert stub so the manifest URL is the sole payload delivery vector.\n\n## Source: ghsa-malware (6c7af1fac9e695388df59eb95fd3170fedc1b9ae8a282f9de84d5259aea78f82)\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.\n","aliases":["GHSA-vmrp-3pwx-mj42"],"modified":"2026-08-29T18:45:14.939375749Z","published":"2026-08-28T23:11:23Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["9999.0.0-security-test"],"id":"IN-MAL-2026-019067","import_time":"2026-08-28T23:14:35.806171464Z","modified_time":"2026-08-28T23:11:23Z","sha256":"8671a9b563cebe9de36365a80edc1f242be492933cadb3e45ea590c8c5e1e115"},{"source":"ghsa-malware","id":"GHSA-vmrp-3pwx-mj42","import_time":"2026-08-29T18:26:29.987459876Z","modified_time":"2026-08-29T18:13:48Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6c7af1fac9e695388df59eb95fd3170fedc1b9ae8a282f9de84d5259aea78f82"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/nx-app/v/9999.0.0-security-test"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vmrp-3pwx-mj42"}],"affected":[{"package":{"name":"nx-app","ecosystem":"npm","purl":"pkg:npm/nx-app"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9999.0.0-security-test"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nx-app/MAL-2026-15516.json","indicators":{"package_integrity":[{"filename":"nx-app-9999.0.0-security-test.tgz","hashes":{"sha1":"f9aa6920f0b5b07280705626fe37ae347a85b24a","sha512_sri":"sha512-axRylTiLa8ZO0M2S7OW08X+FMyuqaPgTTD70PFW0xewFHic/fz8JC1Th3iXMT7gv7GPa84jNk5pr1XCYLxatKQ=="}}],"evidence_files":[{"path":"package.json","sha256":"ce518e40fd9305176294ce52bafefaf7975cbed9336636b484591714ddc89d96","tlsh":"39e0c2294f52127306cb126b483d946773228fab14047c0a96cb041c955d9b77df929c"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}