third-party-code-vetting
Vet third-party code before it enters the repo or runs on a host — upstream patches, vendored scripts, installer snippets, peer-submitted cron scripts. Use when integrating external code of any kind.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- third-party-code-vetting
- version
- 1.0.0
- triggers
- [ "vet third-party code", "external code review", "vendored script", "upstream patch" ]
- description
- Vet third-party code before it enters the repo or runs on a host — upstream patches, vendored scripts, installer snippets, peer-submitted cron scripts. Use when integrating external code of any kind.
03 SKILL.md 正文
Third-Party Code Vetting
Vet external code before it enters the repo or runs on a host: upstream patches, vendored scripts, installer snippets, cron scripts from peers, MCP server code. The bar is provenance + behavior, not a glance at the diff.
Checklist
- Source integrity — where did it come from? Commit hash, signed release, PR number, or named peer. Reject code with no provenance.
- Read the whole file — never vet from a diff summary or a description. A 200-line upstream patch shipped on an unexamined premise is the classic failure (2026-08-03).
- Static scan —
adversarial-verify.py --file <script> --level A4 --gateon any scripts;secret-leak-detector.shfor PII/creds. - Behavior check — run it with boundary inputs in a sandbox: tmp workdir, no network, no sudo. Attack the implicit assumptions (Technique F), don't just execute the happy path.
- Dependency check — stdlib-only unless declared; no silent network calls; no writes outside the declared scope.
- Persistence check — what does it install or change? (crons, systemd units, config files, auto-start hooks). Reject silent persistence; require explicit opt-in.
- License — compatible with the target repo (MIT for steadfaste-fleet).
Decision
| Finding | Decision |
|---|---|
| No provenance | REJECT |
| Injection / exfiltration / hidden persistence | REJECT |
| Unaudited runtime network access | REJECT or fix + WARN |
| Provenance + clean scan + sandbox pass | APPROVE |
| Minor issues (paths, PII, naming) | APPROVE after fix, note it |
Verify after approval
- Commit with
-Fmessage citing the source (hash/PR/author) - Deploy and run the real invocation (doctor Script run evidence)
- Never
--no-verifyto ship a vet-rejected change
04 同仓库更多 Skills
macbook-linux-maintenance
Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.
governance-regression-triage
Triage a host's governance issues: what changed.
enforcement-immutability
Use when enforcement files lose their immutable flag.
steadfaste-fleet-repo-deploy
Use when committing to the steadfaste-fleet repo.
steadfaste-fleet-maintenance
Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.
fleet-preflight
DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its "Repo-Specific Pre-Flight" section covers git search, Hermes boundary, and deployment verification.