You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG/DATA-INTEGRITY] record_keeper.py's "is_malware" SQLite column is always False -- real key is "is_ml_threat" #366
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: highCore feature broken, but workarounds existschemaData schema updates for JSON outputs or SQLite tables
No producer anywhere writes file_data["is_malware"]. The actual ML threat classifier, gitgalaxy/security/security_auditor.py:187,191, writes:
artifact["is_ml_threat"] =True# or False
A near-miss rename. The is_malware INTEGER column in the SQLite export is always 0, regardless of what the ML classifier actually determined.
Related: #366/#367/#368 (has_credentials, binary_anomaly, glassworm_flag -- the same table's other security flag columns, filed separately since each has a distinct/unclear root cause).
🎯 Objective
The SQLite is_malware column should reflect the real ML threat classification.
🛠️ Proposed Implementation
Rename file_data.get("is_malware", False) to file_data.get("is_ml_threat", False) in record_keeper.py, or thread is_ml_threat into a file_data["is_malware"] alias earlier in the pipeline if is_malware is meant to be a distinct, broader concept.
✅ Acceptance Criteria
A file the ML classifier flags as a threat produces is_malware = 1 in the SQLite output, proven by a real test.
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: highCore feature broken, but workarounds existschemaData schema updates for JSON outputs or SQLite tables
Activity
Fix record_keeper.py's four dead security-flag SQLite columns (#366-3…