rtwsvj/skill-switch audit
审计 AI agent skills 与 MCP/agent 配置中的危险模式,可上传 SARIF 到 GitHub code-scanning。
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | 要审计的路径(默认仓库根) | no | . |
| args | 额外 audit 参数;引号和反斜杠仅用于 argv 分组,不执行 shell 展开。 | no | --configs |
| version | 精确的 skill-switch npm 版本;默认与本 Action release 固定一致。 | no | 0.10.0 |
| node-version | 运行所用的 Node 版本 | no | 20 |
| format | 输出格式:human | json | sarif | github。 | no | sarif |
| output | 仓库内的相对输出路径(非 github 格式使用) | no | skill-switch.sarif |
| upload-sarif | format=sarif 时是否把结果上传到 GitHub code-scanning | no | true |
| fail-on-findings | 审计返回非零退出码时是否让本步骤失败 | no | true |
Outputs
| name | description |
|---|---|
| exit-code | skill-switch audit 的退出码(0=无阻断) |