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] Every recorder reads "AI Threat Score", but the producer writes "AI Threat Confidence" #364
appsecAgentic guardrails, prompt injection, and RCE sensorsbugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: highCore feature broken, but workarounds exist
A near-miss rename -- "Score" vs "Confidence" -- means every one of those six reads always falls back to its default ("0.0%" / 0.0). The ML-computed threat score never actually reaches the SQLite export, the LLM markdown brief, the WebGL UI, or the forensic audit JSON. This is the entire reporting surface for GitGalaxy's core ML threat signal.
Worth noting: audit_recorder.py:198 compounds this -- identity_block["AI Threat Confidence"] = domain_data["AI Threat Score"], guarded by if "AI Threat Score" in domain_data: (line 197), is itself dead code, since that key never exists.
🎯 Objective
Every recorder should surface the real ML-computed AI threat score/confidence, not a permanent 0.0%/"0.0%" placeholder.
🛠️ Proposed Implementation
Rename the six read sites to "AI Threat Confidence" to match the actual producer key (simplest fix), or rename the producer to "AI Threat Score" if that's the intended display name going forward -- pick one canonical name and make every recorder agree with security_auditor.py.
✅ Acceptance Criteria
All six read sites agree with the actual producer key name.
audit_recorder.py's dead if "AI Threat Score" in domain_data: copy-through either becomes live or is removed.
A regression test proves a non-zero ML threat score survives into at least one recorder's output.
appsecAgentic guardrails, prompt injection, and RCE sensorsbugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: highCore feature broken, but workarounds exist
Activity
Fix "AI Threat Score" near-miss rename across every recorder (#364) (#…
Revive AIAppSecSensor's Over-Permissioned Agent rule with a real sign…
Fix record_keeper.py's four dead security-flag SQLite columns (#366-3…