trust_path
Trace paths where untrusted input reaches secrets, write permissions, OIDC tokens, environment variables, or AI agent actions in GitHub Actions workflows, including Gitea and Forgejo rules.
Instructions
trust-path: paths by which untrusted input reaches a secret, write permission, OIDC token, environment or AI agent action in GitHub Actions workflows (Gitea and Forgejo with forge).
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": {
"dir": "<dir>"
},
"name": "trust_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Repository directory | |
| ref | No | Read the workflows from git at this ref instead of the files | |
| forge | No | Whose workflow rules trust-path applies (default github; gitea and forgejo need trust-path 0.9.0 or later) |