{
  "name": "PyPI Package Compromised in Supply Chain Attack",
  "slug": "pypi-package-compromised-in-supply-chain-attack",
  "description": "The popular PyPI package lightning experienced a supply chain attack affecting versions 2.6.2 and 2.6.3, published on April 30, 2026. The compromise introduced malicious code that executes automatically upon module import, downloading Bun JavaScript runtime and executing an 11MB obfuscated payload. The attack harvests credentials including GitHub tokens, npm tokens, cloud credentials from AWS, Azure, and Google Cloud, while targeting CI/CD environments. The malicious code poisons GitHub repositories by injecting backdoored files impersonating Claude Code commits and infects local npm packages through tarball manipulation. The attack shows similarities to previous Shai-Hulud campaigns in terms of credential targeting and obfuscation methods. Evidence suggests the maintainer's GitHub account (pl-ghost) was compromised, with suspicious branch operations and disclosure suppression indicating ongoing attacker control. The incident affects a widely-used deep learning framework receiving millions of monthly downl...",
  "published": "2026-04-30T19:11:29.102000+00:00",
  "created_at": "2026-05-04T14:01:19.454000+00:00",
  "modified_at": "2026-05-04T12:01:20+00:00",
  "created_at_opencti": "2026-05-04T14:01:19.454000+00:00",
  "author": "AlienVault",
  "confidence": 100,
  "report_types": [
    "threat-report"
  ],
  "labels": [
    "ci/cd targeting",
    "github poisoning",
    "npm worm",
    "pypi",
    "shai-hulud",
    "supply chain attack"
  ],
  "tags": [
    "2026-04-30",
    "ci/cd targeting",
    "github poisoning",
    "npm worm",
    "pypi",
    "shai-hulud",
    "supply chain attack"
  ],
  "related_entities": {
    "indicators": [
      {
        "id": "706502e2-d9ec-44d3-b3e3-52f366843aa1",
        "name": "5f5852b5f604369945118937b058e49064612ac69826e0adadca39a357dfb5b1"
      }
    ],
    "intrusion_sets": [
      {
        "id": "988548a1-a96a-433d-8a7d-821f1bc6dd43",
        "name": "Team PCP",
        "slug": "team-pcp"
      }
    ],
    "malware": [
      {
        "id": "31dd38d0-b2c6-49c2-86db-6c2f90fcbe4a",
        "name": "router_runtime.js",
        "slug": "router_runtimejs"
      }
    ],
    "observables": [
      {
        "id": "",
        "name": "5f5852b5f604369945118937b058e49064612ac69826e0adadca39a357dfb5b1"
      }
    ],
    "others": [
      {
        "id": "",
        "name": "Technology"
      }
    ]
  },
  "external_refs": [
    {
      "id": "f053aff4-b13f-4fed-bcb8-d7d9c3f77916",
      "standard_id": "external-reference--4f01df6d-b836-5531-8f7d-6d041c349138",
      "entity_type": "External-Reference",
      "source_name": "AlienVault",
      "description": null,
      "url": "https://socket.dev/blog/lightning-pypi-package-compromised",
      "hash": null,
      "external_id": null,
      "created": "2026-05-04T14:01:18.107Z",
      "modified": "2026-05-04T14:01:18.107Z",
      "createdById": null
    },
    {
      "id": "e9761d30-295e-4e6b-a9a7-8ce35dd87d3d",
      "standard_id": "external-reference--857c4552-4242-5ce6-bd2b-08796c72d6a7",
      "entity_type": "External-Reference",
      "source_name": "AlienVault",
      "description": null,
      "url": "https://otx.alienvault.com/pulse/69f3a961ffb07e2895566458",
      "hash": null,
      "external_id": "69f3a961ffb07e2895566458",
      "created": "2026-05-04T14:01:18.082Z",
      "modified": "2026-05-04T14:01:18.082Z",
      "createdById": null
    }
  ]
}