Skip to main content
POST
Analyze a GitHub Actions workflow
Checks one workflow file for:
  • Secret theft, including patterns from GhostAction, Shai-Hulud and the tj-actions compromise
  • Script injection and unsafe pull_request_target checkouts
  • Actions from missing, new, forked or look-alike repositories
  • Unpinned actions, token permissions and other hardening issues
Costs 2 units of your rate limit. The workflow is analyzed in memory and not stored.

Request

Send the YAML as the raw body:
Or as JSON with Content-Type: application/json:
The body can be up to 256 KB.

Example

Response

Finding

Action repository checks

The API looks up the repositories behind referenced actions. This catches references to owners that no longer exist (anyone can register the name and publish code there), recently created repositories, forks of popular actions, and renamed repositories. Static findings are always returned, even when lookups are skipped.

Errors

Body

Workflow YAML

Response

Workflow report

workflow
object
required
summary
object
required
findings
object[]
required
actions
object[]
required
checks
object