{"id":"MAL-2026-16223","revision":"2b294f2e12a541238e262b6ce312d467","records":[{"revision":"2b294f2e12a541238e262b6ce312d467","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16223","aliases":[],"title":"Malicious code in @traktis/environment (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6b9bdabc95f4e8bc70e348557c1cae7d2447d9bd1405ac7a23945ded47ec04a8)\npackage.json declares preinstall and postinstall lifecycle scripts that invoke curl against the hardcoded cleartext endpoint http://tko.amgsec.com/depconf/traktis-environment/, sending the output of whoami, hostname, cwd, a timestamp, and a base64-encoded dump of CI/build environment variables matched by the pattern GITHUB_*, CI_PROJECT, JENKINS_URL, BUILD_URL, GITLAB_*, RUNNER_*, HOSTNAME, USER, HOME as query parameters. index.js is a 55-byte placeholder comment and author is listed as 'anonymous'; the manifest lifecycle scripts are the entire functional payload. The name occupies the @traktis scope at version 99.99.2, a version-inflation shape consistent with dependency-confusion resolution against an internal package of the same name. Installing the package on any developer workstation or CI runner automatically transmits build-system identity and any credential-shaped environment variables covered by the grep pattern to a third-party host over plain HTTP.\n","state":0,"publishedAt":"2026-09-16T13:59:51+00:00","modifiedAt":"2026-09-16T14:30:06.3049591+00:00","affected":[{"ecosystem":"npm","name":"@traktis/environment","ranges":[],"versions":["99.99.1","99.99.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@traktis/environment/v/99.99.1","https://www.npmjs.com/package/@traktis/environment/v/99.99.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16223","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16223","identifiers":["MAL-2026-16223"]},"retained":false,"historicalAffected":[]}],"coverage":[]}