{"id":"MAL-2026-15532","summary":"Malicious code in confluence-rest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5d314e75faa527b1c10dbc34b2867180fb0726f2547d9b0edd0564aec3e38fd8)\npackage.json declares a self-referential dependency whose key equals the package's own name (`confluence-rest`) and whose value is the bare HTTPS URL `https://repo.securityctrl.com/confluence-rest` rather than a semver range. On `npm install`, npm resolves that URL and installs whatever tarball the host returns, running any lifecycle scripts inside it, with no version pin and no integrity check. The shipped index.js is an inert stub, so the manifest URL is the entire code-delivery path for the package. Whoever controls repo.securityctrl.com controls code that executes on the installer's machine at install time, and the self-referential dependency-confusion shape (same name as the published package, version 30.0.0 sufficient to win resolution against a legitimate internal package of the same name) indicates targeting of internal-package resolution.\n\n## Source: ghsa-malware (a7a75a0787f4c80f4132d532bd139c6de5875b3cdbb0aa4d01e41d2c169694d3)\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-g338-wxvv-vg5q"],"modified":"2026-08-29T18:45:16.007961665Z","published":"2026-08-28T23:17:05Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019106","import_time":"2026-08-28T23:38:06.010371369Z","modified_time":"2026-08-28T23:17:05Z","sha256":"5d314e75faa527b1c10dbc34b2867180fb0726f2547d9b0edd0564aec3e38fd8","source":"amazon-inspector","versions":["30.0.0"]},{"import_time":"2026-08-29T18:26:29.962625719Z","modified_time":"2026-08-29T18:13:37Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"a7a75a0787f4c80f4132d532bd139c6de5875b3cdbb0aa4d01e41d2c169694d3","source":"ghsa-malware","id":"GHSA-g338-wxvv-vg5q"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/confluence-rest/v/30.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g338-wxvv-vg5q"}],"affected":[{"package":{"name":"confluence-rest","ecosystem":"npm","purl":"pkg:npm/confluence-rest"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["30.0.0"],"database_specific":{"indicators":{"package_integrity":[{"filename":"confluence-rest-30.0.0.tgz","hashes":{"sha512_sri":"sha512-sikyhBdgT/4Ysci+tR3HLMd4dV9lxQRKMIoyhm0fK1hI1cc0vX0W0sIA7rbceiwn+bK/DGWOwNNoWRwDSU6fFg==","sha1":"c45a35a248631f0015a88512cea64155665d31eb"}}],"evidence_files":[{"sha256":"53a99cd2c437a23a6fa987456ffc722a18effa7f360e9f6d580334861bee353c","tlsh":"1ce0862849515a3316da12973c79545777115e9f11087c0996cb841c415d5b378fb37d","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/confluence-rest/MAL-2026-15532.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}