falsepass_upstream
Finds an environment's GitHub source repository, compares audited files with its default branch, and reports licence, last push, open pull requests, and recent external merges.
Instructions
Find the environment's source repository on GitHub (repositories the package names in its project URLs or source first, then code search for the package name and for its most distinctive class and function names), compare every audited file with the repository's default branch, and report what a contributor needs: default branch, licence, last push, open pull requests, how many recent merges came from outside. repo (owner/name) checks one repository instead of searching. Needs the gh CLI, logged in.
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": {
"env": "<env>"
},
"name": "falsepass_upstream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | the audit's name as falsepass_init returned it: the folder under workdir/audits/ | |
| repo | No | owner/name: check this repository instead of searching | |
| limit | No | candidate repositories to compare (default 5) | |
| workdir | No | the folder whose audits/ holds the audits (default: the current directory) | . |