r/coolgithubprojects • u/B33TheCoder • 4d ago
Strand update v2026-11-25.1 - v2026-11-25.5
github.comStrand update - deep analysis engine expansion + security CI
strand deep - major analysis upgrade
The interprocedural engine now resolves nearly every statically-knowable receiver pattern in Python and JS/TS:
- Constructor seeds -
x = new Runner()/x = Runner()letsx.run()reachRunner.run;self.x = Repo()/this.xattribute seeds cover the dependency-injection pattern - Type inference - params and returns get types only when every observed callsite agrees (
drive(Runner(), env)→rresolves insidedrive); disagreement stays unresolved, never guessed. Factory returns work too:make()always returningRunnerseedsx = make() - Call-result receivers -
getRunner().run(x)andnew C().m()resolve through the callee's inferred return type - Container elements -
rs = [Runner()]orrs[i] = Runner()makesrs[0].run()resolve - Inferred types chain through a bounded fixpoint, so
factory → wrapper → methodflows resolve
Bug fixes
- Python method calls no longer misalign arguments (
selfwas occupying arg slot 0) - JS/TS destructured params and
*args/**kwargs/spread no longer shift positions new C()expressions now enter the JS callgraph - fixes nondeterministic missing findings (was hash-order dependent, ~40% flake rate)
Rust analysis
mem::forget,Box::leak,ManuallyDrop::newnow report Leak findings instead of being silently suppressed by RAII rules
Supply-chain trust
- CI now runs
cargo audit(RustSec advisories) +cargo deny(licenses, bans, sources policy viadeny.toml) on every push - Self-scan job dogfoods
strand scanon the repo itself - Plugin Scanner workflow added for the HOL registry (with README badge)
- Fixed a real
urlcrate vulnerability (RUSTSEC-2026-0592) found by the new audit job
Numbers: 71 engine tests, 5 releases (v2026-11-24.1 through .5), strand-deep 0.3.0 on crates.io. cargo install strand-cli picks it all up.
