import "hash"

rule bulwark_https_bulwarkblack_com_dprk_npm_compromises_dependency_trust_identity_risk
{
    meta:
        author = "Bulwark Black LLC"
        source = "https://bulwarkblack.com/dprk-npm-compromises-dependency-trust-identity-risk/"
        description = "Auto-extracted indicators. Verify before use; not a behavioral detection rule."
        generated = "2026-08-03T01:03:49Z"
        tlp = "TLP:CLEAR"
        indicator_count = "4"
    strings:
        $s0 = "npmjs.store" ascii wide nocase  // Domains
        $s1 = "216.74.123.126" ascii wide nocase  // IPv4
    condition:
        any of ($s*) or
        hash.sha256(0, filesize) == "2014d09c7ded74d89c885b5f11693865224116f1b25df9330e61fe528f419d73" or
        hash.sha256(0, filesize) == "24604384b0e748ada07923630b3d037489e696284a98c4409fb9b6763565571f"
}
