本文へ移動
cccskills
無料GitHub で公開

spec-implementation-review

Passive, citation-grounded review of security-relevant specifications, protocols, standards, APIs, and implementations. Use when a reviewer must trace external preconditions and invariants into source code without treating a cited claim as proof of a vulnerability.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Spec-Implementation Review

Use this skill when security depends on a protocol property, formal precondition, API contract, standard, parser grammar, authorization rule, sandbox boundary, distributed-systems guarantee, or optimization condition.

Division of labor: deterministic repo/diff candidate scans live in code-security-review; citation-grounded spec/protocol invariant tracing lives here.

Ground Rules

  • Work passively unless the user explicitly authorizes build, test, shell, network, browser, or mutation actions.
  • Use primary sources whenever possible: standards, specifications, original papers, official API documentation, source repositories, security advisories, or maintainer statements. Record a stable URL, version/commit/section, and concise claim.
  • A citation establishes what the source requires; source code establishes what the implementation does. Do not let either substitute for the other.
  • Keep findings generic and evidence-backed. A mismatch is a Code Review Candidate until independent validation establishes impact.
  • Do not copy target-specific advisories, vulnerability paths, payloads, or hidden benchmark facts into reusable prompts, skills, or candidate-visible eval material.

Workflow

  1. Define the contract boundary. Name the Subject, implementation version, relevant modules, caller/callee boundary, and any fast or fallback paths.
  2. Extract requirements. For each source claim, record the exact invariant or precondition, source URL/version/section, and why the implementation relies on it.
    • Track unspecified behavior separately as an open research question. Inspect SDK defaulting, serialization, retries, fallbacks and error handling to identify a discriminating comparison with raw API behavior. Strange errors can reveal an unexpected implementation path; check configuration, version and a control before attributing security impact.
    • For composed security integrations, name the effective principal and policy input at each hop. Compare what each layer guarantees with what its caller assumes. Key policies, grants, identity policies, delegated services, workload identities and admission controls should be examined only where that target actually uses them.
  3. Trace to code. Link each requirement to source files, symbols, guards, tests, and call paths. Inspect both optimized/delegated and slow/fallback behavior.
  4. Classify each invariant. Use exactly one status:
    • enforced: a reachable guard or construction establishes the requirement on every relevant path.
    • partially_enforced: enforcement exists but a relevant caller, fast path, fallback, error path, or input shape is not covered.
    • not-located: the review found no implementation evidence establishing the requirement; this is not proof that it is absent.
    • not-applicable: the cited requirement does not apply to this version, boundary, or use case; explain why.
  5. Create candidates conservatively. Create a passive candidate only for partially_enforced or not-located when a cited requirement conflicts with concrete implementation evidence. Include the counterexample shape in abstract terms, not an exploit recipe.
  6. Queue independent validation. Require a source-to-guard trace, a control case, and a clean-environment oracle before promotion. Active reproduction remains approval-gated.
  7. Persist the review. Record notable invariant statuses and candidates as Research Observations via security-observation-intake, and persist cited source excerpts and the invariant matrix as Artifacts through the Evidence Interface (src/server/evidence/artifact-service.ts). Chat output alone evaporates with the turn; cited claims must survive it.

Output

Return:

  • Scope: Subject, version/commit, sources, and allowed actions.
  • Invariant Matrix: invariant, primary citation, implementation evidence, status, and confidence.
  • Module Contract Cards: inputs, assumptions, guarantees, delegated responsibilities, optimized/fallback paths, and evidence artifacts.
  • Composition Tasks: cross-module assumptions that need source-to-guard tracing.
  • Candidates: only evidence-backed mismatches, marked draft with validation requirements.
  • No-Finding Coverage: requirements traced and enforced, plus limitations.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Plan and use user-consented local camera and microphone observations for an explicitly authorized physical target. Use when a capture can establish a bounded physical-state observation such as whether a test fixture changed state, an instrument reading changed, or equipment noise changed relatively.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Plan vulnerability research using conventional bug-hunting and pentest stage names, specialty playbooks, and a research-hypothesis-experiment loop. Use when designing a bug bounty workflow, selecting tools and strategies, building a decision tree, or turning a target/scope into a staged hunting plan.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Passive code-review lane for authorized repositories, local checkouts, uploaded source archives, and diffs. Use when the security research agent needs deterministic candidate discovery before expensive AI investigation, scoped PR-style review, append-only evidence records, or independent revalidation of code findings.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Run independent, task-matched expert attempts, select a base, and synthesize the strongest result.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Select established CTF and security-research tools for authorized artifact triage, web inspection, reversing, crypto, forensics, networking, and exploit validation. Use when a user provides a CTF-style tool catalog, asks which tools to use, or needs safe usage instructions for common offensive/security tools.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

diagnose

無料

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

justsml のスキルをすべて見る

このスキルの問題を報告する