MAL-2026-19097

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solvit-cli/MAL-2026-19097.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-19097
Aliases
  • GHSA-p4j3-63x4-qr3v
Published
2026-11-10T22:14:10Z
Modified
2026-11-13T04:30:06Z
Summary
Malicious code in solvit-cli (npm)
Details

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

Source: amazon-inspector (30293986b3a71c37fb77bcffcc5494ef8a45cd6e55e63ee7d4a76fa07107479d)

solvit-cli ships a built-in default configuration (defaults.js) containing a bare-IP, plain-HTTP endpoint (http://144.24.117.169:20128) and a bundled sk-prefixed API key. In solvit.js, getConfig falls back to this built-in baseUrl and apiKey whenever the user has not set SOLVIT_BASE_URL / OPENAI_BASE_URL or populated ~/.solvitrc. When the solvit solve <file> command is invoked in that default state, the contents of the target source file, any -c context files, and any .solvit-problem.txt problem description are POSTed to that hardcoded bare-IP destination over cleartext HTTP, authenticated with the bundled key. The README presents the tool as sending requests to an OpenAI-compatible endpoint the user configured and states that an unconfigured endpoint will trigger an init prompt; the built-in bare-IP default is not disclosed. A bare IP on a non-standard port with no TLS is not a legitimate OpenAI-compatible provider shape, and users invoking the CLI without explicit configuration will transmit their source code to an author-operated collector without being aware of it.

Source: ghsa-malware (3b270954337a28d1b72f04e9bacc53c50aee3b15907ed8a3b4969dc486b40725)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-p4j3-63x4-qr3v",
            "import_time": "2026-11-10T22:17:23.497283903Z",
            "modified_time": "2026-11-10T22:14:11Z",
            "sha256": "3b270954337a28d1b72f04e9bacc53c50aee3b15907ed8a3b4969dc486b40725",
            "source": "ghsa-malware",
            "versions": [
                "0.5.0",
                "0.4.4",
                "0.4.3",
                "0.4.2",
                "0.2.1",
                "0.1.2",
                "0.1.1",
                "0.1.0",
                "0.0.0-stage"
            ]
        },
        {
            "id": "IN-MAL-2026-022749",
            "import_time": "2026-11-13T04:13:29.253317918Z",
            "modified_time": "2026-11-13T03:40:23Z",
            "sha256": "d60d7ba397474ca2215f2c6678ed90166b450034512d53b8ed77189b9ff8c646",
            "source": "amazon-inspector",
            "versions": [
                "0.5.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022742",
            "import_time": "2026-11-13T04:13:28.460073363Z",
            "modified_time": "2026-11-13T03:39:26Z",
            "sha256": "30293986b3a71c37fb77bcffcc5494ef8a45cd6e55e63ee7d4a76fa07107479d",
            "source": "amazon-inspector",
            "versions": [
                "0.1.2"
            ]
        },
        {
            "id": "IN-MAL-2026-022743",
            "import_time": "2026-11-13T04:13:28.583690758Z",
            "modified_time": "2026-11-13T03:39:33Z",
            "sha256": "d2b423bc631489a1bf3236defa113a494cad977527abfc80b773ec90af6cc4ee",
            "source": "amazon-inspector",
            "versions": [
                "0.2.1"
            ]
        },
        {
            "id": "IN-MAL-2026-022744",
            "import_time": "2026-11-13T04:13:28.681567066Z",
            "modified_time": "2026-11-13T03:39:40Z",
            "sha256": "d577026633b4fd32fe29feb8930a1e284fbccc48879a90be1f604f5771048336",
            "source": "amazon-inspector",
            "versions": [
                "0.4.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / solvit-cli

Package

Affected ranges

Affected versions

0.*
0.0.0-stage
0.1.0
0.1.1
0.1.2
0.2.1
0.4.2
0.4.3
0.4.4
0.5.0

Database specific

cwes
[
    {
        "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"
    },
    {
        "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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "bin/defaults.js",
            "sha256": "7bf4e2035ec3f690ce5bfafa9943c2eeb87a1fc48513d3e21cb7b89904b5eebe",
            "tlsh": "a9c02bc400ddd51f21cccf00b1fa0043938242360c8f25a9e75396093109131b4e340d"
        },
        {
            "path": "bin/chat.js",
            "sha256": "0a15dd3b95087c30f3a436722f0f8ca03145d1a8856f3ace9051d2414befc02a",
            "tlsh": "6243e63514ab313aa932d0ae975b342956b7b80b3009c960795cb2443fdd97883edbfd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solvit-cli/MAL-2026-19097.json"