CRITICAL npm Malware

Malicious code in @traktis/core (npm)

MAL-2026-16222

Published · Modified

Dependency scanning

Check whether @traktis/core is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes