Remediation of the ASVS 5.0 audit (report: asvs-audit-5.0-2026-07-23.md). The audit found 4/7 chapters clean at all levels; L1 is blocked by two chapters. This closes the actionable code gaps, the outstanding verification, and the security-documentation gaps.
Code fixes
Verification
Documentation
Out of scope here
- T-13-2 (
SLACK_WEBHOOK_URL rotation) — requires GitHub org secret-console access, not a code change; tracked separately.
All fixes keep the tool's existing behavior for valid inputs; each is covered by the existing go test ./... plus a new table test for the validator.
Remediation of the ASVS 5.0 audit (report: asvs-audit-5.0-2026-07-23.md). The audit found 4/7 chapters clean at all levels; L1 is blocked by two chapters. This closes the actionable code gaps, the outstanding verification, and the security-documentation gaps.
Code fixes
create ../../fooor/etc/foocurrently writes outside cwd, and the name is emitted aspackage.jsonnamewith no npm-name check. Add a sharedValidateProjectName(stdlibfilepath.IsLocal+^[a-z0-9][a-z0-9._-]*$, len ≤214), wired into the CLI arg path, the.path, and the TUI confirm step.cmd/bump.go) viaCheckRedirect.bumpcommand behind a//go:build bumptag so it is not compiled into the released binary; CI runs it with-tags bump.Verification
govulncheck ./..., remediate anything found, add a govulncheck step torun-tests.yml.Documentation
SECURITY.md— Go-dependency update & remediation policy, a "dangerous functionality" section (subprocess exec + npm fetch and their safeguards), and a risky-components note; add.github/dependabot.ymlfor thegomodecosystem.registry.npmjs.org,bump-only, 20s timeout, no retries) in CLAUDE.md/SECURITY.md.Out of scope here
SLACK_WEBHOOK_URLrotation) — requires GitHub org secret-console access, not a code change; tracked separately.All fixes keep the tool's existing behavior for valid inputs; each is covered by the existing
go test ./...plus a new table test for the validator.