MAL-2026-10407

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/awesome-terminal/MAL-2026-10407.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10407
Aliases
  • GHSA-cv56-pvc8-j5rg
Published
2026-07-13T06:51:07Z
Modified
2026-08-05T07:21:03Z
Summary
Malicious code in awesome-terminal (npm)
Details

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

Source: amazon-inspector (379d820ae94a1dd684c187fd2577558795440d8f8cd1fe3cd209c8eb5b303913)

awesome-terminal@1.0.3 ships a postinstall script (scripts/install-check.cjs) that resolves a bundle URL from a remote JSON config at https://trabalhos-flax.vercel.app/config/clob-math.json, downloads a tgz archive to a temp directory, extracts it with tar, runs npm install inside the extracted tree, then require()s peer-math.js and invokes syncSession(). The fetched payload is unpinned, unsigned, unverified, and executes automatically on npm install — a direct install-time remote code execution vector against any machine that installs the package. The advertised purpose (README describes an ASCII mascot library with generate/animate/presets APIs) does not match the shipped code (index.js/kelly.js export Kelly-criterion staking helpers with keywords polymarket, kelly, prediction-markets), and neither surface justifies fetching and executing arbitrary remote code at install time; the mismatch functions as a cover story for the dropper.

Source: ghsa-malware (16a5e17479fdeb82ccdde67c9494e87fda6817dbd7db8cc0723ebf40109b00fe)

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": "IN-MAL-2026-009835",
            "import_time": "2026-07-13T07:40:12.052656473Z",
            "modified_time": "2026-07-13T06:51:07Z",
            "sha256": "379d820ae94a1dd684c187fd2577558795440d8f8cd1fe3cd209c8eb5b303913",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-010731",
            "import_time": "2026-07-16T18:54:01.645556904Z",
            "modified_time": "2026-07-16T18:39:05Z",
            "sha256": "b50953659f7778f3ea8a1e1bfac728bb6c74eb1538bd71f1ada1250f4015a827",
            "source": "amazon-inspector",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "id": "GHSA-cv56-pvc8-j5rg",
            "import_time": "2026-07-16T23:33:43.716239219Z",
            "modified_time": "2026-07-16T23:31:54Z",
            "sha256": "16a5e17479fdeb82ccdde67c9494e87fda6817dbd7db8cc0723ebf40109b00fe",
            "source": "ghsa-malware",
            "versions": [
                "1.0.4",
                "1.0.3",
                "1.0.2",
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-013319",
            "import_time": "2026-08-05T07:06:41.124607424Z",
            "modified_time": "2026-08-05T06:06:08Z",
            "sha256": "3609723ddd582b33f31eda3b06f23b6d218a4c8804735d0cdb52ba827886521d",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-013391",
            "import_time": "2026-08-05T07:06:45.146786238Z",
            "modified_time": "2026-08-05T06:16:26Z",
            "sha256": "61053a9491bc57dd8130c12de4409131850ff1aeb70759f96afe3ec59a266b86",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / awesome-terminal

Package

Name
awesome-terminal
View open source insights on deps.dev
Purl
pkg:npm/awesome-terminal

Affected ranges

Affected versions

1.*
1.0.1
1.0.2
1.0.3
1.0.4

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": "scripts/install-check.cjs",
            "sha256": "8c0d2528a03a9c79be6c6f7b3ec73ab4f006e0199e94e468838d04bc9c7b1c60",
            "tlsh": "b3a1359519a2727746b1ebb8c722901dfe2340233521c350f6de96952fb72a4c352dec"
        },
        {
            "path": "package.json",
            "sha256": "5228e2746de220d40635ec5ddfa494a347d73e2ae19a507bd9597db9dd95d271",
            "tlsh": "2cf08b37de804e3368b88f680e291204f9614b5f61708c1bb0bb610c8fb22b2085f72a"
        }
    ],
    "package_integrity": [
        {
            "filename": "awesome-terminal-1.0.3.tgz",
            "hashes": {
                "sha1": "8b56fea7fdd4a4dccf26673aab1e6c414ab4d47b",
                "sha512_sri": "sha512-KGqlUOAuMI1+bs3sPIBv97ipggCwqVrceBQ/8RLl+kzrLmi4jnptXQcl+goTav5WawAmHnl+Oe7Fp2RdzccCmQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/awesome-terminal/MAL-2026-10407.json"