mal-2026-16350
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (689227d0fdfe4abc108c7dfc5b5b97e752182a410265c141ca33161247619e78)
The package ships poc.js and wires it to both preinstall and postinstall lifecycle hooks in package.json, so it runs automatically on npm install. poc.js requires os and https, reads os.hostname() and os.userInfo().username, and sends them via HTTPS GET to a hardcoded webhook.site collector at https://webhook.site/f3d7a882-435a-4959-a4e9-18a3886f3447. The package name suggests a flag-icons library but the shipped code performs only host identifier exfiltration to an anonymous third-party collector; the version 99.99.99 is consistent with a dependency-confusion attempt. Installing the package causes the installer's hostname and OS username to be transmitted to an attacker-controlled endpoint.
Source: ghsa-malware (e0671ec4edd4de7b54d08681640fe67e830c3599cc0a0c6765f3139f9fb7e653)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"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": "poc.js",
"sha256": "570b63608fcd4534d17f7df694418c1ec7acca0bd67337ce2bbc64152d7f2703",
"tlsh": "92f0a3f077b09f301d2cc4d053c6648ae263f21238677bd2595d62950f555b02de76b9"
}
],
"package_integrity": [
{
"filename": "bnppf-flag-icons-99.99.99.tgz",
"hashes": {
"sha1": "2314dd80f36fc561f504b05b491e367f7a927555",
"sha512_sri": "sha512-PIzrIEVkxK16NC7bC/kNsxjVSEeXfIWMcc0Dmp73cNe2bGKz3sMaLkvsNGPNvCzK8MxKdWDxLeWlMBz5klXzgg=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "bnppf-flag-icons"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"99.99.99"
]
}
],
"aliases": [
"GHSA-34p9-xxp2-hv3g"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020261",
"import_time": "2026-09-21T17:14:24.386258555Z",
"modified_time": "2026-09-21T16:41:57Z",
"sha256": "689227d0fdfe4abc108c7dfc5b5b97e752182a410265c141ca33161247619e78",
"source": "amazon-inspector",
"versions": [
"99.99.99"
]
},
{
"id": "GHSA-34p9-xxp2-hv3g",
"import_time": "2026-10-02T23:23:00.328596448Z",
"modified_time": "2026-10-02T22:34:11Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "e0671ec4edd4de7b54d08681640fe67e830c3599cc0a0c6765f3139f9fb7e653",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (689227d0fdfe4abc108c7dfc5b5b97e752182a410265c141ca33161247619e78)\nThe package ships poc.js and wires it to both preinstall and postinstall lifecycle hooks in package.json, so it runs automatically on `npm install`. poc.js requires `os` and `https`, reads `os.hostname()` and `os.userInfo().username`, and sends them via HTTPS GET to a hardcoded webhook.site collector at https://webhook.site/f3d7a882-435a-4959-a4e9-18a3886f3447. The package name suggests a flag-icons library but the shipped code performs only host identifier exfiltration to an anonymous third-party collector; the version 99.99.99 is consistent with a dependency-confusion attempt. Installing the package causes the installer\u0027s hostname and OS username to be transmitted to an attacker-controlled endpoint.\n\n## Source: ghsa-malware (e0671ec4edd4de7b54d08681640fe67e830c3599cc0a0c6765f3139f9fb7e653)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n",
"id": "MAL-2026-16350",
"modified": "2026-10-02T23:24:37.776933922Z",
"published": "2026-09-21T16:41:57Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/bnppf-flag-icons/v/99.99.99"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-34p9-xxp2-hv3g"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in bnppf-flag-icons (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.