Skip to content

Offline guarantee for every scan entry point, not only assess: block the network in galaxyscope and the report tools, name the exceptions #8624

Closed

Description

@squid-protocol

Part of #8427 (owner 2026-11-18: GitGalaxy's focus is offline, air-gapped mainframe estates; the offline guarantee is the selling point).

gitgalaxy/tools/readiness/offline.py (#4726, #5235) enforces no-network in assess and the scan it runs. Other entry points (a direct galaxyscope scan, the report and audit tools) only promise it.

Do

  • An opt-in --offline flag (and env var) on the scan and report entry points that installs the same guard, including in spawn-start workers.
  • Known network users are refused by name when offline rather than failing obscurely: the tiktoken encoding download (core/detector.py, already has a byte-count fallback) and the opt-in LLM port runner.
  • A test per entry point that a scan of a planted repo completes with the guard on, and one that a deliberate network call raises OfflineViolation.
  • Docs: README "local and air-gapped operation" section states exactly which commands are guaranteed offline and which are the exceptions.

Done when

Every documented scan/report command either runs under the guard in tests or is listed as an exception with its reason. At most 5 hand-written files per PR; slice by entry point.

Activity

  1. added
    enhancement
    appsec
    scope:infra
    on Nov 18, 2026
  2. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8624-20261118T2228Z (host nyx) ended without a PR. PR #8634 already merged at 74e569b before the worker's docs_read_by_tests.txt regen (1fcf254) landed; that commit is orphaned. example-health-apis failure is a corpus-fetch env issue, not this slice. Next: slices 2b/2c per handoff.

  3. 12 remaining items

  4. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8624-20261119T1536Z (host nyx) ended without a PR. PR #8676 fix reviewed, merge

  5. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8624-20261119T1627Z (host nyx) ended without a PR. PR #8682 approved; remaining slices trial.py then inventory audit

  6. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8624-20261119T1830Z (host nyx) ended without a PR. PR #8684 already merged; env-only corpus-clone failure

  7. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-19T19:54Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  8. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8624-20261119T1955Z (host nyx) ended without a PR. slice 1 already on main; audit of done-when queued

  9. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Closed: #8689 merged. Every scan/report entry point takes --offline with tests (slices 1-15); the README 'Offline guarantee, by command' table now lists each command as guaranteed or as a named exception (spec browsers, tests/tools maintainer scripts).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appsecclaim:nyxenhancementpriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions