Skip to content

[BUG/DATA-INTEGRITY] record_keeper.py's "glassworm_flag" SQLite column is always False -- no producer exists #369

Closed

Description

@squid-protocol

🛑 Problem Statement

Found by the dead key auditor (#325). gitgalaxy/recorders/record_keeper.py:480:

obfuscation_flag = 1 if file_data.get("glassworm_flag", False) else 0

No producer anywhere writes file_data["glassworm_flag"]. Unlike is_malware/has_credentials/binary_anomaly (#366/#367/#368), there isn't an obvious existing signal this should alias either -- "GlassWorm" suggests a specific supply-chain worm/self-propagating-package detection that may never have been built at all, not just mis-wired.

Related: #366/#367/#368 -- the same table's other security flag columns.

🎯 Objective

Either wire up a real GlassWorm/self-propagating-package detector this column should reflect, or remove the dead column + read site if no such detector was ever meant to exist yet.

🛠️ Proposed Implementation

Needs scoping first: check gitgalaxy/tools/supply_chain_security/ for anything resembling worm/self-propagation detection before deciding whether this is a rename, a missing feature, or dead schema to remove.

✅ Acceptance Criteria

  • Either a real detector populates file_data["glassworm_flag"] and a test proves it, or the column/read site is removed with a documented reason.

Activity

  1. added
    bug
    supply-chain
    data-integrity
    schema
    priority: high
    on Jul 24, 2026
  2. squid-protocol commented on Jul 24, 2026

    @squid-protocol
    OwnerAuthor

    Fixed in #381 (merged).

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

    bugdata-integritypriority: highschemasupply-chain

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions