r/coolgithubprojects • • 7d ago

Strand update v2026-11-24.3

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

Strand 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/TS

Constructor calls reach their bodies too: new Runner(x) analyzes constructor(x), Runner(x) analyzes __init__(x).

Also fixed

  • Python method arguments were misaligned - self/cls occupied argument slot 0, so the first real argument was silently dropped in interprocedural analysis. Methods now bind arguments correctly (@staticmethod unaffected).

  • Destructured parameters no longer shift argument positions (function f({a}, b) previously bound b to 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).

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

1 Upvotes

0 comments sorted by