{"id":"MAL-2026-12801","summary":"Malicious code in sc-payment-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (78b75d6f50386e1c630638fb334a8de08ad5fd2e1b7811ce63e2c6a64d7e3a09)\nsc-payment-utils@9999.0.0 declares a preinstall script that executes callback.js on npm install. The script collects host identity (os.hostname(), os.userInfo().username), the current working directory, the configured npm registry, and a battery of CI repository-slug environment variables (GITHUB_REPOSITORY, CI_PROJECT_PATH, BUILD_REPOSITORY_NAME, BITBUCKET_REPO_FULL_NAME, TRAVIS_REPO_SLUG, DRONE_REPO, BUILDKITE_PIPELINE_SLUG, CIRCLE_PROJECT_REPONAME, JOB_NAME), and issues an HTTP GET to a hardcoded bare-IP endpoint at http://75.119.137.232:31337/depconfuse with those fields as query parameters. The 9999.0.0 version number and beacon shape are consistent with a dependency-confusion reconnaissance callback targeting internal package names leaked into public registry resolution.\n","modified":"2026-08-05T14:37:20.150000772Z","published":"2026-08-05T13:14:34Z","database_specific":{"malicious-packages-origins":[{"sha256":"78b75d6f50386e1c630638fb334a8de08ad5fd2e1b7811ce63e2c6a64d7e3a09","source":"amazon-inspector","versions":["9999.0.0"],"id":"IN-MAL-2026-014939","import_time":"2026-08-05T14:19:44.889706436Z","modified_time":"2026-08-05T13:14:34Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sc-payment-utils/v/9999.0.0"}],"affected":[{"package":{"name":"sc-payment-utils","ecosystem":"npm","purl":"pkg:npm/sc-payment-utils"},"versions":["9999.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha1":"19beb4fde1aad06f8de5c9080b6de98de3278689","sha512_sri":"sha512-TFNjr0A5CPZaQH3glBj1+l79EJ7MQeXehb8sm++eInK7tyG5uTMdZsNomlG4l6wZNzgFoROeHq7i48kb4r/vZQ=="},"filename":"sc-payment-utils-9999.0.0.tgz"}],"evidence_files":[{"tlsh":"b9117bb9c68c0c3409c3178079686c1eb8fbd29133c294917f2d71d26bb22b046b75bd","path":"callback.js","sha256":"ef7e8833bf37872db94aee471fccc55a0f381e34fe16296f9a5b03bcb14cc502"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sc-payment-utils/MAL-2026-12801.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}