Datasets:
Download knowledge_base.json from emgena/agent_prompt_injection_via_git_commit_shield_teaser: direct link, hf CLI and curl.
- Browser
- Download file 50.5 kB
-
https://huggingface.co/datasets/emgena/agent_prompt_injection_via_git_commit_shield_teaser/resolve/main/knowledge_base.json
- Command line
-
hf download hf://datasets/emgena/agent_prompt_injection_via_git_commit_shield_teaser/knowledge_base.json
-
curl -L -o knowledge_base.json https://huggingface.co/datasets/emgena/agent_prompt_injection_via_git_commit_shield_teaser/resolve/main/knowledge_base.json
50.5 kB
| [ | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_001", | |
| "title": "Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "intercept_git_commit_prompt_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.intercept_git_commit_prompt_injection", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_git_commit_prompt_injection - Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:01:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through intercept_git_commit_prompt_injection.", | |
| "prevention_rule": "Enforce active static AST verification via intercept_git_commit_prompt_injection on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without intercept_git_commit_prompt_injection guard\n return execute_intercept_git_commit_prompt_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via intercept_git_commit_prompt_injection\n with enforce_intercept_git_commit_prompt_injection_policy():\n return execute_intercept_git_commit_prompt_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_2459e193618ab0df", | |
| "remediated_ast_signature": "AST_PASS_1c3f754c45f4c412" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_002", | |
| "title": "Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "intercept_git_commit_prompt_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.intercept_git_commit_prompt_injection", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_git_commit_prompt_injection - Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:02:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through intercept_git_commit_prompt_injection.", | |
| "prevention_rule": "Enforce active static AST verification via intercept_git_commit_prompt_injection on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without intercept_git_commit_prompt_injection guard\n return execute_intercept_git_commit_prompt_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via intercept_git_commit_prompt_injection\n with enforce_intercept_git_commit_prompt_injection_policy():\n return execute_intercept_git_commit_prompt_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_ba9b6bd8be1c24e3", | |
| "remediated_ast_signature": "AST_PASS_1e261f2dcd32a943" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_003", | |
| "title": "Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides (Variant #3)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "intercept_git_commit_prompt_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.intercept_git_commit_prompt_injection", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_git_commit_prompt_injection - Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:03:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through intercept_git_commit_prompt_injection.", | |
| "prevention_rule": "Enforce active static AST verification via intercept_git_commit_prompt_injection on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without intercept_git_commit_prompt_injection guard\n return execute_intercept_git_commit_prompt_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via intercept_git_commit_prompt_injection\n with enforce_intercept_git_commit_prompt_injection_policy():\n return execute_intercept_git_commit_prompt_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_5a39633aa6fce6bd", | |
| "remediated_ast_signature": "AST_PASS_d2b64bb32cd57e51" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_004", | |
| "title": "Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides (Variant #4)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "intercept_git_commit_prompt_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.intercept_git_commit_prompt_injection", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_git_commit_prompt_injection - Scans git commit messages and PR bodies for prompt injection keywords attempting system overrides.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:04:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through intercept_git_commit_prompt_injection.", | |
| "prevention_rule": "Enforce active static AST verification via intercept_git_commit_prompt_injection on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without intercept_git_commit_prompt_injection guard\n return execute_intercept_git_commit_prompt_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via intercept_git_commit_prompt_injection\n with enforce_intercept_git_commit_prompt_injection_policy():\n return execute_intercept_git_commit_prompt_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_1018e2f5bb33ab08", | |
| "remediated_ast_signature": "AST_PASS_c09e08cf1ffd3472" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_005", | |
| "title": "Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "sanitize_pull_request_markdown_payload", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.sanitize_pull_request_markdown_payload", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_pull_request_markdown_payload - Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:05:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through sanitize_pull_request_markdown_payload.", | |
| "prevention_rule": "Enforce active static AST verification via sanitize_pull_request_markdown_payload on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without sanitize_pull_request_markdown_payload guard\n return execute_sanitize_pull_request_markdown_payload_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via sanitize_pull_request_markdown_payload\n with enforce_sanitize_pull_request_markdown_payload_policy():\n return execute_sanitize_pull_request_markdown_payload_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_25bdaf8e700f4885", | |
| "remediated_ast_signature": "AST_PASS_be4b3fc4e69fc039" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_006", | |
| "title": "Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "sanitize_pull_request_markdown_payload", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.sanitize_pull_request_markdown_payload", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_pull_request_markdown_payload - Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:06:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through sanitize_pull_request_markdown_payload.", | |
| "prevention_rule": "Enforce active static AST verification via sanitize_pull_request_markdown_payload on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without sanitize_pull_request_markdown_payload guard\n return execute_sanitize_pull_request_markdown_payload_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via sanitize_pull_request_markdown_payload\n with enforce_sanitize_pull_request_markdown_payload_policy():\n return execute_sanitize_pull_request_markdown_payload_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_5794a41293ae5c73", | |
| "remediated_ast_signature": "AST_PASS_393e3d3fdb4a7eb9" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_007", | |
| "title": "Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions (Variant #3)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "sanitize_pull_request_markdown_payload", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.sanitize_pull_request_markdown_payload", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_pull_request_markdown_payload - Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:07:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through sanitize_pull_request_markdown_payload.", | |
| "prevention_rule": "Enforce active static AST verification via sanitize_pull_request_markdown_payload on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without sanitize_pull_request_markdown_payload guard\n return execute_sanitize_pull_request_markdown_payload_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via sanitize_pull_request_markdown_payload\n with enforce_sanitize_pull_request_markdown_payload_policy():\n return execute_sanitize_pull_request_markdown_payload_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_db4be031436c11b8", | |
| "remediated_ast_signature": "AST_PASS_7933227dbfeb6f0f" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_008", | |
| "title": "Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions (Variant #4)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "sanitize_pull_request_markdown_payload", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.sanitize_pull_request_markdown_payload", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_pull_request_markdown_payload - Strips hidden zero-width spaces, malicious HTML comments, and adversarial Unicode from markdown issue descriptions.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:08:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through sanitize_pull_request_markdown_payload.", | |
| "prevention_rule": "Enforce active static AST verification via sanitize_pull_request_markdown_payload on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without sanitize_pull_request_markdown_payload guard\n return execute_sanitize_pull_request_markdown_payload_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via sanitize_pull_request_markdown_payload\n with enforce_sanitize_pull_request_markdown_payload_policy():\n return execute_sanitize_pull_request_markdown_payload_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_75fbf9bad4d6df19", | |
| "remediated_ast_signature": "AST_PASS_18dc9d6824e766a2" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_009", | |
| "title": "Flags system-override instructions authored by external non-maintainer contributors (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "quarantine_untrusted_contributor_instructions", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.quarantine_untrusted_contributor_instructions", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_untrusted_contributor_instructions - Flags system-override instructions authored by external non-maintainer contributors.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:09:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through quarantine_untrusted_contributor_instructions.", | |
| "prevention_rule": "Enforce active static AST verification via quarantine_untrusted_contributor_instructions on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without quarantine_untrusted_contributor_instructions guard\n return execute_quarantine_untrusted_contributor_instructions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via quarantine_untrusted_contributor_instructions\n with enforce_quarantine_untrusted_contributor_instructions_policy():\n return execute_quarantine_untrusted_contributor_instructions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_0268debd74578bf0", | |
| "remediated_ast_signature": "AST_PASS_4f862b9875a47df9" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_010", | |
| "title": "Flags system-override instructions authored by external non-maintainer contributors (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "quarantine_untrusted_contributor_instructions", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.quarantine_untrusted_contributor_instructions", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_untrusted_contributor_instructions - Flags system-override instructions authored by external non-maintainer contributors.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:10:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through quarantine_untrusted_contributor_instructions.", | |
| "prevention_rule": "Enforce active static AST verification via quarantine_untrusted_contributor_instructions on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without quarantine_untrusted_contributor_instructions guard\n return execute_quarantine_untrusted_contributor_instructions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via quarantine_untrusted_contributor_instructions\n with enforce_quarantine_untrusted_contributor_instructions_policy():\n return execute_quarantine_untrusted_contributor_instructions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_9d473b4571e572bd", | |
| "remediated_ast_signature": "AST_PASS_f5d4330bac51bf61" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_011", | |
| "title": "Flags system-override instructions authored by external non-maintainer contributors (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "quarantine_untrusted_contributor_instructions", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.quarantine_untrusted_contributor_instructions", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_untrusted_contributor_instructions - Flags system-override instructions authored by external non-maintainer contributors.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:11:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through quarantine_untrusted_contributor_instructions.", | |
| "prevention_rule": "Enforce active static AST verification via quarantine_untrusted_contributor_instructions on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without quarantine_untrusted_contributor_instructions guard\n return execute_quarantine_untrusted_contributor_instructions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via quarantine_untrusted_contributor_instructions\n with enforce_quarantine_untrusted_contributor_instructions_policy():\n return execute_quarantine_untrusted_contributor_instructions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_039a259450120eca", | |
| "remediated_ast_signature": "AST_PASS_b5d48d6f405376e4" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_012", | |
| "title": "Flags system-override instructions authored by external non-maintainer contributors (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "quarantine_untrusted_contributor_instructions", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.quarantine_untrusted_contributor_instructions", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_untrusted_contributor_instructions - Flags system-override instructions authored by external non-maintainer contributors.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:12:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through quarantine_untrusted_contributor_instructions.", | |
| "prevention_rule": "Enforce active static AST verification via quarantine_untrusted_contributor_instructions on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without quarantine_untrusted_contributor_instructions guard\n return execute_quarantine_untrusted_contributor_instructions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via quarantine_untrusted_contributor_instructions\n with enforce_quarantine_untrusted_contributor_instructions_policy():\n return execute_quarantine_untrusted_contributor_instructions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_4f8be0b47016db92", | |
| "remediated_ast_signature": "AST_PASS_babaa8c12f779e14" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_013", | |
| "title": "Detects adversarial shell directives inside (Variant #1)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_git_hook_injection_vector", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.audit_git_hook_injection_vector", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_git_hook_injection_vector - Detects adversarial shell directives inside .git/hooks/ and .githooks templates.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:13:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through audit_git_hook_injection_vector.", | |
| "prevention_rule": "Enforce active static AST verification via audit_git_hook_injection_vector on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without audit_git_hook_injection_vector guard\n return execute_audit_git_hook_injection_vector_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via audit_git_hook_injection_vector\n with enforce_audit_git_hook_injection_vector_policy():\n return execute_audit_git_hook_injection_vector_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3c89c8b74f26b340", | |
| "remediated_ast_signature": "AST_PASS_c71c5618b5fef172" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_014", | |
| "title": "Detects adversarial shell directives inside (Variant #2)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_git_hook_injection_vector", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.audit_git_hook_injection_vector", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_git_hook_injection_vector - Detects adversarial shell directives inside .git/hooks/ and .githooks templates.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:14:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through audit_git_hook_injection_vector.", | |
| "prevention_rule": "Enforce active static AST verification via audit_git_hook_injection_vector on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without audit_git_hook_injection_vector guard\n return execute_audit_git_hook_injection_vector_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via audit_git_hook_injection_vector\n with enforce_audit_git_hook_injection_vector_policy():\n return execute_audit_git_hook_injection_vector_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_e271968a6ab2c08e", | |
| "remediated_ast_signature": "AST_PASS_df6df3d0bb12e80d" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_015", | |
| "title": "Detects adversarial shell directives inside (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_git_hook_injection_vector", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.audit_git_hook_injection_vector", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_git_hook_injection_vector - Detects adversarial shell directives inside .git/hooks/ and .githooks templates.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:15:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through audit_git_hook_injection_vector.", | |
| "prevention_rule": "Enforce active static AST verification via audit_git_hook_injection_vector on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without audit_git_hook_injection_vector guard\n return execute_audit_git_hook_injection_vector_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via audit_git_hook_injection_vector\n with enforce_audit_git_hook_injection_vector_policy():\n return execute_audit_git_hook_injection_vector_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3e1b34c71e76a496", | |
| "remediated_ast_signature": "AST_PASS_1f6835b525565c1b" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_016", | |
| "title": "Detects adversarial shell directives inside (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_git_hook_injection_vector", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.audit_git_hook_injection_vector", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_git_hook_injection_vector - Detects adversarial shell directives inside .git/hooks/ and .githooks templates.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:16:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through audit_git_hook_injection_vector.", | |
| "prevention_rule": "Enforce active static AST verification via audit_git_hook_injection_vector on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without audit_git_hook_injection_vector guard\n return execute_audit_git_hook_injection_vector_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via audit_git_hook_injection_vector\n with enforce_audit_git_hook_injection_vector_policy():\n return execute_audit_git_hook_injection_vector_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_c4f28db581a6665f", | |
| "remediated_ast_signature": "AST_PASS_a83b34953e745b15" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_017", | |
| "title": "Enforces clear delimiters preventing LLMs from executing commit messages as commands (Variant #1)", | |
| "severity": "HIGH", | |
| "tool_scope": "enforce_prompt_context_role_separation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.enforce_prompt_context_role_separation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_prompt_context_role_separation - Enforces clear delimiters preventing LLMs from executing commit messages as commands.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:17:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through enforce_prompt_context_role_separation.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_prompt_context_role_separation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without enforce_prompt_context_role_separation guard\n return execute_enforce_prompt_context_role_separation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via enforce_prompt_context_role_separation\n with enforce_enforce_prompt_context_role_separation_policy():\n return execute_enforce_prompt_context_role_separation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_6d3177e472b3a6d9", | |
| "remediated_ast_signature": "AST_PASS_eed487702e30c97d" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_018", | |
| "title": "Enforces clear delimiters preventing LLMs from executing commit messages as commands (Variant #2)", | |
| "severity": "HIGH", | |
| "tool_scope": "enforce_prompt_context_role_separation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.enforce_prompt_context_role_separation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_prompt_context_role_separation - Enforces clear delimiters preventing LLMs from executing commit messages as commands.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:18:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through enforce_prompt_context_role_separation.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_prompt_context_role_separation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without enforce_prompt_context_role_separation guard\n return execute_enforce_prompt_context_role_separation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via enforce_prompt_context_role_separation\n with enforce_enforce_prompt_context_role_separation_policy():\n return execute_enforce_prompt_context_role_separation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3725f08da317fde0", | |
| "remediated_ast_signature": "AST_PASS_8f57b1951fa79213" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_019", | |
| "title": "Enforces clear delimiters preventing LLMs from executing commit messages as commands (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "enforce_prompt_context_role_separation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.enforce_prompt_context_role_separation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_prompt_context_role_separation - Enforces clear delimiters preventing LLMs from executing commit messages as commands.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:19:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through enforce_prompt_context_role_separation.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_prompt_context_role_separation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without enforce_prompt_context_role_separation guard\n return execute_enforce_prompt_context_role_separation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via enforce_prompt_context_role_separation\n with enforce_enforce_prompt_context_role_separation_policy():\n return execute_enforce_prompt_context_role_separation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_49867659678244c9", | |
| "remediated_ast_signature": "AST_PASS_917c29d326361053" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_020", | |
| "title": "Enforces clear delimiters preventing LLMs from executing commit messages as commands (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "enforce_prompt_context_role_separation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.enforce_prompt_context_role_separation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_prompt_context_role_separation - Enforces clear delimiters preventing LLMs from executing commit messages as commands.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:20:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through enforce_prompt_context_role_separation.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_prompt_context_role_separation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without enforce_prompt_context_role_separation guard\n return execute_enforce_prompt_context_role_separation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via enforce_prompt_context_role_separation\n with enforce_enforce_prompt_context_role_separation_policy():\n return execute_enforce_prompt_context_role_separation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_14d56a545511a573", | |
| "remediated_ast_signature": "AST_PASS_67a57920d3f0f925" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_021", | |
| "title": "Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "verify_pgp_commit_signature_trust", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.verify_pgp_commit_signature_trust", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in verify_pgp_commit_signature_trust - Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:21:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through verify_pgp_commit_signature_trust.", | |
| "prevention_rule": "Enforce active static AST verification via verify_pgp_commit_signature_trust on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without verify_pgp_commit_signature_trust guard\n return execute_verify_pgp_commit_signature_trust_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via verify_pgp_commit_signature_trust\n with enforce_verify_pgp_commit_signature_trust_policy():\n return execute_verify_pgp_commit_signature_trust_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_46f9df7a2ebd946d", | |
| "remediated_ast_signature": "AST_PASS_61dd5ebbf175e613" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_022", | |
| "title": "Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "verify_pgp_commit_signature_trust", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.verify_pgp_commit_signature_trust", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in verify_pgp_commit_signature_trust - Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:22:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through verify_pgp_commit_signature_trust.", | |
| "prevention_rule": "Enforce active static AST verification via verify_pgp_commit_signature_trust on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without verify_pgp_commit_signature_trust guard\n return execute_verify_pgp_commit_signature_trust_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via verify_pgp_commit_signature_trust\n with enforce_verify_pgp_commit_signature_trust_policy():\n return execute_verify_pgp_commit_signature_trust_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_373a2ac38406c7bf", | |
| "remediated_ast_signature": "AST_PASS_3a3e95a04096a38b" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_023", | |
| "title": "Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys (Variant #3)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "verify_pgp_commit_signature_trust", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.verify_pgp_commit_signature_trust", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in verify_pgp_commit_signature_trust - Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:23:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through verify_pgp_commit_signature_trust.", | |
| "prevention_rule": "Enforce active static AST verification via verify_pgp_commit_signature_trust on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without verify_pgp_commit_signature_trust guard\n return execute_verify_pgp_commit_signature_trust_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via verify_pgp_commit_signature_trust\n with enforce_verify_pgp_commit_signature_trust_policy():\n return execute_verify_pgp_commit_signature_trust_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_5e7ad30e9909ad23", | |
| "remediated_ast_signature": "AST_PASS_c9265de2b1b7feeb" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_024", | |
| "title": "Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys (Variant #4)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "verify_pgp_commit_signature_trust", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.verify_pgp_commit_signature_trust", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in verify_pgp_commit_signature_trust - Asserts that commit messages triggering agentic refactoring are cryptographically signed with trusted maintainer keys.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:24:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through verify_pgp_commit_signature_trust.", | |
| "prevention_rule": "Enforce active static AST verification via verify_pgp_commit_signature_trust on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without verify_pgp_commit_signature_trust guard\n return execute_verify_pgp_commit_signature_trust_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via verify_pgp_commit_signature_trust\n with enforce_verify_pgp_commit_signature_trust_policy():\n return execute_verify_pgp_commit_signature_trust_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_a1787b7d722bf9e1", | |
| "remediated_ast_signature": "AST_PASS_83d8168e2d9efa3f" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_025", | |
| "title": "Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "fuzz_indirect_injection_obfuscation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.fuzz_indirect_injection_obfuscation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_indirect_injection_obfuscation - Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:25:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through fuzz_indirect_injection_obfuscation.", | |
| "prevention_rule": "Enforce active static AST verification via fuzz_indirect_injection_obfuscation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without fuzz_indirect_injection_obfuscation guard\n return execute_fuzz_indirect_injection_obfuscation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via fuzz_indirect_injection_obfuscation\n with enforce_fuzz_indirect_injection_obfuscation_policy():\n return execute_fuzz_indirect_injection_obfuscation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_6595666f69e95487", | |
| "remediated_ast_signature": "AST_PASS_c8d7029e23f8a52b" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_026", | |
| "title": "Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "fuzz_indirect_injection_obfuscation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.fuzz_indirect_injection_obfuscation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_indirect_injection_obfuscation - Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:26:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through fuzz_indirect_injection_obfuscation.", | |
| "prevention_rule": "Enforce active static AST verification via fuzz_indirect_injection_obfuscation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without fuzz_indirect_injection_obfuscation guard\n return execute_fuzz_indirect_injection_obfuscation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via fuzz_indirect_injection_obfuscation\n with enforce_fuzz_indirect_injection_obfuscation_policy():\n return execute_fuzz_indirect_injection_obfuscation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_2116106822ebe75f", | |
| "remediated_ast_signature": "AST_PASS_cafae3024391a710" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_027", | |
| "title": "Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches (Variant #3)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "fuzz_indirect_injection_obfuscation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.fuzz_indirect_injection_obfuscation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_indirect_injection_obfuscation - Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:27:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through fuzz_indirect_injection_obfuscation.", | |
| "prevention_rule": "Enforce active static AST verification via fuzz_indirect_injection_obfuscation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without fuzz_indirect_injection_obfuscation guard\n return execute_fuzz_indirect_injection_obfuscation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via fuzz_indirect_injection_obfuscation\n with enforce_fuzz_indirect_injection_obfuscation_policy():\n return execute_fuzz_indirect_injection_obfuscation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_01cd1cfc2bcc0882", | |
| "remediated_ast_signature": "AST_PASS_6154794949f0e25b" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_028", | |
| "title": "Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches (Variant #4)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "fuzz_indirect_injection_obfuscation", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.fuzz_indirect_injection_obfuscation", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_indirect_injection_obfuscation - Tests for base64, ROT13, and leetspeak prompt injection payloads inside git patches.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:28:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through fuzz_indirect_injection_obfuscation.", | |
| "prevention_rule": "Enforce active static AST verification via fuzz_indirect_injection_obfuscation on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without fuzz_indirect_injection_obfuscation guard\n return execute_fuzz_indirect_injection_obfuscation_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via fuzz_indirect_injection_obfuscation\n with enforce_fuzz_indirect_injection_obfuscation_policy():\n return execute_fuzz_indirect_injection_obfuscation_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_af77af982573ffa2", | |
| "remediated_ast_signature": "AST_PASS_bbae5708e7388c01" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_029", | |
| "title": "Kills agent subprocess if untrusted commit instructions attempt to trigger code execution (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "circuit_break_malicious_commit_execution", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.circuit_break_malicious_commit_execution", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in circuit_break_malicious_commit_execution - Kills agent subprocess if untrusted commit instructions attempt to trigger code execution.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:29:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through circuit_break_malicious_commit_execution.", | |
| "prevention_rule": "Enforce active static AST verification via circuit_break_malicious_commit_execution on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without circuit_break_malicious_commit_execution guard\n return execute_circuit_break_malicious_commit_execution_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via circuit_break_malicious_commit_execution\n with enforce_circuit_break_malicious_commit_execution_policy():\n return execute_circuit_break_malicious_commit_execution_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_02a1dc37d35d5be0", | |
| "remediated_ast_signature": "AST_PASS_ebc8c856d1899523" | |
| }, | |
| { | |
| "id": "agent_prompt_injection_via_git_commit_shield_inc_030", | |
| "title": "Kills agent subprocess if untrusted commit instructions attempt to trigger code execution (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "circuit_break_malicious_commit_execution", | |
| "telemetry_alert": { | |
| "source": "EmgenaSentinel.agent_prompt_injection_via_git_commit_shield.circuit_break_malicious_commit_execution", | |
| "error_traceback": "PolicyBreach: Unauthorized operation detected in circuit_break_malicious_commit_execution - Kills agent subprocess if untrusted commit instructions attempt to trigger code execution.", | |
| "cluster": "prod-agent_prompt_injection_via_git_commit_shield-eu-central-1", | |
| "timestamp": "2026-11-21T16:30:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without AST policy verification through circuit_break_malicious_commit_execution.", | |
| "prevention_rule": "Enforce active static AST verification via circuit_break_malicious_commit_execution on all runtime workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without circuit_break_malicious_commit_execution guard\n return execute_circuit_break_malicious_commit_execution_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via circuit_break_malicious_commit_execution\n with enforce_circuit_break_malicious_commit_execution_policy():\n return execute_circuit_break_malicious_commit_execution_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_f12f58b6b635b620", | |
| "remediated_ast_signature": "AST_PASS_b6dfb7a6e1428252" | |
| } | |
| ] |