Skip to content

Silent "0 Files Scanned" Failure (Schema Mismatch) for supply chain firewall #159

Closed

Description

@squid-protocol

At the bottom of the standalone script, the firewall attempts to load the generated JSON. It strictly looks for data.get("artifacts") or data.get("stars").

However, your audit_recorder.py exports the artifacts under "6. Parsed Files (Scanned Artifacts)", and it structures them entirely differently (grouped by directory). If the firewall attempts to read this audit file, parsed_files defaults to []. The firewall will exit with a green checkmark claiming Files Evaluated : 0 and [SUCCESS] Dependency supply chain is clean., masking the fact that it scanned absolutely nothing.

Activity

  1. added
    supply-chain
    bug
    priority: high
    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: highsupply-chain

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions