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
appsecAgentic guardrails, prompt injection, and RCE sensorscore-engineModifications to the central physics and parsing engineepicLarge-scale architectural milestone or multi-issue initiative
I added the taint tracker (line counter association) between keywords instead of lumping the two keywords by the entire file, this will drastically reduce false positives. It's been implemented sporadically so some features use while others dont. It's time to fully integrate this feature into the system.
Scoped out the work needed to fully integrate the spatial correlation system, rather than keep adding one-off _correlate_signals calls per feature (which is the "sporadic" state described in this epic). Filed three new issues ahead of #105/#106:
Both tracked sub-issues (#105, #106) are closed, and before closing this epic out I audited the codebase for the "sporadic" gap this issue's own description called out -- other correlate() sites that hadn't adopted the taint tracker's spatial correlation.
Found one: the Exfiltration Distance Check (memory_scraping -> exfiltration_camouflage) was a 7th correlate() pair that #346/#348 missed when they enumerated and scoped the other six -- it was still running on the old flat 200-character radius. Fixed in #361: migrated it into apply_amplifier_correlations() alongside the RCE taint and OOM Bomb pairs, so every correlate() call in the pipeline now shares the same same-function scoping semantics.
One related item intentionally left out of scope: ai_appsec_sensor.py doesn't use spatial correlation at all (old or new style) -- it's a coarser whole-file boolean sensor. That's a different, aspirational future improvement, not a regression of something this epic had already built, so I'm not blocking this closure on it. Happy to file it separately if useful.
appsecAgentic guardrails, prompt injection, and RCE sensorscore-engineModifications to the central physics and parsing engineepicLarge-scale architectural milestone or multi-issue initiative
Activity
squid-protocol commentedon Jul 24, 2026
Scoped out the work needed to fully integrate the spatial correlation system, rather than keep adding one-off
_correlate_signalscalls per feature (which is the "sporadic" state described in this epic). Filed three new issues ahead of #105/#106:security_lens.py's variable-echo taint count silently overwritesdetector.py's proximity-basedsec_tainted_injectioncount in thegalaxyscope.pymerge step. Found while checking whether the existing "amplified signal → risk equation" pattern (which # [FEATURE/SAST] Implement Spatial Radar for Database Injection Funnels #105/# [BUG/APPSEC] Spatially Verify Metaprogramming Hallucination Risk in Dev Agent Firewall #106 both plan to reuse) is trustworthy today. It isn't, until this lands.dev_agent_firewall.py's current Metaprogramming Hallucination check is fully dead code (reads atelemetrykey nothing writes), not just imprecise. Relevant context for # [BUG/APPSEC] Spatially Verify Metaprogramming Hallucination Risk in Dev Agent Firewall #106's scope._correlate_signalsinto a shared primitive, and makethreat_locationsa persisted, scope-aware ledger usable outsidedetector.py. Necessary (not just nice-to-have) because # [BUG/APPSEC] Spatially Verify Metaprogramming Hallucination Risk in Dev Agent Firewall #106's consumer (dev_agent_firewall.py) runs post-hoc overparsed_files, aftercoding_analysis()'s transientspatial_mapis already gone — it structurally cannot consume what # [FEATURE/SAST] Implement Spatial Radar for Database Injection Funnels #105/# [BUG/APPSEC] Spatially Verify Metaprogramming Hallucination Risk in Dev Agent Firewall #106 currently propose reading from.Suggested landing order: #344 → #346 → #105 → #106.
Implement the Spatial Radar for DB injection funnels (#105) (#359)
Spatially verify Metaprogramming Hallucination Risk in Dev Agent Fire…
Scope the Exfiltration Distance Check to real function boundaries (#102…
squid-protocol commentedon Jul 24, 2026
Both tracked sub-issues (#105, #106) are closed, and before closing this epic out I audited the codebase for the "sporadic" gap this issue's own description called out -- other correlate() sites that hadn't adopted the taint tracker's spatial correlation.
Found one: the Exfiltration Distance Check (
memory_scraping->exfiltration_camouflage) was a 7thcorrelate()pair that #346/#348 missed when they enumerated and scoped the other six -- it was still running on the old flat 200-character radius. Fixed in #361: migrated it intoapply_amplifier_correlations()alongside the RCE taint and OOM Bomb pairs, so every correlate() call in the pipeline now shares the same same-function scoping semantics.Full landing history for this epic:
One related item intentionally left out of scope:
ai_appsec_sensor.pydoesn't use spatial correlation at all (old or new style) -- it's a coarser whole-file boolean sensor. That's a different, aspirational future improvement, not a regression of something this epic had already built, so I'm not blocking this closure on it. Happy to file it separately if useful.Closing.