MAL-2026-16222

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@traktis/core/MAL-2026-16222.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16222
Published
2026-09-16T14:00:09Z
Modified
2026-09-17T14:30:05Z
Summary
Malicious code in @traktis/core (npm)
Details

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

Source: amazon-inspector (45eb01f2eb09b73c0660d97e76d37ab8f7d62773cab9cdbdea65039a37dbb534)

package.json declares preinstall and postinstall lifecycle scripts that run curl against http://tko.amgsec.com/depconf/traktis-core/ on every npm install, carrying the output of whoami, hostname, and PWD as query parameters together with a base64-encoded dump of CI-related environment variables (GITHUB_, CI_PROJECT, JENKINS_URL, BUILD_URL, GITLAB_, RUNNER_*, HOSTNAME, USER, HOME). index.js is a one-line placeholder with no functionality, so the manifest is the entire payload. The scoped name combined with version 99.99.2 is the shape used to win dependency resolution against an internal package of the same name, causing internal build systems to install this artifact and beacon their identity and CI/repo metadata to a hardcoded non-publisher endpoint over plaintext HTTP.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-020109",
            "import_time": "2026-09-16T14:19:38.509451228Z",
            "modified_time": "2026-09-16T14:00:09Z",
            "sha256": "45eb01f2eb09b73c0660d97e76d37ab8f7d62773cab9cdbdea65039a37dbb534",
            "source": "amazon-inspector",
            "versions": [
                "99.99.2"
            ]
        },
        {
            "id": "IN-MAL-2026-020122",
            "import_time": "2026-09-17T14:20:23.246241307Z",
            "modified_time": "2026-09-17T14:17:29Z",
            "sha256": "f1f6b8df9f7a68bc8970ac2d14cb56a11496f3bca4c1f903a6a08540bd71aab0",
            "source": "amazon-inspector",
            "versions": [
                "99.99.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @traktis/core

Package

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

Affected ranges

Affected versions

99.*
99.99.1
99.99.2

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "424da3d8af2d03fe5127134895ddc49037c577029d84665cc525236c83bb8b38",
            "tlsh": "c201cb34ee69a933bec5a0b419e8d30db182b8ce41b0386477438c146a9c61534ae56d"
        },
        {
            "path": "index.js",
            "sha256": "c4f212c13101ef585d303d83ad985fad6be41203e8ae39e2e3d5560c9a4cc04c",
            "tlsh": "57900204d1845392540889051d014621621d54a1977102912103054637125a0973e980"
        }
    ],
    "package_integrity": [
        {
            "filename": "core-99.99.2.tgz",
            "hashes": {
                "sha1": "7ec71dd42835cd0458954e016f2f5f2b80e651a1",
                "sha512_sri": "sha512-VFoGfiD5MmzN0KWxH1XlHBYb3QHDaIT5MnYyRjllnjuC6Hq2bca4FpUTSF9nQaB0tUMCwAWVubHaPllZ+J0WJA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@traktis/core/MAL-2026-16222.json"