Capabilities / Workflow

Ready to ship? One check for a repository and its domain

ship.check, version 1. $0.04 per call.

What it checks

The pre-launch check in one call. Give a zip or tar.gz of the repository, a domain, or both. Runs vulnerable and malicious dependencies (every lockfile), leaked secrets, GitHub Actions workflow risks and cryptography for the code, and email (SPF, DMARC, MTA-STS), TLS with post-quantum key exchange and HTTP security headers for the domain. Returns one report, deduplicated across tools, ranked by what to fix first. Run it before you say a task is done.

What it does not check

Every report lists what it did not check in coverage.not_checked.

A clean result means these checks found nothing. It does not mean the target is secure.

Input

FieldTypeRequiredMeaning
filefile idnoA .zip or .tar.gz of the repository
domainstring, up to 253 charsnoThe domain the app runs on, e.g. example.com
dkim_selectorslist of string, up to 63 chars (up to 10)no

Output: One findings report (schema security-findings/v1) merging every part; facts holds each part's facts.

Price

$0.04 per call. The most one run can cost is $0.04, so pass max_usd of at least 0.04. That amount is held while the run works; you pay the actual charge and the rest returns to your balance. Failed runs are free. Time limit: 300 seconds.

Call it

REST

# 1. Upload a zip or tar.gz (git archive includes only tracked files)
git archive --format=zip HEAD -o repo.zip
FILE=$(curl -s "https://api.brainbacked.com/v1/files?name=repo.zip" \
  -H "Authorization: Bearer $BRAINBACKED_API_KEY" \
  -H "content-type: application/zip" --data-binary @repo.zip | jq -r .id)

# 2. Run the check on it
curl -s https://api.brainbacked.com/v1/runs \
  -H "Authorization: Bearer $BRAINBACKED_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "capability": "ship.check",
    "input": {"domain":"example.com","file":"'"$FILE"'"},
    "max_usd": 0.04
  }'

MCP tool calls

upload_file {"name":"repo.zip","content_base64":"<base64 of the archive>"}

run {
  "capability": "ship.check",
  "input": {
    "domain": "example.com",
    "file": "<file_id from upload_file>"
  },
  "max_usd": 0.04
}

Data and network

Makes ordinary client connections to a host you name, the same traffic a browser sends. It runs no intrusive tests. Connects only to the host named in domain, on ports 443, 80. Each host is checked at most 5 times per 10 minutes and 30 times per day across all users. Hosts that opted out are refused.

What leaves our servers: api.osv.dev, www.cisa.gov, api.first.org (package names, versions, CVE ids); cloudflare-dns.com (DNS names); the named domain (TLS handshakes, one HTTPS and one HTTP request, the MTA-STS policy file). Uploaded files and result files are deleted after 7 days. Customer data is never used to train models.

License basis: Our code; Gitleaks (MIT), zizmor (MIT), OpenSSL (Apache-2.0); OSV data CC-BY-4.0.