Skip to content

Persist sec_* lens counts to file_data — enabling change for per-CVE injection-surface analysis #2985

Closed

Description

@squid-protocol

The SecurityLens's granular counts (sec_tainted_injection, sec_db_hooks, sec_bitwise_ops, …) reach the audit JSON's equations but are not persisted to the scan DB's file_data, so the temporal-crucible program (gitgalaxy#2982) cannot correlate them with CVE ground truth the way it does the ~50 registry signals (which ARE columns). Adding them as columns (the risk_cols pattern, record_keeper.py:189) makes 25 years of security events queryable against the security lens itself — e.g. do injection-CWE files carry elevated sec_tainted_injection before the event. Additive schema change; existing DBs unaffected (new columns default).

Activity

  1. added
    appsec
    enhancement
    schema
    on Sep 13, 2026
  2. added a commit that references this issue on Sep 14, 2026
  3. added a commit that references this issue on Oct 2, 2026
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

    appsecenhancementschema

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions