-= Per source details. Do not edit below this line.=-
On npm install, the postinstall hook (node install.js) downloads a platform-specific binary archive from a hardcoded https://your-website.com/downloads/veteran/... URL, extracts it, chmods it 0755, and immediately executes it (execSync("${BIN_PATH}" version)). The README advertises that binaries come from GitHub Releases at github.com/yongjie0203/veteran/releases, but the install script hardcodes your-website.com with a Chinese-language comment instructing the maintainer to replace it with their real download host — the package was published to npm with the placeholder in place. There is no hash or signature verification of the fetched bytes. Whoever registers or already controls your-website.com can ship arbitrary executables to every installer of this package, with full code execution on the installer's machine. Even absent registered malicious intent today, the install path is undefined: the destination domain is not under the publisher's control, the URL is unpinned, and the fetched binary's purpose (advertised as a SOCKS5 proxy) cannot be verified.
Any 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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-003876",
"import_time": "2026-05-26T05:51:29.946997006Z",
"modified_time": "2026-05-21T15:23:25Z",
"sha256": "b3eb733a784dc5c0ef6bcae90345204241a6b4e504f86e22fee7e66fae22376d",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-003875",
"import_time": "2026-05-26T05:51:29.843670511Z",
"modified_time": "2026-05-21T15:21:38Z",
"sha256": "e2528c02db9bcb4016a3347fdfae55c037c0462d6c0d29adb4245605424ad31f",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "GHSA-pf66-48mq-mcmm",
"import_time": "2026-12-01T14:22:57.581154584Z",
"modified_time": "2026-12-01T13:42:00Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "4e7e9a336ac50379b523692095840b54f5e496d6ea15f2e2d9f4761d5e1340fc",
"source": "ghsa-malware"
}
]
}[
{
"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"
}
]
{
"domains": [
"your-website.com"
],
"evidence_files": [
{
"path": "install.js",
"sha256": "019fd9b9d08f3df3fe2b5d79dc3157452c8551aa62550beb39837672a2ad0fa6",
"tlsh": "21d165c959f3923146b351de574f2016b22b80032509da5cbaad83587fa3f64c5a2bff"
}
],
"package_integrity": [
{
"filename": "veteran-proxy-1.0.0.tgz",
"hashes": {
"sha1": "87fe450cded3ddd2d9dfcc5c0a3a120418f51d57",
"sha512_sri": "sha512-ZDxRP7sLaBoGHbO1SSCL/+RZzvsahvRPCRdZQlI+/3ZkPfxW1f/tdNkhxOSMhU+jxD84uBiFjW1JP/q8S9bgkQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/veteran-proxy/MAL-2026-4704.json"