CI SECURITY BRIEF · UPDATED 28 NOV 2026

GitHub Actions and npm install-script supply-chain risks

A dependency manifest can show whether a package declares an install-time lifecycle hook. That is one useful fact to review, but it is not a malware verdict. The wfx-loot campaign shows why teams should review both package installation behavior and the CI workflows that can access credentials.

  • 4,837 GitHub accounts used
  • 61,764 Repositories probed
  • At least 1,835 Targets with stolen secrets confirmed

What was reported in the wfx-loot campaign

Aikido reported that attackers used credentials from 4,837 compromised GitHub accounts to test write access to 61,764 repositories. BleepingComputer reported that researchers confirmed secrets were stolen from at least 1,835 targets.

The reporting describes several ways the payload reached a workflow: changing an existing GitHub Actions workflow, adding a workflow on a short-lived branch, or planting an npm install hook. The purpose was to collect CI, cloud, developer, and other credentials available to the affected environment.

What an install-script flag tells you

The package reference now checks the npm registry manifest for preinstall, install, and postinstall declarations. “Yes” means at least one of those lifecycle hooks is declared; “No” means the supplied scripts object has none of them; “Unknown” means the registry response did not provide usable scripts metadata.

This flag reports manifest metadata only. It does not inspect what a script does, prove that installation will execute it in every environment, or say that a package is safe or malicious. Review the exact version, its published files, provenance, and your own lockfile before adopting a dependency.

Reduce the blast radius in CI

Give each workflow only the token permissions it needs. Keep secrets away from untrusted pull-request code, and review workflows that use pull_request_target or check out code from a contributor branch. Pin third-party actions to verified full commit SHAs or use GitHub’s workflow dependency lockfile where available.

If an investigation confirms that a workflow executed the campaign payload, treat credentials available to that job as exposed and rotate them. A repository-wide search for the reported branch and pull-request indicators can help an incident response, but absence of one indicator alone does not prove there was no exposure.

A separate npm incident reported by SafeDep

SafeDep separately reported malicious behavior in specific published versions of @leadstack/crm-connect. That report concerns a different package incident; it is not evidence about other packages that happen to declare install scripts. Check SafeDep’s report for the affected version list and investigation details.

This explainer summarizes cited reporting and general workflow guidance. The install-script indicator on package pages describes manifest declarations only; it is not a security assessment.