Audit GitHub Actions workflows API

Find injection, pinning, permission and pull_request_target risks.

The Audit GitHub Actions workflows operation is part of the AppSec Secrets IAM OpenAPI CI JWT SBOM API API on BRAINIAC.software. Find injection, pinning, permission and pull_request_target risks. It is exposed as POST /api/v1/appsec-config/github-actions-audit and priced at $0.03 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied files or snippets processed locally gitleaks default rules (MIT) SecLists JWT secrets and NCSC common passwords (MIT) NIST SP 800-63B-4; RFC 9700 OAuth Security BCP; OWASP API Security Top 10 2023 recheck (MIT); packageurl-js (MIT) Limitations: Nothing is cloned, fetched or executed at request time. Secrets are redacted in responses; no liveness checks against third-party services. Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determinations. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Scan files for secrets with gitleaks rules, Audit GitLab CI configuration, Audit CloudFormation templates, Analyse AWS IAM policy documents. Open the group documentation for the full request schema, field notes, and response examples before integrating.

POST$0.03 USDC
/api/v1/appsec-config/github-actions-audit

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/appsec-config/github-actions-audit" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "files": [
    {
      "path": ".github/workflows/pr.yml",
      "content": "on: pull_request_target\npermissions: write-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: some-org/lint-action@main\n      - run: echo \"${{ github.event.pull_request.title }}\"\n      - run: echo ${{ secrets.NPM_TOKEN }}\n"
    }
  ]
}
JSON

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

AppSec Secrets IAM OpenAPI CI JWT SBOM API APIFull docsHow it works