Skip to content

feat(security): --offline on the two log-scanner CLIs (Part of #8624) - #8644

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
feat/8624-offline-log-scanners
Nov 19, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
feat/8624-offline-log-scanners

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8624 (slice 5). Adds the shared --offline flag / GITGALAXY_OFFLINE=1 to pii_leak_hunter and terabyte_log_scanner via add_flag / enforce from tools/readiness/offline.py. Both are pure local file streamers; no deliberate network use found.

Tests (test_offline_log_scanners_8624.py): each CLI completes a planted-log scan under the flag and a socket connect then raises OfflineViolation; the env var alone guards, and without it nothing is guarded. README table row added.

Class / Sibling gaps

Class: report/audit CLIs that only promise no-network and have no enforcement. Handled so far: completeness_report, audit_recorder, the three cobol_to_cobol reporters, the three supply-chain CLIs (#8640), and now the two log scanners. Sibling gaps: the LLM port runner refusal by name (slice 3, different mechanism); direct galaxyscope scan entry point --offline and the tiktoken download refusal; any remaining report/audit tool not in the README table ("Other report and audit tools" row stays). Not here: different mechanism or beyond the 5-file limit.

Remaining slices

  1. galaxyscope direct scan + tiktoken refusal (galaxyscope.py, core/detector.py, tests). 2. LLM port runner refusal by name. 3. Sweep of any other report/audit CLI.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 19, 2026 01:10
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 19, 2026 01:10
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant