CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

native-code-review

Review C, C++ and Rust source for memory-safety bugs: out-of-bounds reads and writes, integer overflow or truncation that feeds a size, use-after-free and double free, format strings, uninitialized memory, Rust unsafe soundness, FFI boundaries, parsers of untrusted input, and secrets left in memory. Also checks compiler hardening flags and recommends sanitizers, and reports in the shared findings.json format. Use when the user mentions 'native code review,' 'C code review,' 'C++ security review,' 'memory safety review,' 'buffer overflow,' 'use-after-free,' 'double free,' 'format string bug,' 'integer overflow,' 'uninitialized memory,' 'unsafe Rust,' 'is this unsafe block sound,' 'FFI boundary,' 'Miri,' 'AddressSanitizer,' 'checksec,' 'FORTIFY_SOURCE,' 'hardening flags,' 'explicit_bzero,' or 'zeroize.'

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An unusually strong workflow skill: concrete commands at every step, a verification-first closing step with explicit refutation and validation gates, calibration examples that define the evidence bar, and clean separation of overview from one-level-deep reference files that all exist. The only cost is mild redundancy in repeating the build-consent rule and the use-cases already covered by the description.

DimensionReasoningScore

Conciseness

The body is dense and expert-oriented — it assumes Claude knows what memcpy, sanitizers and FFI are, and spends its tokens on skill-specific method (the boundary table, 're-derive the bound from the worst input the code accepts, from every caller, not from the test vectors,' severity calibration, fingerprint scheme). It is not a 5 because a few things could be trimmed: the user-consent rule for builds/tests is stated three times (Authorization, Step 7, Boundaries), and the 'When to use' section partially repeats the frontmatter description. It is clearly above the 3 anchor since no section is padding or concept-teaching.

4 / 5

Actionability

Guidance is fully executable throughout: scoping commands (`git ls-files | grep -cE '\.(c|h)$'...`), binary checks (`readelf -lW ... | grep -E 'GNU_RELRO|GNU_STACK'`), sanitizer build flags (`-fsanitize=address,undefined -fno-sanitize-recover=all -g -O1`), Miri invocation (`cargo +nightly miri test <test_name>`), validation (`node references/validate-findings.mjs findings.json`), plus concrete fingerprint examples, an ext-keys table, and a complete report template. All named scripts exist in references/, and the examples cover the common cases (C parser, syslog format string, Rust set_len) — matching the 5 anchor.

5 / 5

Workflow Clarity

The 8-step workflow (Scope → Map surface → Hunt by bug class → Rust unsafe → Secrets → Hardening → Dynamic confirmation → Verify, then record) is clearly sequenced with explicit validation checkpoints: a refutation pass before anything is 'confirmed' ('re-open each cited line, re-derive the bound or lifetime from every caller'), a hard bar for confirmed ('a reachable path from untrusted input... or a sanitizer or Miri reproduction'), and a validate-findings.json gate before rendering the report. Checklists (unsafe inventory, boundary table) and diff-specific guidance ('plus every caller that now passes new input into an old memory operation') round out the 5 anchor's feedback loops and checklists.

5 / 5

Progressive Disclosure

SKILL.md is a clear overview that pushes detail to well-signaled, one-level-deep references that all exist: search patterns and the per-class catalog → references/bug-classes.md, the unsafe review method → references/rust-unsafe-checklist.md, full flag sets and sanitizer limits → references/hardening-and-sanitizers.md, record format and severity calibration → findings-format.md and severity-calibration.md. Each reference is introduced with a description of what it contains ('The catalog with patterns, false-positive notes and CWE ids is in...'), and what stays inline (workflow, severity principles, report template) belongs inline. No nesting beyond one level; navigation is easy.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A model description: it enumerates concrete, comprehensive capabilities in third-person voice, adds secondary capabilities (hardening flags, sanitizer recommendations, output format), and closes with an explicit 'Use when' clause containing natural trigger phrases from colloquial to expert. No fluff, no over-claims, and every phrase is load-bearing.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with comprehensive coverage: 'out-of-bounds reads and writes, integer overflow or truncation that feeds a size, use-after-free and double free, format strings, uninitialized memory, Rust unsafe soundness, FFI boundaries, parsers of untrusted input, and secrets left in memory' plus 'checks compiler hardening flags and recommends sanitizers, and reports in the shared findings.json format.' Every capability is a specific, checkable action, not generic language — this matches the 5 anchor ('multiple specific concrete actions; comprehensive coverage') and exceeds the 4 anchor, which expects minor coverage gaps.

5 / 5

Completeness

It explicitly answers both questions: 'what' is the enumerated review capabilities plus hardening-flag checks and findings.json reporting, and 'when' is the explicit 'Use when the user mentions...' clause with concrete trigger phrases. This matches the 5 anchor exactly ('clearly and explicitly answers both what AND when with concrete trigger phrases') and is well above the 4 anchor, whose 'when' is less specific.

5 / 5

Trigger Term Quality

The trigger list covers natural phrasings users would actually say, including synonyms and tool/API names: 'native code review,' 'C code review,' 'C++ security review,' 'memory safety review,' 'buffer overflow,' 'use-after-free,' 'double free,' 'format string bug,' 'integer overflow,' 'uninitialized memory,' 'unsafe Rust,' 'is this unsafe block sound,' 'FFI boundary,' 'Miri,' 'AddressSanitizer,' 'checksec,' 'FORTIFY_SOURCE,' 'hardening flags,' 'explicit_bzero,' 'zeroize.' Coverage includes both colloquial requests ('is this unsafe block sound') and expert keywords, matching the comprehensive-with-synonyms 5 anchor rather than the 'a few natural terms missing' 4 anchor.

5 / 5

Distinctiveness Conflict Risk

It carves a clear niche — memory safety in C/C++/Rust — with distinct triggers ('Miri,' 'unsafe Rust,' 'checksec,' 'explicit_bzero,' 'FORTIFY_SOURCE') that adjacent skills (web-app audit, crypto audit, dependency audit) would not claim. Minimal conflict risk, matching the 5 anchor ('clear niche with distinct triggers'); the 4 anchor's 'minor overlap risk with closely related skills' does not apply because the bug classes and tools named are unique to native memory-safety review.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

Total

15

/

16

Passed

Repository

briiirussell/cybersecurity-skills

Path

skills/native-code-review/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.