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
prompt_injection / agentic_rce have zero producers -- apply #323 precedent (remove or scope real detector) #1146
appsecAgentic guardrails, prompt injection, and RCE sensorsbugUnintended behavior or logic failure in the enginepriority: mediumschemaData schema updates for JSON outputs or SQLite tables
Found via #1144 (population-scale validation against 718 real repos / 1.2M files). prompt_injection and agentic_rce (in repo_data/file_data/function_data) have zero
producers anywhere in gitgalaxy/standards/language_standards.py (grep -c returns 0 for both
key names). Confirmed empirically: both are exactly 0 across all 1,201,836 files in master_db_v247.db, unfiltered — not rare, structurally impossible to be nonzero as currently
wired.
🎯 Objective
Resolve the same way #323 resolved ai_tools/ai_memory/ai_logic_loop: decide whether this is
a real, buildable lexical signature or a behavioral/semantic pattern that a regex-only,
AST-free engine fundamentally can't detect reliably.
🛠️ Proposed Implementation
prompt_injection (detecting an LLM prompt-injection payload embedded in code/strings) and agentic_rce (detecting an autonomous-agent remote-code-execution pattern) both look closer to ai_tools/ai_memory/ai_logic_loop's shape than to issue #1144's naming-convention family
(#ISSUE_A) — they're about intent and behavior, not a fixed lexical pattern, which is exactly
the reasoning #323 used to remove rather than implement. Recommend the same outcome here unless
someone has a concrete, low-false-positive lexical pattern in mind (e.g. a narrow known-payload
string list) — worth a short design discussion before defaulting to removal, since these are
security-relevant (appsec label) and a real detector would be valuable if genuinely buildable.
Closing as already resolved by #1020 (merged as PR #1038, which predates this issue).
What #1020 already did: removed all detection logic for prompt_injection/agentic_rce
(plus injection_surface/obscured_payload/memory_corruption) from security_lens.py and
every downstream consumer — the same #323 precedent this issue asks for ("stop faking a
detector regex can't honestly build"). Confirmed via a fresh repo-wide grep: the only two
places prompt_injection/agentic_rce appear anywhere in gitgalaxy/ today are the SIGNAL_SCHEMA list entries in analysis_lens.py (lines ~1106-1107) and the comment
explaining why they're there. No producer, no consumer, no FRIENDLY_MAP human-readable label,
not flagged by dead_key_audit.py. The zero-producers finding from #1144 is exactly the
expected result of #1020's removal, not a new regression.
Why they weren't physically deleted from SIGNAL_SCHEMA (the one place #323's literal
precedent diverges here):SIGNAL_SCHEMA's positional order feeds signal_processor.py's
K-Means archetype-classification feature vector, compared by index against pre-trained SCALER_MEDIANS/SCALER_IQRS/centroid models (GLOBAL_ARCHETYPES/LANGUAGE_INFERENCE_MODELS
in gitgalaxy_config.py). #1020 tried a literal delete first; a full crucible_check.py corpus
regen showed massive Repository Archetype/file_cluster_N drift corpus-wide, because deleting
a SIGNAL_SCHEMA entry shifts every later feature's index against the fixed-length pretrained
model. So #1020 deliberately kept the two names as permanent always-zero placeholders instead
(with the comment at the site explaining why), which achieves the same "no fake-functioning
detector" outcome without silently corrupting archetype classification. Actually completing a
literal physical deletion would additionally require retraining/regenerating the pretrained
K-Means model — a materially larger task than a metric-removal PR, out of scope here.
No code change needed. Closing as a duplicate of already-completed work; reopen if a concrete,
low-false-positive lexical pattern for either signal turns up later.
appsecAgentic guardrails, prompt injection, and RCE sensorsbugUnintended behavior or logic failure in the enginepriority: mediumschemaData schema updates for JSON outputs or SQLite tables
Activity
squid-protocol commentedon Aug 7, 2026
Closing as already resolved by #1020 (merged as PR #1038, which predates this issue).
What #1020 already did: removed all detection logic for
prompt_injection/agentic_rce(plus
injection_surface/obscured_payload/memory_corruption) fromsecurity_lens.pyandevery downstream consumer — the same #323 precedent this issue asks for ("stop faking a
detector regex can't honestly build"). Confirmed via a fresh repo-wide grep: the only two
places
prompt_injection/agentic_rceappear anywhere ingitgalaxy/today are theSIGNAL_SCHEMAlist entries inanalysis_lens.py(lines ~1106-1107) and the commentexplaining why they're there. No producer, no consumer, no
FRIENDLY_MAPhuman-readable label,not flagged by
dead_key_audit.py. The zero-producers finding from #1144 is exactly theexpected result of #1020's removal, not a new regression.
Why they weren't physically deleted from
SIGNAL_SCHEMA(the one place #323's literalprecedent diverges here):
SIGNAL_SCHEMA's positional order feedssignal_processor.py'sK-Means archetype-classification feature vector, compared by index against pre-trained
SCALER_MEDIANS/SCALER_IQRS/centroid models (GLOBAL_ARCHETYPES/LANGUAGE_INFERENCE_MODELSin
gitgalaxy_config.py). #1020 tried a literal delete first; a fullcrucible_check.pycorpusregen showed massive
Repository Archetype/file_cluster_Ndrift corpus-wide, because deletinga
SIGNAL_SCHEMAentry shifts every later feature's index against the fixed-length pretrainedmodel. So #1020 deliberately kept the two names as permanent always-zero placeholders instead
(with the comment at the site explaining why), which achieves the same "no fake-functioning
detector" outcome without silently corrupting archetype classification. Actually completing a
literal physical deletion would additionally require retraining/regenerating the pretrained
K-Means model — a materially larger task than a metric-removal PR, out of scope here.
No code change needed. Closing as a duplicate of already-completed work; reopen if a concrete,
low-false-positive lexical pattern for either signal turns up later.