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
Continuing the cleanup of overreaching semantic heuristics, we need to remove the remaining metrics in the "Security & Vulnerability Lens" (prompt_injection, agentic_rce, injection_surface, obscured_payload, memory_corruption).
Because GitGalaxy is an AST-less engine, it operates entirely without Data Flow Analysis (Taint Tracking) or a Control Flow Graph. This means it is structurally impossible for the engine to prove that untrusted input data actually flows into a sensitive execution context.
Why they are broken
Currently, the engine hallucinates these critical threats by simply checking if two completely disconnected regex signatures fired within the same file:
prompt_injection & agentic_rce: Flags a file as an AI exploit surface simply because it contains a regex hit for an LLM API alongside a regex hit for external I/O or system execution. There is zero proof the data flows between them.
injection_surface: Claims weaponizable XSS or SQLi exists just because database/DOM regexes and network I/O regexes co-exist in the same block.
obscured_payload: Treats standard dynamic metaprogramming (e.g., Python's getattr, JavaScript reflection) as deliberate "Malware Evasion."
memory_corruption: Flags standard C/Rust pointer arithmetic and memory allocations as weaponizable exploits.
Action Items
Remove prompt_injection, agentic_rce, injection_surface, obscured_payload, and memory_corruption from RISK_SCHEMA and SIGNAL_SCHEMA in gitgalaxy/standards/analysis_lens.py.
Remove the corresponding risk calculation logic from gitgalaxy/metrics/signal_processor.py.
Strip these categories from the LLM Recorder and UI mappings.
Explicitly reframe the engine as a Structural & Topography mapper rather than a definitive SAST vulnerability scanner.
Activity
Remove AST-dependent Security & Vulnerability metrics (#1020) (#1038)
security: remove ai_appsec_sensor.py's co-occurrence RCE/exfiltration…
docs: tone/accuracy pass across every README, plus writing-guide skil…
test: rebless golden crucible fixtures for #1145's naming-convention …
fix(core): give core_var_decl/design_* naming-convention signatures r…
fix(core-engine): freeze the security frame's dead func_internal_dens…
Docs/rosetta zero open defects (#2975)
fix(#3018,#3019,#3020): stop overclaiming SQL injection from co-locat…
cleanup(#3099): drop the dead `injection` key from _get_context_multi…
expunge(#3101): remove score-dead sec_tainted_injection taint trackin…
README refresh: COBOL-to-Java with proof; stale counts, tools and lin…
docs(security): correct security lens and exposure page claims (#8441)