r/coolgithubprojects • • 10h ago

Strand-deep

https://github.com/Biggest-Bee/Strand

The interprocedural analysis engine - formerly a standalone research binary - is now a published library crate (strand-deep 0.1.0 on crates.io) inside the Strand workspace, shared by both the CLI and GUI.

What it does: offline, build-free, multi-language bug/security analysis. For Python, JS/TS, Go, and Rust it builds a function-level call graph, computes interprocedural summaries via SCC-ordered fixpoint, and reports:

Taint - env vars, request data, CLI args, include_str!, file reads flowing into shell exec, SQL, eval sinks across function boundaries

Null/None/nil/Option - possibly-empty values reaching derefs/unwraps, with guard-clause narrowing

Resource leaks - acquired resources escaping without close (defer/RAII-aware per language)

Plus dynamic-import resolution (import()/require()/import_module) producing Heuristic graph edges, TOML-modeled sources/sinks/sanitizers per language, and honest blind-spot reporting for unresolvable calls.

How you get it:

cargo install strand-cli → strand deep <dir> (engine bundled as dependency)

cargo install strand-gui → "Deep scan..." button

Or as a library: strand_deep::analyze::analyze_project(root)

Github: https://github.com/Biggest-Bee/Strand

0 Upvotes

0 comments sorted by