npm · Malicious package advisory
Malware@traktis/core
GHSA-968f-vpg2-j5xr
Malicious code in @traktis/core (npm)
Details
**Severity:** Critical **Affected versions:** `= 99.99.2` ## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/77e1abe54c807a94ef54fde706a23385c94d9e9b/osv/malicious/npm/@traktis/core/MAL-2026-16222.json)) **References:** - https://github.com/ossf/malicious-packages/blob/77e1abe54c807a94ef54fde706a23385c94d9e9b/osv/malicious/npm/@traktis/core/MAL-2026-16222.json - https://www.npmjs.com/package/@traktis/core/v/99.99.2 - https://github.com/advisories/GHSA-968f-vpg2-j5xr
Compromised versions (1)
- = 99.99.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.