Scan a GitHub repository (MCP server, agent tool or package) BEFORE installing it: risky install scripts, secret stealing, hidden code, poisoned tool descriptions
scan_github_repo[Agent Shield] Reads the repository's manifests and up to 25 main source files and flags: install scripts that download or run code, reading SSH keys/.env/credential files, dumping all environment variables, sending data to webhooks or paste sites, hard-coded IPs, eval of decoded code, large encoded blobs, recursive deletes, and MCP tool descriptions with prompt injection or tool poisoning. Adds repo age, stars, license and archive status. Returns grade A-F, capabilities and findings with file:line. Not charged if the repo is private, missing or GitHub is busy. Price 0.01 USDC per call; first 3 calls per day free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "scan_github_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/name or https://github.com/owner/name (optionally /tree/branch) | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. |