Strict Toolchain Audit
Inspect build and CI configuration for the strict-toolchain rule. This maps curl Practice 13 into a reusable AIWG security-engineering audit.
Checks
- C/C++: compiler flags include
-Wall,-Wextra,-Werror,-pedantic; recommended hardening flags are reported when absent. - Rust:
cargo clippy -- -D warningsor equivalent CI gate. - Go:
go vet ./...andstaticcheck ./...fail CI. - Python:
ruff checkandmypystrictness are configured. - TypeScript:
strict: trueandnoUncheckedIndexedAccess: true.
Gradual Adoption
Legacy projects may keep a baseline, but the audit must confirm that new warnings fail the build. A baseline without a ratchet is reported as a finding.
References
agentic/code/frameworks/security-engineering/rules/strict-toolchain.mdagentic/code/frameworks/security-engineering/skills/sanitizer-in-ci/SKILL.md