{"id":"MAL-2026-16370","summary":"Malicious code in @uol-afiliados/affiliated-config-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2cd4acce57eda08c1b8716118854cad32ecfc59e35e91c03d664ac452ee6716d)\n@uol-afiliados/affiliated-config-lib@102.0.0 declares a preinstall hook (`node index.js`) that shells out via `require('child_process').exec` to run `curl` against a subdomain of `hqbv58hgt1sjk7vf7ru4o0mwzn5etahz.oastify.com` (Burp Collaborator out-of-band interaction infrastructure). The subdomain is constructed with shell command substitution `$(hostname).$(whoami)`, so the installer's host name and current user name are embedded in the DNS/HTTP request and sent to the attacker-controlled collector automatically on `npm install`. The package ships no legitimate functionality — the sole install-time effect is host/user identifier exfiltration. The scoped name `@uol-afiliados/*` mimics an internal organization namespace, consistent with dependency-confusion reconnaissance.\n\n## Source: ghsa-malware (52e0b96dc5728075ac2fbeffe07aff85d93d4e2dbfa58f51edefbf1ffdf3c950)\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-mx57-mmpv-mwjr"],"modified":"2026-09-22T18:45:07.031977903Z","published":"2026-09-21T21:31:29Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-09-21T21:37:45.104865883Z","modified_time":"2026-09-21T21:31:29Z","sha256":"2cd4acce57eda08c1b8716118854cad32ecfc59e35e91c03d664ac452ee6716d","source":"amazon-inspector","versions":["102.0.0"],"id":"IN-MAL-2026-020280"},{"source":"ghsa-malware","id":"GHSA-mx57-mmpv-mwjr","import_time":"2026-09-22T18:31:21.176760877Z","modified_time":"2026-09-22T18:01:25Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"52e0b96dc5728075ac2fbeffe07aff85d93d4e2dbfa58f51edefbf1ffdf3c950"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@uol-afiliados/affiliated-config-lib/v/102.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mx57-mmpv-mwjr"}],"affected":[{"package":{"name":"@uol-afiliados/affiliated-config-lib","ecosystem":"npm","purl":"pkg:npm/%40uol-afiliados/affiliated-config-lib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["102.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-Et6str2xreJXzh0z0CrNVxEn1k7Txc+nw8hBXTLtIXuSnxoEj1Tpa4Q5t+FoKTOqbQbhlDeltKyHrl9VFzsloA==","sha1":"44c54e6e5ef263dc620046a6c3296f26a7ee3a91"},"filename":"affiliated-config-lib-102.0.0.tgz"}],"evidence_files":[{"path":"index.js","sha256":"7dca980661065bc2b9879c53f70d106a7c5efa9232a931907f74878b33c97b9f","tlsh":"e4e07d4919f5993a72b39866fd2b581f79834952113af2c3bdcf8b502784948c4962c9"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@uol-afiliados/affiliated-config-lib/MAL-2026-16370.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}