MAL-2026-10593

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twiliobox/MAL-2026-10593.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10593
Published
2026-07-14T13:59:56Z
Modified
2026-07-14T14:49:16Z
Summary
Malicious code in twiliobox (npm)
Details

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

Source: amazon-inspector (1a94eb66c6d3f03cf5b4e2e13527b9ab9bcb1ae85e75b62f79f58e225b941970)

On npm install, twiliobox@1.0.0 runs its declared postinstall script (node.init.js), which enumerates credential-shaped environment variables (NPM_TOKEN, AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, STRIPE, DB, SSH, GCP, Azure, etc.), reads ~/.npmrc, ~/.env*, and ~/.config/* files matching token/credential/secret patterns, and collects host identifiers (os.hostname, os.platform, process.cwd, pid). The harvested data is POSTed via https.request to a hardcoded third-party endpoint at webhook.cool/at/tender-deer-80/hG-DWynJKenViD9XWI5Mf8CulD0I9G2s. The package name resembles the well-known 'twilio' library, consistent with a typosquat lure. Installing this package on a developer or CI machine causes automatic transmission of installer-side secrets to an attacker-controlled webhook.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-010515",
            "import_time":  "2026-07-14T14:37:52.478878888Z",
            "modified_time":  "2026-07-14T13:59:56Z",
            "sha256":  "1a94eb66c6d3f03cf5b4e2e13527b9ab9bcb1ae85e75b62f79f58e225b941970",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twiliobox

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  ".init.js",
            "sha256":  "6eb3939e40f85d1c3f591a3cd3a3edf0fd00c9b09fd7cb48f62e11edca3219b2",
            "tlsh":  "d9513181849e521310db2af168034c00a67ee59b3435e6e17e8f02249fddc6c85b3fbd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "twiliobox-1.0.0.tgz",
            "hashes":  {
                "sha1":  "3c13df50decd565300f2d58004068035d2dd1395",
                "sha512_sri":  "sha512-K7Nz+Oif7pnCAbOe34j0ovvTloJg9XLtgMS9is+tgyVQZdjpl5n6H3LnqRfupw5IwGBNQqG+8XS/Wco4D+Y9XQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twiliobox/MAL-2026-10593.json"