Index of every page on this site: llms.txt
All skills
oaustegard avatar

/hunting-failing-inputs

@b9eb735
Run it yourself

Finds inputs that make a parser, decoder or WGSL compute shader index out of bounds or overflow, using Z3. Use for "can this crash", "find an input that breaks this", or when fuzzing found nothing on code that reads untrusted bytes.

Use this Skill: https://skilld.dev/gh/oaustegard/claude-skills/hunting-failing-inputs

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

CHANGELOG.md

≈622 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Changelog

0.3.2 — 2026-11-16

Wrong-result bugs that no precondition expresses now route to the new building-property-tests skill. Added README.md, from which the release notes are built; 0.3.2's notes had shipped without one.

0.3.1 — 2026-11-13

The references were trimmed the same way (268 lines down to 172). The fuzz-comparison tables and the story of where the method came from were removed. The measurements they held: random testing found the Python bug after 1,581 inputs with strict and missed it in 200,000 without; JS, 4,413 with and none in 200,000 without; C libFuzzer, about 250 runs with ASan and none in 77M without; Go fuzzing, under 1 s with cap == len and none in 30 s without.

0.3.0 — 2026-11-13

SKILL.md trimmed to procedure only (about 230 lines down to 131). The intro, provenance and results numbers were removed: they live here and in the language references. Source: Google Developers blog, 2026-11-12, "Catch Go bugs that fuzzing misses with Gemini and a constraint solver".

0.2.0 — 2026-11-13

Renamed from hunting-go-bounds-panics and generalised from Go to Python, JavaScript/TypeScript, C and WGSL. Go is now one of five language references.

  • scripts/list_traps.py: lists traps per language using tree-sitter, and marks each as raises, silent or UB.
  • scripts/z3traps.py (was z3go.py): adds Python, JS and C predicates (py_index_oob, negative_index, slice_truncates, span_oob, js_int32) and literal rendering for each language. to_int is now widen, and slice_oob is now go_slice_oob.
  • Strict harnesses that make silent failures loud: strict.py, strict.mjs, and wgsl_guard.py, which instruments WGSL indexes into an _oob buffer.
  • examples/<lang>/ and scripts/selftest.py: a planted-bug example per language, rerun end to end, including the WGSL one on SwiftShader WebGPU.

0.1.0 — 2026-11-13

First version, as hunting-go-bounds-panics. Go bounds checks listed with -d=ssa/check_bce, modelled in Z3, and replayed with go test.

[0.3.1] - 2026-11-13

Other

  • creating-skill: no selling in skill bodies; hunting-failing-inputs: trim references

[0.3.0] - 2026-11-13

Other

  • hunting-failing-inputs: trim SKILL.md to the procedure

[0.2.1] - 2026-11-13

Other

  • hunting-failing-inputs: cut description to a trigger (870 to 245 chars)

[0.2.0] - 2026-11-13

Other

  • hunting-failing-inputs: generalise the Z3 trap hunt beyond Go

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5d3 checks · Risk SAFE
  • Gen Agent Trust Hub5d

    This skill provides a suite of static analysis tools and formal verification models using the Z3 constraint solver to detect out-of-bounds access and overflow bugs in various programming languages. It focuses on finding inputs that trigger silent failures or undefined behavior by replaying them in strict harnesses.

  • Socket5d

    1 alert: gptAnomaly

  • Snyk5d

    Risk: LOW · No issues

Signed by skilld at b9eb735. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "version": "0.3.2"
}

README badge

README badge for oaustegard/claude-skills/hunting-failing-inputs