mal-2026-16223
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (6b9bdabc95f4e8bc70e348557c1cae7d2447d9bd1405ac7a23945ded47ec04a8)
package.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.
{
"affected": [
{
"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": "4caf376753d003931fa41a280611328c9b553451951f3a8b252d111d86bda97d",
"tlsh": "22f05c38a43958333fc065781adc430e79819b5745e47c197343cc881e5cabb116522e"
}
],
"package_integrity": [
{
"filename": "environment-99.99.1.tgz",
"hashes": {
"sha1": "c4f97ce03c526fa14e5c7120dcef20bd850c3058",
"sha512_sri": "sha512-2/eWPg54CVBQw68uFeFUQuf7NdTuhfF7qoiqvJU2205re+Vpvd1vQbNqGiboFXgwTQEkMA3IsCF5DHpaG6Q2yQ=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@traktis/environment"
},
"versions": [
"99.99.1",
"99.99.2"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020108",
"import_time": "2026-09-16T14:19:38.424257173Z",
"modified_time": "2026-09-16T13:59:59Z",
"sha256": "6251d6386b6cccebe9a36ec4046a1d21361289c90fc0172658e4bed979c866cc",
"source": "amazon-inspector",
"versions": [
"99.99.1"
]
},
{
"id": "IN-MAL-2026-020107",
"import_time": "2026-09-16T14:19:38.345197704Z",
"modified_time": "2026-09-16T13:59:51Z",
"sha256": "6b9bdabc95f4e8bc70e348557c1cae7d2447d9bd1405ac7a23945ded47ec04a8",
"source": "amazon-inspector",
"versions": [
"99.99.2"
]
}
]
},
"details": "\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 \u0027anonymous\u0027; 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",
"id": "MAL-2026-16223",
"modified": "2026-09-16T14:21:35Z",
"published": "2026-09-16T13:59:51Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@traktis/environment/v/99.99.1"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@traktis/environment/v/99.99.2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @traktis/environment (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.