Gbt Code Audit — Security skill for Claude Code
GBT V8 capability #211/341 · code_audit (security) — 代码安全审计:多阶段 + 机器可读 findings + 独立验证 + 可复现(蒸馏自 GitHub 周榜 #03 security-audit-skill,只取架构):五条规则(凭证面/注入面/破坏面/判据面)· findings 契约含 severity/证据/复现命令 · 两.
How to install Gbt Code Audit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gbtweilai-star/gbt-code-audit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gbt Code Audit does
GBT V8 capability #211/341 · code_audit (security) — 代码安全审计:**多阶段 + 机器可读 findings + 独立验证 + 可复现**(蒸馏自 GitHub 周榜 #03 security-audit-skill,只取架构):五条规则(凭证面/注入面/破坏面/判据面)· findings 契约含 severity/证据/复现命令 · **两路读法都命中才算确认**(否则 unverified)· 命中先分诊(豁免/占位/夹具/注释提及/检测器写法 一律不报)· `diff_audit` 只审改动行(PR/提交定向审查)。op=scan/diff_audit/findings/verify_finding/repro
Alternatives in Security
- Security Scan Report — Generated: 2026-04-10 20:48 UTC Skills scanned: 134 Total findings: 836 Critical: 32 High: 50 Safe skills: 100 18.1k ★
- /chain — Build an A→B→C exploit chain for higher severity and payout 927 ★
- Review Artifact — Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review 652 ★
README
code_audit
**One capability bit from GBT V8, packaged standalone.** No. 211 of 341, `security` domain (Security).
代码安全审计:**多阶段 + 机器可读 findings + 独立验证 + 可复现**(蒸馏自 GitHub 周榜 #03 security-audit-skill,只取架构):五条规则(凭证面/注入面/破坏面/判据面)· findings 契约含 severity/证据/复现命令 · **两路读法都命中才算确认**(否则 unverified)· 命中先分诊(豁免/占位/夹具/注释提及/检测器写法 一律不报)· `diff_audit` 只审改动行(PR/提交定向审查)。op=scan/diff_audit/findings/verify_finding/repro/report/verify/where
That description is copied verbatim from the registry. `tests/test_spec.py` pins it, so documentation drift fails the build instead of shipping quietly.
What this package actually is
It is the **contract** for one capability: its name, its parameters, the values it accepts, and whether it can change state that cannot be restored. It is not the implementation — that lives in the runtime this bit was extracted from.
So `run()` goes through a narrow `Backend` protocol, and the default backend is a stub that **says so**:
status="validated" backend="stub" data={"executed": false}
Never `status="ok"`. A stub that reports success is worse than no stub, because the caller stops looking for the real thing.
Install
git clone https://github.com/gbtweilai-star/gbt-code-audit.git
cd gbt-code-audit
python -m pip install -e ".[dev]"
Use
python -m gbt_code_audit info # capability card
python -m gbt_code_audit spec --json # machine-readable contract
python -m gbt_code_audit check --payload '{}'
python -m gbt_code_audit run --payload '{}'
Real `info` output from this machine:
code_audit (security) v1.0.0
----------------------------------------
代码安全审计:**多阶段 + 机器可读 findings + 独立验证 + 可复现**(蒸馏自 GitHub 周榜 #03 security-audit-skill,只取架
Related Skills
AWS Account Audit
Read-only AWS account hygiene and security audit. Scans IAM, S3, EC2, RDS, CloudTrail, encryption, and more. G
Vf Review
Parallel Salesforce code review of the diff against a base ref - dispatch the quality gate and security review
AWS Findings Triage Skill
Triage AWS Security Hub, GuardDuty, Inspector, and Config findings for the MacMountain account by real exploit
UX A11y
WCAG 2.1 AA accessibility audit plus common-courtesy checks beyond the spec. Produces findings grouped by WCAG
Audit Report
Aggregate audit checkpoints into the final report — executive summary, Scope Coverage, findings by severity, m
Audit
Run a read-only system audit and report findings by severity.
Related Agents
Cantina Judge
Validates smart contract security findings against Cantina audit platform standards. Determines severity using
Opus Security Auditor
Pre-deployment security gate and any adversarial security audit. Pinned to a specific high-capability model —
Audit Reporter
Deterministic report assembly — aggregates verdicts and findings, builds the Scope Coverage table, severity ro