Datasets:
Download knowledge_base.json from emgena/sql_destructive_dml_ddl_lockout_guard_mcp_teaser: direct link, hf CLI and curl.
- Browser
- Download file 48.1 kB
-
https://huggingface.co/datasets/emgena/sql_destructive_dml_ddl_lockout_guard_mcp_teaser/resolve/main/knowledge_base.json
- Command line
-
hf download hf://datasets/emgena/sql_destructive_dml_ddl_lockout_guard_mcp_teaser/knowledge_base.json
-
curl -L -o knowledge_base.json https://huggingface.co/datasets/emgena/sql_destructive_dml_ddl_lockout_guard_mcp_teaser/resolve/main/knowledge_base.json
48.1 kB
| [ | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_001", | |
| "title": "Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "enforce_mandatory_where_clause", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_mandatory_where_clause", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_mandatory_where_clause - Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:01:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_mandatory_where_clause.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_mandatory_where_clause on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without enforce_mandatory_where_clause guard\n return execute_enforce_mandatory_where_clause_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via enforce_mandatory_where_clause\n with enforce_enforce_mandatory_where_clause_policy():\n return execute_enforce_mandatory_where_clause_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_5bcca5260b163a41", | |
| "remediated_ast_signature": "AST_PASS_1f5c255f663d72c0" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_002", | |
| "title": "Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "enforce_mandatory_where_clause", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_mandatory_where_clause", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_mandatory_where_clause - Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:02:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_mandatory_where_clause.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_mandatory_where_clause on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without enforce_mandatory_where_clause guard\n return execute_enforce_mandatory_where_clause_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via enforce_mandatory_where_clause\n with enforce_enforce_mandatory_where_clause_policy():\n return execute_enforce_mandatory_where_clause_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_2fc9d618553d00ee", | |
| "remediated_ast_signature": "AST_PASS_9a01546e1fe68a47" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_003", | |
| "title": "Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses (Variant #3)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "enforce_mandatory_where_clause", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_mandatory_where_clause", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_mandatory_where_clause - Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:03:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_mandatory_where_clause.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_mandatory_where_clause on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without enforce_mandatory_where_clause guard\n return execute_enforce_mandatory_where_clause_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via enforce_mandatory_where_clause\n with enforce_enforce_mandatory_where_clause_policy():\n return execute_enforce_mandatory_where_clause_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_711e7de7e2811ca0", | |
| "remediated_ast_signature": "AST_PASS_dbc70efb5f53c1b1" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_004", | |
| "title": "Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses (Variant #4)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "enforce_mandatory_where_clause", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_mandatory_where_clause", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_mandatory_where_clause - Blocks UPDATE and DELETE statements that lack explicit, non-trivial WHERE clauses.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:04:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_mandatory_where_clause.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_mandatory_where_clause on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without enforce_mandatory_where_clause guard\n return execute_enforce_mandatory_where_clause_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via enforce_mandatory_where_clause\n with enforce_enforce_mandatory_where_clause_policy():\n return execute_enforce_mandatory_where_clause_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_0aa87e08263bac73", | |
| "remediated_ast_signature": "AST_PASS_4130b01a49bd1fb9" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_005", | |
| "title": "Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "lockout_ddl_modifications", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.lockout_ddl_modifications", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in lockout_ddl_modifications - Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:05:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through lockout_ddl_modifications.", | |
| "prevention_rule": "Enforce active static AST verification via lockout_ddl_modifications on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without lockout_ddl_modifications guard\n return execute_lockout_ddl_modifications_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via lockout_ddl_modifications\n with enforce_lockout_ddl_modifications_policy():\n return execute_lockout_ddl_modifications_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3366139b4f28860e", | |
| "remediated_ast_signature": "AST_PASS_9b3d7eeffb25363e" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_006", | |
| "title": "Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "lockout_ddl_modifications", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.lockout_ddl_modifications", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in lockout_ddl_modifications - Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:06:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through lockout_ddl_modifications.", | |
| "prevention_rule": "Enforce active static AST verification via lockout_ddl_modifications on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without lockout_ddl_modifications guard\n return execute_lockout_ddl_modifications_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via lockout_ddl_modifications\n with enforce_lockout_ddl_modifications_policy():\n return execute_lockout_ddl_modifications_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3646318235ec6c03", | |
| "remediated_ast_signature": "AST_PASS_f0c0c622cdff8e91" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_007", | |
| "title": "Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes (Variant #3)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "lockout_ddl_modifications", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.lockout_ddl_modifications", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in lockout_ddl_modifications - Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:07:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through lockout_ddl_modifications.", | |
| "prevention_rule": "Enforce active static AST verification via lockout_ddl_modifications on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without lockout_ddl_modifications guard\n return execute_lockout_ddl_modifications_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via lockout_ddl_modifications\n with enforce_lockout_ddl_modifications_policy():\n return execute_lockout_ddl_modifications_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_eaf3884a8f7e7b92", | |
| "remediated_ast_signature": "AST_PASS_2fed429f8d7f2fdc" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_008", | |
| "title": "Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes (Variant #4)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "lockout_ddl_modifications", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.lockout_ddl_modifications", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in lockout_ddl_modifications - Blocks DROP TABLE, ALTER TABLE, and TRUNCATE commands in read-only and analytical modes.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:08:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through lockout_ddl_modifications.", | |
| "prevention_rule": "Enforce active static AST verification via lockout_ddl_modifications on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without lockout_ddl_modifications guard\n return execute_lockout_ddl_modifications_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via lockout_ddl_modifications\n with enforce_lockout_ddl_modifications_policy():\n return execute_lockout_ddl_modifications_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_3a9332995bbcfceb", | |
| "remediated_ast_signature": "AST_PASS_3ec7cc3ff5495830" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_009", | |
| "title": "Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows (Variant #1)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "dry_run_explain_cost_check", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.dry_run_explain_cost_check", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in dry_run_explain_cost_check - Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:09:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through dry_run_explain_cost_check.", | |
| "prevention_rule": "Enforce active static AST verification via dry_run_explain_cost_check on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without dry_run_explain_cost_check guard\n return execute_dry_run_explain_cost_check_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via dry_run_explain_cost_check\n with enforce_dry_run_explain_cost_check_policy():\n return execute_dry_run_explain_cost_check_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_6a0d1a7e1649d1b5", | |
| "remediated_ast_signature": "AST_PASS_7c08fac81338f0a6" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_010", | |
| "title": "Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows (Variant #2)", | |
| "severity": "CRITICAL", | |
| "tool_scope": "dry_run_explain_cost_check", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.dry_run_explain_cost_check", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in dry_run_explain_cost_check - Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:10:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through dry_run_explain_cost_check.", | |
| "prevention_rule": "Enforce active static AST verification via dry_run_explain_cost_check on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without dry_run_explain_cost_check guard\n return execute_dry_run_explain_cost_check_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via dry_run_explain_cost_check\n with enforce_dry_run_explain_cost_check_policy():\n return execute_dry_run_explain_cost_check_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_f72af4fbe0847c05", | |
| "remediated_ast_signature": "AST_PASS_cecd6a1932bda992" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_011", | |
| "title": "Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "dry_run_explain_cost_check", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.dry_run_explain_cost_check", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in dry_run_explain_cost_check - Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:11:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through dry_run_explain_cost_check.", | |
| "prevention_rule": "Enforce active static AST verification via dry_run_explain_cost_check on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without dry_run_explain_cost_check guard\n return execute_dry_run_explain_cost_check_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via dry_run_explain_cost_check\n with enforce_dry_run_explain_cost_check_policy():\n return execute_dry_run_explain_cost_check_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_4af130148180c8ed", | |
| "remediated_ast_signature": "AST_PASS_ee61b84372aa9721" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_012", | |
| "title": "Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "dry_run_explain_cost_check", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.dry_run_explain_cost_check", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in dry_run_explain_cost_check - Runs EXPLAIN query first and aborts queries predicted to touch more than 1,000 rows.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:12:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through dry_run_explain_cost_check.", | |
| "prevention_rule": "Enforce active static AST verification via dry_run_explain_cost_check on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without dry_run_explain_cost_check guard\n return execute_dry_run_explain_cost_check_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via dry_run_explain_cost_check\n with enforce_dry_run_explain_cost_check_policy():\n return execute_dry_run_explain_cost_check_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_6392d2a5cd82b1ab", | |
| "remediated_ast_signature": "AST_PASS_ff5bf19e2a6534b3" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_013", | |
| "title": "Detects semicolon-delimited multiple statement chains in single query parameter (Variant #1)", | |
| "severity": "HIGH", | |
| "tool_scope": "prevent_multi_statement_sql_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.prevent_multi_statement_sql_injection", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in prevent_multi_statement_sql_injection - Detects semicolon-delimited multiple statement chains in single query parameter.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:13:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through prevent_multi_statement_sql_injection.", | |
| "prevention_rule": "Enforce active static AST verification via prevent_multi_statement_sql_injection on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without prevent_multi_statement_sql_injection guard\n return execute_prevent_multi_statement_sql_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via prevent_multi_statement_sql_injection\n with enforce_prevent_multi_statement_sql_injection_policy():\n return execute_prevent_multi_statement_sql_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_b8b97689195e1274", | |
| "remediated_ast_signature": "AST_PASS_8b29a375d43e1831" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_014", | |
| "title": "Detects semicolon-delimited multiple statement chains in single query parameter (Variant #2)", | |
| "severity": "HIGH", | |
| "tool_scope": "prevent_multi_statement_sql_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.prevent_multi_statement_sql_injection", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in prevent_multi_statement_sql_injection - Detects semicolon-delimited multiple statement chains in single query parameter.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:14:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through prevent_multi_statement_sql_injection.", | |
| "prevention_rule": "Enforce active static AST verification via prevent_multi_statement_sql_injection on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without prevent_multi_statement_sql_injection guard\n return execute_prevent_multi_statement_sql_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via prevent_multi_statement_sql_injection\n with enforce_prevent_multi_statement_sql_injection_policy():\n return execute_prevent_multi_statement_sql_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_aee178e48c28e772", | |
| "remediated_ast_signature": "AST_PASS_2434e5f6196fd178" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_015", | |
| "title": "Detects semicolon-delimited multiple statement chains in single query parameter (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "prevent_multi_statement_sql_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.prevent_multi_statement_sql_injection", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in prevent_multi_statement_sql_injection - Detects semicolon-delimited multiple statement chains in single query parameter.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:15:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through prevent_multi_statement_sql_injection.", | |
| "prevention_rule": "Enforce active static AST verification via prevent_multi_statement_sql_injection on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without prevent_multi_statement_sql_injection guard\n return execute_prevent_multi_statement_sql_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via prevent_multi_statement_sql_injection\n with enforce_prevent_multi_statement_sql_injection_policy():\n return execute_prevent_multi_statement_sql_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_f6656cd8206b1d1a", | |
| "remediated_ast_signature": "AST_PASS_5ffcbd40474862e5" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_016", | |
| "title": "Detects semicolon-delimited multiple statement chains in single query parameter (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "prevent_multi_statement_sql_injection", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.prevent_multi_statement_sql_injection", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in prevent_multi_statement_sql_injection - Detects semicolon-delimited multiple statement chains in single query parameter.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:16:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through prevent_multi_statement_sql_injection.", | |
| "prevention_rule": "Enforce active static AST verification via prevent_multi_statement_sql_injection on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without prevent_multi_statement_sql_injection guard\n return execute_prevent_multi_statement_sql_injection_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via prevent_multi_statement_sql_injection\n with enforce_prevent_multi_statement_sql_injection_policy():\n return execute_prevent_multi_statement_sql_injection_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_eb98720cbdff4ead", | |
| "remediated_ast_signature": "AST_PASS_de14d415f3ecfb17" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_017", | |
| "title": "Ensures query references only tables designated as permitted for the active task (Variant #1)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_table_access_permissions", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.audit_table_access_permissions", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in audit_table_access_permissions - Ensures query references only tables designated as permitted for the active task.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:17:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through audit_table_access_permissions.", | |
| "prevention_rule": "Enforce active static AST verification via audit_table_access_permissions on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without audit_table_access_permissions guard\n return execute_audit_table_access_permissions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via audit_table_access_permissions\n with enforce_audit_table_access_permissions_policy():\n return execute_audit_table_access_permissions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_17351c1ee8aa7097", | |
| "remediated_ast_signature": "AST_PASS_f28c1f4efa985720" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_018", | |
| "title": "Ensures query references only tables designated as permitted for the active task (Variant #2)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_table_access_permissions", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.audit_table_access_permissions", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in audit_table_access_permissions - Ensures query references only tables designated as permitted for the active task.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:18:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through audit_table_access_permissions.", | |
| "prevention_rule": "Enforce active static AST verification via audit_table_access_permissions on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without audit_table_access_permissions guard\n return execute_audit_table_access_permissions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via audit_table_access_permissions\n with enforce_audit_table_access_permissions_policy():\n return execute_audit_table_access_permissions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_64e1c206dffd3d54", | |
| "remediated_ast_signature": "AST_PASS_0fc511a819842de9" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_019", | |
| "title": "Ensures query references only tables designated as permitted for the active task (Variant #3)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_table_access_permissions", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.audit_table_access_permissions", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in audit_table_access_permissions - Ensures query references only tables designated as permitted for the active task.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:19:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through audit_table_access_permissions.", | |
| "prevention_rule": "Enforce active static AST verification via audit_table_access_permissions on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without audit_table_access_permissions guard\n return execute_audit_table_access_permissions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via audit_table_access_permissions\n with enforce_audit_table_access_permissions_policy():\n return execute_audit_table_access_permissions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_99bb1c6669567e25", | |
| "remediated_ast_signature": "AST_PASS_e12e966cb7c3f282" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_020", | |
| "title": "Ensures query references only tables designated as permitted for the active task (Variant #4)", | |
| "severity": "HIGH", | |
| "tool_scope": "audit_table_access_permissions", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.audit_table_access_permissions", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in audit_table_access_permissions - Ensures query references only tables designated as permitted for the active task.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:20:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through audit_table_access_permissions.", | |
| "prevention_rule": "Enforce active static AST verification via audit_table_access_permissions on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without audit_table_access_permissions guard\n return execute_audit_table_access_permissions_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via audit_table_access_permissions\n with enforce_audit_table_access_permissions_policy():\n return execute_audit_table_access_permissions_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_0d7da93af3c1662a", | |
| "remediated_ast_signature": "AST_PASS_fdcf580a5da5830a" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_021", | |
| "title": "Forces explicit ROLLBACK on any error, preventing partial table mutations (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "enforce_safe_transaction_commit_mode", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_safe_transaction_commit_mode", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_safe_transaction_commit_mode - Forces explicit ROLLBACK on any error, preventing partial table mutations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:21:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_safe_transaction_commit_mode.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_safe_transaction_commit_mode on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without enforce_safe_transaction_commit_mode guard\n return execute_enforce_safe_transaction_commit_mode_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via enforce_safe_transaction_commit_mode\n with enforce_enforce_safe_transaction_commit_mode_policy():\n return execute_enforce_safe_transaction_commit_mode_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_ce007334d9261182", | |
| "remediated_ast_signature": "AST_PASS_a4cd94e6ada7ee78" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_022", | |
| "title": "Forces explicit ROLLBACK on any error, preventing partial table mutations (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "enforce_safe_transaction_commit_mode", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_safe_transaction_commit_mode", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_safe_transaction_commit_mode - Forces explicit ROLLBACK on any error, preventing partial table mutations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:22:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_safe_transaction_commit_mode.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_safe_transaction_commit_mode on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without enforce_safe_transaction_commit_mode guard\n return execute_enforce_safe_transaction_commit_mode_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via enforce_safe_transaction_commit_mode\n with enforce_enforce_safe_transaction_commit_mode_policy():\n return execute_enforce_safe_transaction_commit_mode_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_52b66dc0dba7801f", | |
| "remediated_ast_signature": "AST_PASS_d2bec34e12f2e1f2" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_023", | |
| "title": "Forces explicit ROLLBACK on any error, preventing partial table mutations (Variant #3)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "enforce_safe_transaction_commit_mode", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_safe_transaction_commit_mode", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_safe_transaction_commit_mode - Forces explicit ROLLBACK on any error, preventing partial table mutations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:23:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_safe_transaction_commit_mode.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_safe_transaction_commit_mode on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without enforce_safe_transaction_commit_mode guard\n return execute_enforce_safe_transaction_commit_mode_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via enforce_safe_transaction_commit_mode\n with enforce_enforce_safe_transaction_commit_mode_policy():\n return execute_enforce_safe_transaction_commit_mode_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_d208b8257adbea7b", | |
| "remediated_ast_signature": "AST_PASS_7fc908b9ca83329e" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_024", | |
| "title": "Forces explicit ROLLBACK on any error, preventing partial table mutations (Variant #4)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "enforce_safe_transaction_commit_mode", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.enforce_safe_transaction_commit_mode", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in enforce_safe_transaction_commit_mode - Forces explicit ROLLBACK on any error, preventing partial table mutations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:24:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through enforce_safe_transaction_commit_mode.", | |
| "prevention_rule": "Enforce active static AST verification via enforce_safe_transaction_commit_mode on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without enforce_safe_transaction_commit_mode guard\n return execute_enforce_safe_transaction_commit_mode_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via enforce_safe_transaction_commit_mode\n with enforce_enforce_safe_transaction_commit_mode_policy():\n return execute_enforce_safe_transaction_commit_mode_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_6ec29764843cd226", | |
| "remediated_ast_signature": "AST_PASS_0d684138aa22176e" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_025", | |
| "title": "Requires explicit authorization token before executing approved schema migrations (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "require_mfa_token_for_schema_changes", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.require_mfa_token_for_schema_changes", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in require_mfa_token_for_schema_changes - Requires explicit authorization token before executing approved schema migrations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:25:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through require_mfa_token_for_schema_changes.", | |
| "prevention_rule": "Enforce active static AST verification via require_mfa_token_for_schema_changes on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without require_mfa_token_for_schema_changes guard\n return execute_require_mfa_token_for_schema_changes_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via require_mfa_token_for_schema_changes\n with enforce_require_mfa_token_for_schema_changes_policy():\n return execute_require_mfa_token_for_schema_changes_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_08d6669936958611", | |
| "remediated_ast_signature": "AST_PASS_dda74d70171fefe5" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_026", | |
| "title": "Requires explicit authorization token before executing approved schema migrations (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "require_mfa_token_for_schema_changes", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.require_mfa_token_for_schema_changes", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in require_mfa_token_for_schema_changes - Requires explicit authorization token before executing approved schema migrations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:26:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through require_mfa_token_for_schema_changes.", | |
| "prevention_rule": "Enforce active static AST verification via require_mfa_token_for_schema_changes on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without require_mfa_token_for_schema_changes guard\n return execute_require_mfa_token_for_schema_changes_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via require_mfa_token_for_schema_changes\n with enforce_require_mfa_token_for_schema_changes_policy():\n return execute_require_mfa_token_for_schema_changes_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_8084aee4addc42c2", | |
| "remediated_ast_signature": "AST_PASS_b8962e0fcabc8372" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_027", | |
| "title": "Requires explicit authorization token before executing approved schema migrations (Variant #3)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "require_mfa_token_for_schema_changes", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.require_mfa_token_for_schema_changes", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in require_mfa_token_for_schema_changes - Requires explicit authorization token before executing approved schema migrations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:27:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through require_mfa_token_for_schema_changes.", | |
| "prevention_rule": "Enforce active static AST verification via require_mfa_token_for_schema_changes on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_2(payload: dict):\n # Defect: Action performed without require_mfa_token_for_schema_changes guard\n return execute_require_mfa_token_for_schema_changes_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_2(payload: dict):\n # Remediated: AST policy enforced via require_mfa_token_for_schema_changes\n with enforce_require_mfa_token_for_schema_changes_policy():\n return execute_require_mfa_token_for_schema_changes_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_fefcaf0bdc412e76", | |
| "remediated_ast_signature": "AST_PASS_94bdc94fb279242e" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_028", | |
| "title": "Requires explicit authorization token before executing approved schema migrations (Variant #4)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "require_mfa_token_for_schema_changes", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.require_mfa_token_for_schema_changes", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in require_mfa_token_for_schema_changes - Requires explicit authorization token before executing approved schema migrations.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:28:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through require_mfa_token_for_schema_changes.", | |
| "prevention_rule": "Enforce active static AST verification via require_mfa_token_for_schema_changes on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_3(payload: dict):\n # Defect: Action performed without require_mfa_token_for_schema_changes guard\n return execute_require_mfa_token_for_schema_changes_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_3(payload: dict):\n # Remediated: AST policy enforced via require_mfa_token_for_schema_changes\n with enforce_require_mfa_token_for_schema_changes_policy():\n return execute_require_mfa_token_for_schema_changes_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_75468fd24fde2d90", | |
| "remediated_ast_signature": "AST_PASS_c316b353cf9c3d26" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_029", | |
| "title": "Exports audit trail of blocked destructive queries and policy compliance proofs (Variant #1)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "export_sql_lockout_audit_trail", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.export_sql_lockout_audit_trail", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in export_sql_lockout_audit_trail - Exports audit trail of blocked destructive queries and policy compliance proofs.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:29:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through export_sql_lockout_audit_trail.", | |
| "prevention_rule": "Enforce active static AST verification via export_sql_lockout_audit_trail on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_0(payload: dict):\n # Defect: Action performed without export_sql_lockout_audit_trail guard\n return execute_export_sql_lockout_audit_trail_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_0(payload: dict):\n # Remediated: AST policy enforced via export_sql_lockout_audit_trail\n with enforce_export_sql_lockout_audit_trail_policy():\n return execute_export_sql_lockout_audit_trail_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_39a4ad4f645e11cb", | |
| "remediated_ast_signature": "AST_PASS_a725f937401a2383" | |
| }, | |
| { | |
| "id": "sql_destructive_dml_ddl_lockout_guard_mcp_inc_030", | |
| "title": "Exports audit trail of blocked destructive queries and policy compliance proofs (Variant #2)", | |
| "severity": "MEDIUM", | |
| "tool_scope": "export_sql_lockout_audit_trail", | |
| "telemetry_alert": { | |
| "source": "EmgenaHighway.sql_destructive_dml_ddl_lockout_guard_mcp.export_sql_lockout_audit_trail", | |
| "error_traceback": "PolicyBreach: Unchecked operation detected in export_sql_lockout_audit_trail - Exports audit trail of blocked destructive queries and policy compliance proofs.", | |
| "cluster": "prod-sql_destructive_dml_ddl_lockout_guard_mcp-eu-central-1", | |
| "timestamp": "2026-11-22T10:30:00Z" | |
| }, | |
| "root_cause": "System attempted workflow execution without deterministic verification through export_sql_lockout_audit_trail.", | |
| "prevention_rule": "Enforce active static AST verification via export_sql_lockout_audit_trail on all runtime agentic workflows.", | |
| "buggy_code": "def handle_runtime_action_1(payload: dict):\n # Defect: Action performed without export_sql_lockout_audit_trail guard\n return execute_export_sql_lockout_audit_trail_unverified()\n", | |
| "remediated_code": "def handle_runtime_action_1(payload: dict):\n # Remediated: AST policy enforced via export_sql_lockout_audit_trail\n with enforce_export_sql_lockout_audit_trail_policy():\n return execute_export_sql_lockout_audit_trail_safely()\n", | |
| "buggy_ast_signature": "AST_DEFECT_20eae620f608dfd7", | |
| "remediated_ast_signature": "AST_PASS_e0d55f3c1b655797" | |
| } | |
| ] |