Q
qira-dev/ShellMind-Guard
Compiler-grade multi-file security, business-logic & concurrency verifier in Rust.
updated 2026-11-19
View on GitHub ↗Link checked 2026-11-17 · HTTP 200 · opens the vendor's own site
- Star count
- 0 ★ · qira-dev/ShellMind-Guard · read from the GitHub search API · (checked 2026-11-19 20:00:48)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-16 · last seen 2026-11-20 · seen 5× · listed by 2 sources
- Score
- score 203 · 2 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: Open Source. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
qira-dev/ShellMind-Guard;first catalogued 2026-11-16;last seen 2026-11-20。There is no official certification or quality rating here — we record sources and dates only.README excerpt (English, untranslated) · Read the full README on GitHub →
# ShellMind Guard
Excerpted from the repository README (abridged)
Compiler-Grade Multi-File Security, Business-Logic & Concurrency Verifier
Traces cross-file taint and guard invariants via an $O(V + E)$ Guard-Set Lattice across 16 languages (TypeScript, JavaScript, Go, Python, Rust, PHP, Java, C#, Kotlin, Swift, Dart, C, C++, Ruby, Bash/Shell, and Terraform/HCL)—then mathematically proves exploitability inside an unprivileged Linux Bubblewrap (bwrap) sandbox with zero AI API cost.
Architecture · 6-Layer Engine · Quickstart · AI Agent MCP · Benchmarks · Blueprint
## Why ShellMind Guard?
Modern software—especially high-velocity, AI-assisted full-stack codebases—suffers from vulnerabilities that span multiple files and execution layers: a route in routes/checkout.ts delegates to services/ledger.ts, which mutates a balance in db/queries.ts without an authentication middleware, ownership filter, or SELECT ... FOR UPDATE transaction lock.
Conventional security tools fail on these bugs in two predictable ways:
1. Regex / Single-File SAST Scanners lack cross-file call-graph and middleware-order semantics, burying engineering teams under hundreds of false positives while missing multi-hop business-logic and race-condition flaws.
2. LLM-Only Code Scanners burn tens of thousands of tokens per scan, hallucinate findings on sanitized paths, cannot execute deterministic data-flow proofs, and cannot verify whether a concurrency bug is actually exploitable at runtime.
ShellMind Guard solves both problems with a deterministic, systems-engineered architecture:
Two-Phase Incremental Ingestion (BLAKE3 + SQLite WAL): Fingerprints 13,000+ files at >1 GB/s, caching per-file Tree-sitter AST summaries in SQLite while always re-linking the global cross-file call graph in RAM ( /state.db)"]
B1 --> B2 --> B3
end
subgraph S2["Stage 2: Polyglot AST & O(V+E) Guard-Set Lattice (sh-graph)"]
C1["Rayon Parallel Tree-sitter AST (16 Languages)\nTS/JS · Go · Python · Rust · PHP · Java · C# · Kotlin · Swift · Dart · C/C++ · Ruby · Bash · HCL"]
C2["Cross-File Module, Header & IaC Linker\ntsconfig paths · barrels · Go/Java/Kotlin/C#/PHP/Dart/Ruby/Bash/C++ headers · Terraform modules"]
C3["6-Layer Guard-Set Lattice & Sink-Typed Bitmask Taint\nG(v) = ⋂ (G(p) ∪ EdgeGuards(p → v))"]
C1 --> C2 --> C3
end
subgraph S3["Stage 3: OS-Isolated Runtime Prover (sh-sandbox)"]
D1["Linux Bubblewrap (/usr/bin/bwrap)\n--unshare-all · --ro-bind · --tmpfs · PGID Reaper"]
D2["12-Way Barrier-Synchronized Prober\nAuth Bypass, Cross-Tenant IDOR & Last-Byte Sync Race"]
D1 --> D2
end
subgraph S4["Stage 4: Actionable Outputs (sh-report / sh-ai)"]
E1["SARIF 2.1.0 + Confidence\nGitHub Code Scanning"]
E2["Interactive HTML/SVG\nMulti-File Witness Graph"]
E3["Minimal Patch Prompt ( S1 --> S2
S2 -->|"Static Findings"| S4
S2 -->|"--boot-cmd"| S3
S3 -->|"PROVEN / MITIGATED"| S4
### Mathematical Formulation: The $O(V + E)$ Guard-Set Lattice
Instead of enumerating all simple paths between routes and sinks (which degrades to $O(V!)$ on cyclic call graphs), ShellMind Guard formulates security invariant verification as a forward data-flow monotone lattice over the finite universe of security guards $\mathcal{U} = \{\text{Auth}, \text{TxLock}, \text{OwnershipCheck}, \text{SqlSanitizer}, \text{CmdSanitizer}, \text{PathSanitizer}, \text{SsrfSanitizer}, \text{XssSanitizer}, \text{CsrfProtection}\}$ paired with a sink-typed bitmask taint semilattice (preventing cross-sink sanitizer confusion) and explicit finding confidence grading (PROVEN, CONFIRMED, HEURISTIC):
Traces cross-file taint and guard invariants via an $O(V + E)$ Guard-Set Lattice across 16 languages (TypeScript, JavaScript, Go, Python, Rust, PHP, Java, C#, Kotlin, Swift, Dart, C, C++, Ruby, Bash/Shell, and Terraform/HCL)—then mathematically proves exploitability inside an unprivileged Linux Bubblewrap (bwrap) sandbox with zero AI API cost.
Architecture · 6-Layer Engine · Quickstart · AI Agent MCP · Benchmarks · Blueprint
## Why ShellMind Guard?
Modern software—especially high-velocity, AI-assisted full-stack codebases—suffers from vulnerabilities that span multiple files and execution layers: a route in routes/checkout.ts delegates to services/ledger.ts, which mutates a balance in db/queries.ts without an authentication middleware, ownership filter, or SELECT ... FOR UPDATE transaction lock.
Conventional security tools fail on these bugs in two predictable ways:
1. Regex / Single-File SAST Scanners lack cross-file call-graph and middleware-order semantics, burying engineering teams under hundreds of false positives while missing multi-hop business-logic and race-condition flaws.
2. LLM-Only Code Scanners burn tens of thousands of tokens per scan, hallucinate findings on sanitized paths, cannot execute deterministic data-flow proofs, and cannot verify whether a concurrency bug is actually exploitable at runtime.
ShellMind Guard solves both problems with a deterministic, systems-engineered architecture:
Two-Phase Incremental Ingestion (BLAKE3 + SQLite WAL): Fingerprints 13,000+ files at >1 GB/s, caching per-file Tree-sitter AST summaries in SQLite while always re-linking the global cross-file call graph in RAM ( /state.db)"]
B1 --> B2 --> B3
end
subgraph S2["Stage 2: Polyglot AST & O(V+E) Guard-Set Lattice (sh-graph)"]
C1["Rayon Parallel Tree-sitter AST (16 Languages)\nTS/JS · Go · Python · Rust · PHP · Java · C# · Kotlin · Swift · Dart · C/C++ · Ruby · Bash · HCL"]
C2["Cross-File Module, Header & IaC Linker\ntsconfig paths · barrels · Go/Java/Kotlin/C#/PHP/Dart/Ruby/Bash/C++ headers · Terraform modules"]
C3["6-Layer Guard-Set Lattice & Sink-Typed Bitmask Taint\nG(v) = ⋂ (G(p) ∪ EdgeGuards(p → v))"]
C1 --> C2 --> C3
end
subgraph S3["Stage 3: OS-Isolated Runtime Prover (sh-sandbox)"]
D1["Linux Bubblewrap (/usr/bin/bwrap)\n--unshare-all · --ro-bind · --tmpfs · PGID Reaper"]
D2["12-Way Barrier-Synchronized Prober\nAuth Bypass, Cross-Tenant IDOR & Last-Byte Sync Race"]
D1 --> D2
end
subgraph S4["Stage 4: Actionable Outputs (sh-report / sh-ai)"]
E1["SARIF 2.1.0 + Confidence\nGitHub Code Scanning"]
E2["Interactive HTML/SVG\nMulti-File Witness Graph"]
E3["Minimal Patch Prompt ( S1 --> S2
S2 -->|"Static Findings"| S4
S2 -->|"--boot-cmd"| S3
S3 -->|"PROVEN / MITIGATED"| S4
### Mathematical Formulation: The $O(V + E)$ Guard-Set Lattice
Instead of enumerating all simple paths between routes and sinks (which degrades to $O(V!)$ on cyclic call graphs), ShellMind Guard formulates security invariant verification as a forward data-flow monotone lattice over the finite universe of security guards $\mathcal{U} = \{\text{Auth}, \text{TxLock}, \text{OwnershipCheck}, \text{SqlSanitizer}, \text{CmdSanitizer}, \text{PathSanitizer}, \text{SsrfSanitizer}, \text{XssSanitizer}, \text{CsrfProtection}\}$ paired with a sink-typed bitmask taint semilattice (preventing cross-sink sanitizer confusion) and explicit finding confidence grading (PROVEN, CONFIRMED, HEURISTIC):
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/qira-dev-shellmind-guard/)
- Source
- github · https://github.com/qira-dev/ShellMind-Guard
- Browse by field
- Open source
- Listed by
- 2 independent sources
- added
- today
More entries
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.