Skip to content

The Glob Mismatch (Standalone Crash) #162

Closed

Description

@squid-protocol

If you update the standalone execution block so it doesn't crash on directories (e.g., by writing to firewall_temp.json), galaxyscope.py will generate the audit log as firewall_temp_audit.json. However, the firewall strictly globs for *_galaxy_audit.json. Because the prefix is missing, audit_files will be empty, and the script will crash.

Change this:

            # Dynamically locate the generated audit file to avoid naming convention bugs
            tmp_path = Path(tmpdir)
            audit_files = list(tmp_path.glob("*_galaxy_audit.json"))

To this:

            # Dynamically locate the generated audit file to avoid naming convention bugs
            tmp_path = Path(tmpdir)
            audit_files = list(tmp_path.glob("*_audit.json"))

Activity

  1. added
    supply-chain
    bug
    priority: critical
    on Jul 11, 2026
  2. added this to the v2.4.0 milestone on Jul 11, 2026
  3. added a commit that references this issue on Jul 20, 2026
    524c1f6
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

    bugpriority: criticalsupply-chain

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions