78trust / 100

Ci Scan

by cicd-scan in Developer tools

x402 APIPassing, checked 47 min ago

Static security scan of a CI/CD pipeline config: GitHub Actions, GitLab CI or CircleCI. Detects unpinned actions / images / orbs, template and environment injection, dangerous triggers, over-broad workflow-token permissions, secrets leaked to logs, cache poisoning and more. Returns a verdict (pass, caution, block), a 0-100 risk score and per-finding rule, severity, object, location and a concrete fix hint. Security indicators, not a guarantee.

POST https://api.agentstools.dev/ci/scan

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
106 ms typical, 218 ms slowest 5%
Last check
47 min ago
Next check
any minute now

How to call it

POST https://api.agentstools.dev/ci/scan

Each call costs $0.02 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.agentstools.dev/ci/scan
content-type: application/json

{
  "content": "name: ci\non: pull_request_target\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n    - run: echo \"${{ github.event.issue.title }}\"\n",
  "format": "github-actions"
}

Parameters

ParameterTypeRequiredDescription
contentstringYesThe CI/CD config text to scan (workflow file)
formatstringNoCI system, or auto to detect from the content One of: auto, github-actions, gitlab-ci, circleci.

Example response

The provider's example. We can't check it without paying.

Example response, 40 lines
{
  "config_hash": "sha256:…",
  "counts_by_severity": {
    "critical": 2,
    "high": 1
  },
  "coverage": {
    "dimensions_flagged": [
      "injection",
      "triggers"
    ],
    "objects_by_kind": {
      "job": 1,
      "step": 2,
      "workflow": 1
    },
    "objects_scanned": 4,
    "rules_total": 27
  },
  "disclaimer": "Automated security indicators, not a guarantee.",
  "findings": [
    {
      "dimension": "injection",
      "evidence": "${{ github.event.issue.title }}",
      "fix_hint": "Bind it to an env var and quote the shell reference.",
      "path": "jobs.build.steps[1]",
      "provider": "github-actions",
      "reason": "An attacker-controllable expression is expanded inside a run: script — arbitrary code execution on the runner.",
      "resource": "build.step1",
      "rule_id": "gha.template_injection",
      "severity": "critical"
    }
  ],
  "format": "github-actions",
  "object": "ci_config",
  "object_count": 4,
  "risk_score": 100,
  "ruleset_version": "2026.07.24",
  "verdict": "block"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.agentstools.dev/ci/scan' \
  -H 'content-type: application/json' \
  --data-raw '{"content":"name: ci\non: pull_request_target\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n    - run: echo \"${{ github.event.issue.title }}\"\n","format":"github-actions"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.agentstools.dev/ci/scan' \
  -H 'content-type: application/json' \
  --data-raw '{"content":"name: ci\non: pull_request_target\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n    - run: echo \"${{ github.event.issue.title }}\"\n","format":"github-actions"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Fci%2Fscan&method=POST
const res = await pay("https://api.agentstools.dev/ci/scan", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "content": "name: ci\non: pull_request_target\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n    - run: echo \"${{ github.event.issue.title }}\"\n",
    "format": "github-actions"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.agentstools.dev/ci/scan",
        json={
            "content": "name: ci\non: pull_request_target\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n    - run: echo \"${{ github.event.issue.title }}\"\n",
            "format": "github-actions",
        },
    )
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
47 min agoPassed40287 ms$0.02
5 h agoPassed402126 ms$0.02
9 h agoPassed402218 ms$0.02
13 h agoPassed40285 ms$0.02
17 h agoPassed402121 ms$0.02
21 h agoPassed402124 ms$0.02
24 h agoPassed40222 ms$0.02
28 h agoPassed40283 ms$0.02
32 h agoPassed402132 ms$0.02
35 h agoPassed402114 ms$0.02
39 h agoPassed40277 ms$0.02
43 h agoPassed402106 ms$0.02
46 h agoPassed402249 ms$0.02
2 days agoPassed402125 ms$0.02
2 days agoPassed40293 ms$0.02