Repository navigation
Conversation
Companion to /cso. While /cso audits and reports (read-only), /fortress audits AND fixes - every finding gets an autonomous fix committed atomically. Covers 90 security domains with 1001 attack vectors: - Injection (SQL, NoSQL, command, template, SSTI, XML, serialization) - Client-side (XSS, CSRF, clickjacking, prototype pollution) - Authentication (JWT, OAuth, sessions, credential management) - Authorization (IDOR, mass assignment, path traversal, CORS) - Cryptography (weak hashing, hardcoded keys, missing TLS) - SSRF (basic, blind, DNS rebinding, cloud metadata) - API security (BOLA, GraphQL, rate limiting, verbose errors) - AI/ML (prompt injection, RAG poisoning, tool abuse, LLM output handling) - Infrastructure (cloud IAM, containers, IaC, CI/CD, supply chain) - Business logic (race conditions, payment bypass, workflow bypass) - Secrets (git history archaeology, env files, CI logs, Docker layers) - Configuration (debug mode, security headers, SRI, server disclosure) - Plus 50+ more domains covering monitoring, compliance, DNS, privacy, webhooks, microservices, edge computing, and defensive tooling gaps Key differences from /cso: - /cso is read-only. /fortress finds AND fixes. - Each fix is an atomic commit with vector number in the message. - Scored report (0-100) with before/after comparison. - Parallel verification and fixing via Agent sub-tasks. - Posture checklist for non-code-scannable domains. - Trend tracking across runs via .gstack/fortress-reports/ Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Owner
|
Thanks @andreycpu — the auto-fix concept is genuinely interesting. But If you want to contribute here, the highest-value path is adding a Closing. Happy to review a |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
/fortress, a companion to/cso. While/csoaudits and reports (read-only),/fortressaudits AND fixes - every finding gets an autonomous fix committed atomically.--scan-only,--fix-only,--diff,--domain N,--critical-onlyCoverage includes:
Injection (SQL, NoSQL, command, template, SSTI, XML, serialization), Client-side (XSS, CSRF, clickjacking, prototype pollution), Authentication (JWT, OAuth, sessions), Authorization (IDOR, mass assignment, path traversal, CORS), Cryptography, SSRF, API security (BOLA, GraphQL), AI/ML (prompt injection, RAG poisoning, tool abuse), Infrastructure (cloud IAM, containers, IaC, CI/CD, supply chain), Business logic, Secrets management, Configuration, Monitoring gaps, and 50+ more domains.
Why this belongs in gstack:
/csocatches vulnerabilities./fortresscatches AND fixes them. Together they cover both workflows - audit mode for visibility, fortress mode for action. The 1001-vector taxonomy is a serious reference that makes every gstack-powered codebase more secure.Test plan
bun testpasses (skill validation)bun run gen:skill-docsincludes fortress in output/fortress --scan-onlyproduces findings report on a test repo/fortresson a repo with known vulnerabilities finds and fixes them/fortress --diffscans only changed files🤖 Generated with Claude Code