Skip to content

Dev#5

Merged
akosidencio merged 4 commits into
mainfrom
dev
Apr 5, 2026
Merged

Dev#5
akosidencio merged 4 commits into
mainfrom
dev

Conversation

@akosidencio

Copy link
Copy Markdown
Contributor

No description provided.

…ug fixes

conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.

Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New  subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.

Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.

Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
  raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
  always failed silently; added expand_firefox_profiles() to find
  places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
  by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
  and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
  restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
  captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
  ignored; now returns Result and propagates errors

PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.

79 tests passing.
…ug fixes

conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.

Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New  subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.

Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.

Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
  raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
  always failed silently; added expand_firefox_profiles() to find
  places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
  by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
  and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
  restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
  captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
  ignored; now returns Result and propagates errors

PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.

79 tests passing.
…ug fixes

conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.

Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New  subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.

Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.

Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
  raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
  always failed silently; added expand_firefox_profiles() to find
  places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
  by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
  and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
  restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
  captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
  ignored; now returns Result and propagates errors

PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.

79 tests passing.
…ug fixes

conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.

Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New  subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.

Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.

Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
  raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
  always failed silently; added expand_firefox_profiles() to find
  places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
  by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
  and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
  restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
  captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
  ignored; now returns Result and propagates errors

PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.

79 tests passing.
@akosidencio akosidencio merged commit 59c7342 into main Apr 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant