r/coolgithubprojects • u/B33TheCoder • 1d ago
Strand update v2026-11-24.3
github.comStrand v2026-11-24.3 - release notes
What's new
strand deep now understands object-oriented code. Previously the analyzer could only follow method calls made through this/self inside a class body - calls like runner.run(cmd) on an object created elsewhere were invisible, which meant taint, null, and leak bugs inside methods went unreported in most real-world OO code.
Now the analyzer tracks where objects come from:
runner = Runner() # analyzer notes: runner is a Runner
runner.run(user_input) # resolves into Runner.run, checks its body
const runner = new Runner();
runner.run(process.env.X); // same, in JS/TSConstructor calls reach their bodies too: new Runner(x) analyzes constructor(x), Runner(x) analyzes __init__(x).
Also fixed
- Python method arguments were misaligned -
self/clsoccupied argument slot 0, so the first real argument was silently dropped in interprocedural analysis. Methods now bind arguments correctly (@staticmethodunaffected). - Destructured parameters no longer shift argument positions (
function f({a}, b)previously boundbto the wrong slot; same class of fix for Python*args/**kwargs).
Quality
- 60 analysis-engine tests including new regression coverage for all of the above
- Fully offline, no type inference required - resolution is syntactic and scope-aware
cargo install strand-cli picks this up automatically (strand-deep 0.1.3).