This repository is early-stage and design-first. Contributions should preserve the core product-security boundary: defensive, authorized analysis of software you own or are permitted to assess.
- Framework adapters
- Detection heuristics
- Documentation improvements
- False-positive reduction ideas
- Test fixtures for real-world application patterns
- Output/reporting improvements
- Do not add exploit automation, payload generation, credential theft, bypass instructions, or live attack workflows.
- Prefer evidence-bound findings over unsupported vulnerability claims.
- Keep outputs actionable for application developers and product-security reviewers.
- Add fixtures for new detection behavior where practical.
The current repository contains the initial SessionScope Rust CLI, detector, classifier, reporter, fixture, and release-automation workspace for the v0.1.0 release line.
Install the stable Rust toolchain from https://rustup.rs/. The workspace uses
the Rust 2024 edition and builds the sessionscope CLI binary from
crates/sessionscope-cli.
Run the same checks locally that CI runs:
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
cargo check --workspace
cargo test --workspace --all-targetsRegenerate committed JSON report snapshots after intentional output changes:
SESSIONSCOPE_UPDATE_JSON_SNAPSHOTS=1 cargo test -p sessionscope-testing --test json_snapshotsRun the CLI during development:
cargo run -p sessionscope-cli -- --help
cargo run -p sessionscope-cli -- version
cargo run -p sessionscope-cli -- scan --path . --format markdownCLI commands should remain deterministic, offline-only, and safe to run on source trees. Do not print raw tokens, private keys, bearer strings, cookie values, or other secrets.