gstack/cso
andreycpu e2d0a88d61 feat(cso): add --fix flag with 9 provably safe auto-fixes
Adds /cso --fix which runs the full audit then applies a curated set
of fixes where the correct change is deterministic and the risk of
breakage is near-zero.

Fix catalog:
- FIX-01: .gitignore secret hardening (.env, *.pem, *.key, etc.)
- FIX-02: Create .gitleaks.toml baseline if absent
- FIX-03: npm audit fix (non-breaking patches only, no --force)
- FIX-04: rejectUnauthorized: false → true (Node.js TLS bypass)
- FIX-05: verify=False → True (Python requests TLS bypass)
- FIX-06: InsecureSkipVerify: true → false (Go TLS bypass)
- FIX-07: httpOnly: false → true on session cookies
- FIX-08: secure: false → true on session cookies
- FIX-09: DEBUG=true → false in production env files

Each fix includes an explicit "Safe because" rationale. --fix is
combinable with any existing scope flag (--code, --infra, --diff, etc.)
and runs as Phase 15 after the report is complete. No changes to
existing audit phases.
2026-04-17 12:30:21 -07:00
..
ACKNOWLEDGEMENTS.md feat: /cso v2 — infrastructure-first security audit (v0.11.6.0) (#384) 2026-03-23 06:57:22 -07:00
SKILL.md feat(cso): add --fix flag with 9 provably safe auto-fixes 2026-04-17 12:30:21 -07:00
SKILL.md.tmpl feat(cso): add --fix flag with 9 provably safe auto-fixes 2026-04-17 12:30:21 -07:00