MAL-2026-10718

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sciagent/cli/MAL-2026-10718.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10718
Published
2026-07-16T18:42:59Z
Modified
2026-07-16T19:19:58.148900214Z
Summary
Malicious code in @sciagent/cli (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (310123a94891174b8cfa55def38b6e916b89d43306a52793739f26289fe51e4d)

scripts/postinstall.js fetches a ~10MB+ 'sciagent' executable over HTTPS from https://u250924-adc6-f977430f.westb.seetacloud.com:8443 (a rented seetacloud.com subdomain that does not match the package's declared publisher), writes it to ~/.sciagent/bin/sciagent, chmods it 0755, and the CLI shim subsequently spawns it. No hash, signature, or publisher check is performed on the fetched bytes; the URL is also overridable via a RELEASESERVERURL environment variable. A fallback branch runs an unpinned npm install -g @tencent-ai/codebuddy-code at postinstall time and writes a wrapper that requires the resolved codebuddy-headless.js, so whatever version of that unrelated third-party package is current at install time is auto-installed globally and loaded by the sciagent CLI. Publisher metadata (gitee garva/research-agent, 'SciAgent Team') does not match either the seetacloud host or the poisondrinker/research-agent GitHub fallback referenced in the same script. Installing the package causes the installer's machine to execute opaque bytes retrieved from a non-publisher host at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-16T18:54:03.286279845Z",
            "source": "amazon-inspector",
            "sha256": "310123a94891174b8cfa55def38b6e916b89d43306a52793739f26289fe51e4d",
            "versions": [
                "1.0.68"
            ],
            "id": "IN-MAL-2026-010762",
            "modified_time": "2026-07-16T18:43:39Z"
        },
        {
            "import_time": "2026-07-16T18:54:03.028064165Z",
            "source": "amazon-inspector",
            "sha256": "f293746cfa28ddea655cd5823c78429c8027bef305862c586699d48ffc74918c",
            "versions": [
                "1.0.69"
            ],
            "id": "IN-MAL-2026-010757",
            "modified_time": "2026-07-16T18:42:59Z"
        }
    ]
}
References
Credits

Affected packages

npm / @sciagent/cli

Package

Name
@sciagent/cli
View open source insights on deps.dev
Purl
pkg:npm/%40sciagent/cli

Affected ranges

Affected versions

1.*
1.0.68
1.0.69

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "7bd2a98609fb21342b776a595b7b182631199403a30aed4cb98c47d52ff3a24cdd36ef",
            "sha256": "bdeec73b0a8513cbb88aa58534d7cd243ab84f69ba1e816c3f2eed9624a014e5",
            "path": "scripts/postinstall.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "cli-1.0.68.tgz",
            "hashes": {
                "sha1": "28a6084539ee4212708ca100c4c7cd1032032c93",
                "sha512_sri": "sha512-KaPhOgpBgjEVMIghjTQnTWwy4zFv3aWlYu7j3cL5MB7gecZHb6jddDYIIY4anfH5IYNHp9ASADEqYM1L2KosPQ=="
            }
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sciagent/cli/MAL-2026-10718.json"