What it finds on a demo project

In your workflow files, the CLI flags third-party actions that aren't pinned to a commit SHA, write-all token permissions, event text expanded into run scripts, and pull_request_target or workflow_run jobs that check out pull request code.

SiteCMD CLI 2.0.0
Demo project: Pull request workflow
npx sitecmd audit .
SiteCMD Code Scan - .
Checked: November 9, 2026
Framework: Express
Issues: 4 total | critical 0 | high 2 | medium 2 | low 0

High (2)
- [Dependencies · supply-chain] Privileged workflow checks out untrusted pull-request code - .github/workflows/ci.yml:11
- [Dependencies · supply-chain] Workflow interpolates attacker-controllable input into a shell script - .github/workflows/ci.yml:12

Medium (2)
- [Dependencies · supply-chain] Workflow grants the GITHUB_TOKEN blanket write-all permissions - .github/workflows/ci.yml:4
- [Dependencies · supply-chain] Workflow uses third-party GitHub Actions without commit pinning - .github/workflows/ci.yml:13

Your code passes? Now watch your site.

Join the waitlist

Pin GitHub Actions to a commit SHA you have reviewed

A branch or tag can move to different code. Pin an action to the full commit SHA and verify that the commit belongs to the action's own repository. GitHub's secure use reference describes commit pinning.

Keep GitHub Actions script injection out of run steps

Don't paste a pull request title or another attacker-controlled expression directly into shell script text. Pass the value through an environment variable or an action input and handle it as data.

Limit GitHub Actions permissions before running pull request code

Grant only the token permissions the job needs. Be careful with pull_request_target and privileged workflow_run jobs: checking out and running an untrusted pull request can give that code the job's authority.

Frequently asked questions

Is pinning GitHub Actions to a SHA enough?

No. The commit you choose can still have flaws or be wrong for the job. Review its contents and the permissions it gets, then review the changes when you update the pin.

Confirm you're a person