auditRepoDependencies
Scans repository manifests and queries the OSV database to identify vulnerable dependencies, delivering a security audit equivalent to the Dependencies tab without requiring the UI flag.
Instructions
Scan a gittr bridge repo’s manifests (package.json, yarn.lock, go.mod, …) and query OSV via POST /api/security/audit. Same data as the gittr Dependencies tab. Does not require the website audit UI flag.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "auditRepoDependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Default main | |
| repoId | No | ||
| packages | No | Optional pre-parsed packages {ecosystem,name,version,direct?,precision?} | |
| ownerPubkey | No |