MAL-2026-10921

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/iot-kfh-s3/MAL-2026-10921.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10921
Aliases
  • GHSA-qg52-c79f-3q5c
Published
2026-07-20T17:03:57Z
Modified
2026-08-04T23:05:13Z
Summary
Malicious code in iot-kfh-s3 (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (1c402827c1e00592a8936a9304c2cccc45189126fc447038f67350a8a9124c81)

The package's preinstall script executes node examples/verify.js, which initializes Sentry against a hardcoded author-controlled DSN at o4510485815754752.ingest.us.sentry.io/4511632673275909 with sendDefaultPii: true, resolves the installer's public IP via https://www.cloudflare.com/cdn-cgi/trace, and deliberately triggers a captured exception so Sentry ships an event carrying the installer's public IP, server_name, username, and other default PII to the author's project on npm install. The library entry src/index.js additionally hardcodes the same DSN as DEFAULT_DSN, so consumers who call init() without providing options.dsn or SENTRY_DSN silently forward their application error events (which routinely contain stack frames, request data, environment values, and user identifiers) to the same author-owned endpoint. Package metadata is generic (name iot-kfh-s3 unrelated to the described Sentry-wrapper purpose, two-line README stub), inconsistent with a legitimate maintained telemetry library.

Source: ghsa-malware (d951dbac36ed1916b5dbff7333d074898752088132c2ec6e2b12fe223b835393)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-qg52-c79f-3q5c",
            "import_time": "2026-07-20T17:55:48.47838077Z",
            "modified_time": "2026-07-20T17:04:04Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d951dbac36ed1916b5dbff7333d074898752088132c2ec6e2b12fe223b835393",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011318",
            "import_time": "2026-08-04T22:30:10.738986658Z",
            "modified_time": "2026-08-04T22:04:12Z",
            "sha256": "1c402827c1e00592a8936a9304c2cccc45189126fc447038f67350a8a9124c81",
            "source": "amazon-inspector",
            "versions": [
                "17.3.23"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / iot-kfh-s3

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

17.*
17.3.23

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": "5dd42299f5ee7d5eda2caa660de6949daae00895fa04102e3ebb8c3d4a974090",
            "tlsh": "97f0f450cd346f2315d4e7656ca9008aa7608e8741a43d197acb062d4b9c37b24bf2ad"
        },
        {
            "path": "src/index.js",
            "sha256": "1c22f929ca0e74155f2c51e67b89af2911ce7c45e4f1a3546f2a2babb602c26d",
            "tlsh": "6a12a59a74f6232301e250f0025f90d97365d67b3379a9e070598be92fd90b8d6b3ec9"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/iot-kfh-s3/MAL-2026-10921.json"