Repository navigation
feat(security): --offline on the two log-scanner CLIs (Part of #8624) - #8644
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8624 (slice 5). Adds the shared
--offlineflag /GITGALAXY_OFFLINE=1topii_leak_hunterandterabyte_log_scannerviaadd_flag/enforcefromtools/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 raisesOfflineViolation; 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
galaxyscopescan entry point--offlineand 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
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