File size: 48,751 Bytes
0c633c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
[
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_001",
    "title": "Blocks agent container launch commands mounting /var/run/docker (Variant #1)",
    "severity": "CRITICAL",
    "tool_scope": "intercept_docker_sock_mount_request",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.intercept_docker_sock_mount_request",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_docker_sock_mount_request - Blocks agent container launch commands mounting /var/run/docker.sock into containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:01:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through intercept_docker_sock_mount_request.",
    "prevention_rule": "Enforce active static AST verification via intercept_docker_sock_mount_request on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without intercept_docker_sock_mount_request guard\n    return execute_intercept_docker_sock_mount_request_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via intercept_docker_sock_mount_request\n    with enforce_intercept_docker_sock_mount_request_policy():\n        return execute_intercept_docker_sock_mount_request_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_c9769339c345eed8",
    "remediated_ast_signature": "AST_PASS_e3728f70ed33f3d7"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_002",
    "title": "Blocks agent container launch commands mounting /var/run/docker (Variant #2)",
    "severity": "CRITICAL",
    "tool_scope": "intercept_docker_sock_mount_request",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.intercept_docker_sock_mount_request",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_docker_sock_mount_request - Blocks agent container launch commands mounting /var/run/docker.sock into containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:02:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through intercept_docker_sock_mount_request.",
    "prevention_rule": "Enforce active static AST verification via intercept_docker_sock_mount_request on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without intercept_docker_sock_mount_request guard\n    return execute_intercept_docker_sock_mount_request_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via intercept_docker_sock_mount_request\n    with enforce_intercept_docker_sock_mount_request_policy():\n        return execute_intercept_docker_sock_mount_request_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_baa276d3559f211f",
    "remediated_ast_signature": "AST_PASS_3f1a89c8999ac586"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_003",
    "title": "Blocks agent container launch commands mounting /var/run/docker (Variant #3)",
    "severity": "CRITICAL",
    "tool_scope": "intercept_docker_sock_mount_request",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.intercept_docker_sock_mount_request",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_docker_sock_mount_request - Blocks agent container launch commands mounting /var/run/docker.sock into containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:03:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through intercept_docker_sock_mount_request.",
    "prevention_rule": "Enforce active static AST verification via intercept_docker_sock_mount_request on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without intercept_docker_sock_mount_request guard\n    return execute_intercept_docker_sock_mount_request_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via intercept_docker_sock_mount_request\n    with enforce_intercept_docker_sock_mount_request_policy():\n        return execute_intercept_docker_sock_mount_request_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_00f50c7cd7b7bf44",
    "remediated_ast_signature": "AST_PASS_6583ed4d718b5ccc"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_004",
    "title": "Blocks agent container launch commands mounting /var/run/docker (Variant #4)",
    "severity": "CRITICAL",
    "tool_scope": "intercept_docker_sock_mount_request",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.intercept_docker_sock_mount_request",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in intercept_docker_sock_mount_request - Blocks agent container launch commands mounting /var/run/docker.sock into containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:04:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through intercept_docker_sock_mount_request.",
    "prevention_rule": "Enforce active static AST verification via intercept_docker_sock_mount_request on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without intercept_docker_sock_mount_request guard\n    return execute_intercept_docker_sock_mount_request_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via intercept_docker_sock_mount_request\n    with enforce_intercept_docker_sock_mount_request_policy():\n        return execute_intercept_docker_sock_mount_request_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_5cce6500899f8d3e",
    "remediated_ast_signature": "AST_PASS_c6297de56d109651"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_005",
    "title": "Rejects docker run --privileged flags that expose host devices to container escape (Variant #1)",
    "severity": "CRITICAL",
    "tool_scope": "detect_privileged_container_flag",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.detect_privileged_container_flag",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in detect_privileged_container_flag - Rejects docker run --privileged flags that expose host devices to container escape.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:05:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through detect_privileged_container_flag.",
    "prevention_rule": "Enforce active static AST verification via detect_privileged_container_flag on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without detect_privileged_container_flag guard\n    return execute_detect_privileged_container_flag_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via detect_privileged_container_flag\n    with enforce_detect_privileged_container_flag_policy():\n        return execute_detect_privileged_container_flag_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_edece5cca9fe7d85",
    "remediated_ast_signature": "AST_PASS_11400d83f95f4882"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_006",
    "title": "Rejects docker run --privileged flags that expose host devices to container escape (Variant #2)",
    "severity": "CRITICAL",
    "tool_scope": "detect_privileged_container_flag",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.detect_privileged_container_flag",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in detect_privileged_container_flag - Rejects docker run --privileged flags that expose host devices to container escape.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:06:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through detect_privileged_container_flag.",
    "prevention_rule": "Enforce active static AST verification via detect_privileged_container_flag on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without detect_privileged_container_flag guard\n    return execute_detect_privileged_container_flag_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via detect_privileged_container_flag\n    with enforce_detect_privileged_container_flag_policy():\n        return execute_detect_privileged_container_flag_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_2e5656eec2ef0400",
    "remediated_ast_signature": "AST_PASS_9cef8f09b71356e6"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_007",
    "title": "Rejects docker run --privileged flags that expose host devices to container escape (Variant #3)",
    "severity": "CRITICAL",
    "tool_scope": "detect_privileged_container_flag",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.detect_privileged_container_flag",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in detect_privileged_container_flag - Rejects docker run --privileged flags that expose host devices to container escape.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:07:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through detect_privileged_container_flag.",
    "prevention_rule": "Enforce active static AST verification via detect_privileged_container_flag on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without detect_privileged_container_flag guard\n    return execute_detect_privileged_container_flag_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via detect_privileged_container_flag\n    with enforce_detect_privileged_container_flag_policy():\n        return execute_detect_privileged_container_flag_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_ef04541340998229",
    "remediated_ast_signature": "AST_PASS_cd9a7efb8cc6d785"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_008",
    "title": "Rejects docker run --privileged flags that expose host devices to container escape (Variant #4)",
    "severity": "CRITICAL",
    "tool_scope": "detect_privileged_container_flag",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.detect_privileged_container_flag",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in detect_privileged_container_flag - Rejects docker run --privileged flags that expose host devices to container escape.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:08:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through detect_privileged_container_flag.",
    "prevention_rule": "Enforce active static AST verification via detect_privileged_container_flag on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without detect_privileged_container_flag guard\n    return execute_detect_privileged_container_flag_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via detect_privileged_container_flag\n    with enforce_detect_privileged_container_flag_policy():\n        return execute_detect_privileged_container_flag_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_0329c20ef35f3374",
    "remediated_ast_signature": "AST_PASS_a095347a6182695d"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_009",
    "title": "Mandates --read-only root filesystem on agent execution sandbox containers (Variant #1)",
    "severity": "CRITICAL",
    "tool_scope": "enforce_docker_readonly_rootfs",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.enforce_docker_readonly_rootfs",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_docker_readonly_rootfs - Mandates --read-only root filesystem on agent execution sandbox containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:09:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through enforce_docker_readonly_rootfs.",
    "prevention_rule": "Enforce active static AST verification via enforce_docker_readonly_rootfs on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without enforce_docker_readonly_rootfs guard\n    return execute_enforce_docker_readonly_rootfs_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via enforce_docker_readonly_rootfs\n    with enforce_enforce_docker_readonly_rootfs_policy():\n        return execute_enforce_docker_readonly_rootfs_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_30b5d786e8c226d5",
    "remediated_ast_signature": "AST_PASS_06c16e01be65ba6b"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_010",
    "title": "Mandates --read-only root filesystem on agent execution sandbox containers (Variant #2)",
    "severity": "CRITICAL",
    "tool_scope": "enforce_docker_readonly_rootfs",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.enforce_docker_readonly_rootfs",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_docker_readonly_rootfs - Mandates --read-only root filesystem on agent execution sandbox containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:10:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through enforce_docker_readonly_rootfs.",
    "prevention_rule": "Enforce active static AST verification via enforce_docker_readonly_rootfs on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without enforce_docker_readonly_rootfs guard\n    return execute_enforce_docker_readonly_rootfs_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via enforce_docker_readonly_rootfs\n    with enforce_enforce_docker_readonly_rootfs_policy():\n        return execute_enforce_docker_readonly_rootfs_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_796bae978c3833c1",
    "remediated_ast_signature": "AST_PASS_debe67bb36c210ae"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_011",
    "title": "Mandates --read-only root filesystem on agent execution sandbox containers (Variant #3)",
    "severity": "HIGH",
    "tool_scope": "enforce_docker_readonly_rootfs",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.enforce_docker_readonly_rootfs",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_docker_readonly_rootfs - Mandates --read-only root filesystem on agent execution sandbox containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:11:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through enforce_docker_readonly_rootfs.",
    "prevention_rule": "Enforce active static AST verification via enforce_docker_readonly_rootfs on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without enforce_docker_readonly_rootfs guard\n    return execute_enforce_docker_readonly_rootfs_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via enforce_docker_readonly_rootfs\n    with enforce_enforce_docker_readonly_rootfs_policy():\n        return execute_enforce_docker_readonly_rootfs_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_0b94504b110e114e",
    "remediated_ast_signature": "AST_PASS_16d2133800098ff3"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_012",
    "title": "Mandates --read-only root filesystem on agent execution sandbox containers (Variant #4)",
    "severity": "HIGH",
    "tool_scope": "enforce_docker_readonly_rootfs",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.enforce_docker_readonly_rootfs",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in enforce_docker_readonly_rootfs - Mandates --read-only root filesystem on agent execution sandbox containers.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:12:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through enforce_docker_readonly_rootfs.",
    "prevention_rule": "Enforce active static AST verification via enforce_docker_readonly_rootfs on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without enforce_docker_readonly_rootfs guard\n    return execute_enforce_docker_readonly_rootfs_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via enforce_docker_readonly_rootfs\n    with enforce_enforce_docker_readonly_rootfs_policy():\n        return execute_enforce_docker_readonly_rootfs_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_f21022b33372cbb3",
    "remediated_ast_signature": "AST_PASS_061de92812032ac0"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_013",
    "title": "Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN (Variant #1)",
    "severity": "HIGH",
    "tool_scope": "audit_container_cap_add_sys_admin",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.audit_container_cap_add_sys_admin",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_container_cap_add_sys_admin - Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:13:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through audit_container_cap_add_sys_admin.",
    "prevention_rule": "Enforce active static AST verification via audit_container_cap_add_sys_admin on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without audit_container_cap_add_sys_admin guard\n    return execute_audit_container_cap_add_sys_admin_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via audit_container_cap_add_sys_admin\n    with enforce_audit_container_cap_add_sys_admin_policy():\n        return execute_audit_container_cap_add_sys_admin_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_5765d8999ea7f01b",
    "remediated_ast_signature": "AST_PASS_11f252afbb19aba1"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_014",
    "title": "Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN (Variant #2)",
    "severity": "HIGH",
    "tool_scope": "audit_container_cap_add_sys_admin",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.audit_container_cap_add_sys_admin",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_container_cap_add_sys_admin - Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:14:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through audit_container_cap_add_sys_admin.",
    "prevention_rule": "Enforce active static AST verification via audit_container_cap_add_sys_admin on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without audit_container_cap_add_sys_admin guard\n    return execute_audit_container_cap_add_sys_admin_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via audit_container_cap_add_sys_admin\n    with enforce_audit_container_cap_add_sys_admin_policy():\n        return execute_audit_container_cap_add_sys_admin_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_f329009da4e0f384",
    "remediated_ast_signature": "AST_PASS_6371573005275fd9"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_015",
    "title": "Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN (Variant #3)",
    "severity": "HIGH",
    "tool_scope": "audit_container_cap_add_sys_admin",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.audit_container_cap_add_sys_admin",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_container_cap_add_sys_admin - Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:15:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through audit_container_cap_add_sys_admin.",
    "prevention_rule": "Enforce active static AST verification via audit_container_cap_add_sys_admin on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without audit_container_cap_add_sys_admin guard\n    return execute_audit_container_cap_add_sys_admin_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via audit_container_cap_add_sys_admin\n    with enforce_audit_container_cap_add_sys_admin_policy():\n        return execute_audit_container_cap_add_sys_admin_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_389b961965caec14",
    "remediated_ast_signature": "AST_PASS_66e8ce90b25f4f07"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_016",
    "title": "Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN (Variant #4)",
    "severity": "HIGH",
    "tool_scope": "audit_container_cap_add_sys_admin",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.audit_container_cap_add_sys_admin",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in audit_container_cap_add_sys_admin - Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:16:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through audit_container_cap_add_sys_admin.",
    "prevention_rule": "Enforce active static AST verification via audit_container_cap_add_sys_admin on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without audit_container_cap_add_sys_admin guard\n    return execute_audit_container_cap_add_sys_admin_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via audit_container_cap_add_sys_admin\n    with enforce_audit_container_cap_add_sys_admin_policy():\n        return execute_audit_container_cap_add_sys_admin_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_45e607613d61c7c9",
    "remediated_ast_signature": "AST_PASS_51f374615c785b16"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_017",
    "title": "Prevents use of --pid=host or --net=host to isolate agent container namespace (Variant #1)",
    "severity": "HIGH",
    "tool_scope": "quarantine_host_pid_network_namespace",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.quarantine_host_pid_network_namespace",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_host_pid_network_namespace - Prevents use of --pid=host or --net=host to isolate agent container namespace.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:17:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through quarantine_host_pid_network_namespace.",
    "prevention_rule": "Enforce active static AST verification via quarantine_host_pid_network_namespace on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without quarantine_host_pid_network_namespace guard\n    return execute_quarantine_host_pid_network_namespace_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via quarantine_host_pid_network_namespace\n    with enforce_quarantine_host_pid_network_namespace_policy():\n        return execute_quarantine_host_pid_network_namespace_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_ca84f8470e17bbee",
    "remediated_ast_signature": "AST_PASS_f9e55b22d1a8f941"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_018",
    "title": "Prevents use of --pid=host or --net=host to isolate agent container namespace (Variant #2)",
    "severity": "HIGH",
    "tool_scope": "quarantine_host_pid_network_namespace",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.quarantine_host_pid_network_namespace",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_host_pid_network_namespace - Prevents use of --pid=host or --net=host to isolate agent container namespace.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:18:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through quarantine_host_pid_network_namespace.",
    "prevention_rule": "Enforce active static AST verification via quarantine_host_pid_network_namespace on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without quarantine_host_pid_network_namespace guard\n    return execute_quarantine_host_pid_network_namespace_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via quarantine_host_pid_network_namespace\n    with enforce_quarantine_host_pid_network_namespace_policy():\n        return execute_quarantine_host_pid_network_namespace_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_6dafadd81934ec06",
    "remediated_ast_signature": "AST_PASS_3d96c95cc11a3672"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_019",
    "title": "Prevents use of --pid=host or --net=host to isolate agent container namespace (Variant #3)",
    "severity": "HIGH",
    "tool_scope": "quarantine_host_pid_network_namespace",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.quarantine_host_pid_network_namespace",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_host_pid_network_namespace - Prevents use of --pid=host or --net=host to isolate agent container namespace.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:19:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through quarantine_host_pid_network_namespace.",
    "prevention_rule": "Enforce active static AST verification via quarantine_host_pid_network_namespace on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without quarantine_host_pid_network_namespace guard\n    return execute_quarantine_host_pid_network_namespace_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via quarantine_host_pid_network_namespace\n    with enforce_quarantine_host_pid_network_namespace_policy():\n        return execute_quarantine_host_pid_network_namespace_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_44252814b053fc02",
    "remediated_ast_signature": "AST_PASS_5b350708aa753b72"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_020",
    "title": "Prevents use of --pid=host or --net=host to isolate agent container namespace (Variant #4)",
    "severity": "HIGH",
    "tool_scope": "quarantine_host_pid_network_namespace",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.quarantine_host_pid_network_namespace",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in quarantine_host_pid_network_namespace - Prevents use of --pid=host or --net=host to isolate agent container namespace.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:20:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through quarantine_host_pid_network_namespace.",
    "prevention_rule": "Enforce active static AST verification via quarantine_host_pid_network_namespace on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without quarantine_host_pid_network_namespace guard\n    return execute_quarantine_host_pid_network_namespace_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via quarantine_host_pid_network_namespace\n    with enforce_quarantine_host_pid_network_namespace_policy():\n        return execute_quarantine_host_pid_network_namespace_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_39a6e7a4d25f9831",
    "remediated_ast_signature": "AST_PASS_61ace379ffa24f8f"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_021",
    "title": "Verifies Dockerfiles declare a dedicated non-root USER before entrypoint (Variant #1)",
    "severity": "MEDIUM",
    "tool_scope": "fuzz_dockerfile_ast_for_root_user",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.fuzz_dockerfile_ast_for_root_user",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_dockerfile_ast_for_root_user - Verifies Dockerfiles declare a dedicated non-root USER before entrypoint.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:21:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through fuzz_dockerfile_ast_for_root_user.",
    "prevention_rule": "Enforce active static AST verification via fuzz_dockerfile_ast_for_root_user on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without fuzz_dockerfile_ast_for_root_user guard\n    return execute_fuzz_dockerfile_ast_for_root_user_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via fuzz_dockerfile_ast_for_root_user\n    with enforce_fuzz_dockerfile_ast_for_root_user_policy():\n        return execute_fuzz_dockerfile_ast_for_root_user_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_af3ec0dbfd4f7ee2",
    "remediated_ast_signature": "AST_PASS_d1f01aeaf5074f52"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_022",
    "title": "Verifies Dockerfiles declare a dedicated non-root USER before entrypoint (Variant #2)",
    "severity": "MEDIUM",
    "tool_scope": "fuzz_dockerfile_ast_for_root_user",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.fuzz_dockerfile_ast_for_root_user",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_dockerfile_ast_for_root_user - Verifies Dockerfiles declare a dedicated non-root USER before entrypoint.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:22:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through fuzz_dockerfile_ast_for_root_user.",
    "prevention_rule": "Enforce active static AST verification via fuzz_dockerfile_ast_for_root_user on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without fuzz_dockerfile_ast_for_root_user guard\n    return execute_fuzz_dockerfile_ast_for_root_user_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via fuzz_dockerfile_ast_for_root_user\n    with enforce_fuzz_dockerfile_ast_for_root_user_policy():\n        return execute_fuzz_dockerfile_ast_for_root_user_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_0944d21d12050445",
    "remediated_ast_signature": "AST_PASS_5725f47174d5baac"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_023",
    "title": "Verifies Dockerfiles declare a dedicated non-root USER before entrypoint (Variant #3)",
    "severity": "MEDIUM",
    "tool_scope": "fuzz_dockerfile_ast_for_root_user",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.fuzz_dockerfile_ast_for_root_user",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_dockerfile_ast_for_root_user - Verifies Dockerfiles declare a dedicated non-root USER before entrypoint.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:23:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through fuzz_dockerfile_ast_for_root_user.",
    "prevention_rule": "Enforce active static AST verification via fuzz_dockerfile_ast_for_root_user on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without fuzz_dockerfile_ast_for_root_user guard\n    return execute_fuzz_dockerfile_ast_for_root_user_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via fuzz_dockerfile_ast_for_root_user\n    with enforce_fuzz_dockerfile_ast_for_root_user_policy():\n        return execute_fuzz_dockerfile_ast_for_root_user_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_e932589cd3f6c562",
    "remediated_ast_signature": "AST_PASS_ebede03fdf03204a"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_024",
    "title": "Verifies Dockerfiles declare a dedicated non-root USER before entrypoint (Variant #4)",
    "severity": "MEDIUM",
    "tool_scope": "fuzz_dockerfile_ast_for_root_user",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.fuzz_dockerfile_ast_for_root_user",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in fuzz_dockerfile_ast_for_root_user - Verifies Dockerfiles declare a dedicated non-root USER before entrypoint.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:24:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through fuzz_dockerfile_ast_for_root_user.",
    "prevention_rule": "Enforce active static AST verification via fuzz_dockerfile_ast_for_root_user on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without fuzz_dockerfile_ast_for_root_user guard\n    return execute_fuzz_dockerfile_ast_for_root_user_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via fuzz_dockerfile_ast_for_root_user\n    with enforce_fuzz_dockerfile_ast_for_root_user_policy():\n        return execute_fuzz_dockerfile_ast_for_root_user_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_fbe56910ea9325bd",
    "remediated_ast_signature": "AST_PASS_f15c9f8032c84ae8"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_025",
    "title": "Ensures docker build uses BuildKit --secret instead of ARG for credentials (Variant #1)",
    "severity": "MEDIUM",
    "tool_scope": "sanitize_docker_build_secret_mounts",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.sanitize_docker_build_secret_mounts",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_docker_build_secret_mounts - Ensures docker build uses BuildKit --secret instead of ARG for credentials.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:25:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through sanitize_docker_build_secret_mounts.",
    "prevention_rule": "Enforce active static AST verification via sanitize_docker_build_secret_mounts on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without sanitize_docker_build_secret_mounts guard\n    return execute_sanitize_docker_build_secret_mounts_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via sanitize_docker_build_secret_mounts\n    with enforce_sanitize_docker_build_secret_mounts_policy():\n        return execute_sanitize_docker_build_secret_mounts_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_9f1644b91a91bb78",
    "remediated_ast_signature": "AST_PASS_6e6ee051aca3dbc4"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_026",
    "title": "Ensures docker build uses BuildKit --secret instead of ARG for credentials (Variant #2)",
    "severity": "MEDIUM",
    "tool_scope": "sanitize_docker_build_secret_mounts",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.sanitize_docker_build_secret_mounts",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_docker_build_secret_mounts - Ensures docker build uses BuildKit --secret instead of ARG for credentials.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:26:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through sanitize_docker_build_secret_mounts.",
    "prevention_rule": "Enforce active static AST verification via sanitize_docker_build_secret_mounts on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without sanitize_docker_build_secret_mounts guard\n    return execute_sanitize_docker_build_secret_mounts_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via sanitize_docker_build_secret_mounts\n    with enforce_sanitize_docker_build_secret_mounts_policy():\n        return execute_sanitize_docker_build_secret_mounts_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_21ca6ab8bb21bacc",
    "remediated_ast_signature": "AST_PASS_7f5b38b240e71fce"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_027",
    "title": "Ensures docker build uses BuildKit --secret instead of ARG for credentials (Variant #3)",
    "severity": "MEDIUM",
    "tool_scope": "sanitize_docker_build_secret_mounts",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.sanitize_docker_build_secret_mounts",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_docker_build_secret_mounts - Ensures docker build uses BuildKit --secret instead of ARG for credentials.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:27:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through sanitize_docker_build_secret_mounts.",
    "prevention_rule": "Enforce active static AST verification via sanitize_docker_build_secret_mounts on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_2(payload: dict):\n    # Defect: Action performed without sanitize_docker_build_secret_mounts guard\n    return execute_sanitize_docker_build_secret_mounts_unverified()\n",
    "remediated_code": "def handle_runtime_action_2(payload: dict):\n    # Remediated: AST policy enforced via sanitize_docker_build_secret_mounts\n    with enforce_sanitize_docker_build_secret_mounts_policy():\n        return execute_sanitize_docker_build_secret_mounts_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_7931ea7298ddba15",
    "remediated_ast_signature": "AST_PASS_c7047b13b921f9e6"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_028",
    "title": "Ensures docker build uses BuildKit --secret instead of ARG for credentials (Variant #4)",
    "severity": "MEDIUM",
    "tool_scope": "sanitize_docker_build_secret_mounts",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.sanitize_docker_build_secret_mounts",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in sanitize_docker_build_secret_mounts - Ensures docker build uses BuildKit --secret instead of ARG for credentials.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:28:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through sanitize_docker_build_secret_mounts.",
    "prevention_rule": "Enforce active static AST verification via sanitize_docker_build_secret_mounts on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_3(payload: dict):\n    # Defect: Action performed without sanitize_docker_build_secret_mounts guard\n    return execute_sanitize_docker_build_secret_mounts_unverified()\n",
    "remediated_code": "def handle_runtime_action_3(payload: dict):\n    # Remediated: AST policy enforced via sanitize_docker_build_secret_mounts\n    with enforce_sanitize_docker_build_secret_mounts_policy():\n        return execute_sanitize_docker_build_secret_mounts_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_cd68f19645a69d07",
    "remediated_ast_signature": "AST_PASS_2de604de983ecad3"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_029",
    "title": "Kills container via seccomp filter if unauthorized kernel syscalls are invoked (Variant #1)",
    "severity": "MEDIUM",
    "tool_scope": "circuit_break_container_escape_syscall",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.circuit_break_container_escape_syscall",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in circuit_break_container_escape_syscall - Kills container via seccomp filter if unauthorized kernel syscalls are invoked.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:29:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through circuit_break_container_escape_syscall.",
    "prevention_rule": "Enforce active static AST verification via circuit_break_container_escape_syscall on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_0(payload: dict):\n    # Defect: Action performed without circuit_break_container_escape_syscall guard\n    return execute_circuit_break_container_escape_syscall_unverified()\n",
    "remediated_code": "def handle_runtime_action_0(payload: dict):\n    # Remediated: AST policy enforced via circuit_break_container_escape_syscall\n    with enforce_circuit_break_container_escape_syscall_policy():\n        return execute_circuit_break_container_escape_syscall_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_7c4d0d67c129fb00",
    "remediated_ast_signature": "AST_PASS_836d55631f432716"
  },
  {
    "id": "agent_docker_daemon_socket_mount_escape_shield_inc_030",
    "title": "Kills container via seccomp filter if unauthorized kernel syscalls are invoked (Variant #2)",
    "severity": "MEDIUM",
    "tool_scope": "circuit_break_container_escape_syscall",
    "telemetry_alert": {
      "source": "EmgenaSentinel.agent_docker_daemon_socket_mount_escape_shield.circuit_break_container_escape_syscall",
      "error_traceback": "PolicyBreach: Unauthorized operation detected in circuit_break_container_escape_syscall - Kills container via seccomp filter if unauthorized kernel syscalls are invoked.",
      "cluster": "prod-agent_docker_daemon_socket_mount_escape_shield-eu-central-1",
      "timestamp": "2026-11-21T08:30:00Z"
    },
    "root_cause": "System attempted workflow execution without AST policy verification through circuit_break_container_escape_syscall.",
    "prevention_rule": "Enforce active static AST verification via circuit_break_container_escape_syscall on all runtime workflows.",
    "buggy_code": "def handle_runtime_action_1(payload: dict):\n    # Defect: Action performed without circuit_break_container_escape_syscall guard\n    return execute_circuit_break_container_escape_syscall_unverified()\n",
    "remediated_code": "def handle_runtime_action_1(payload: dict):\n    # Remediated: AST policy enforced via circuit_break_container_escape_syscall\n    with enforce_circuit_break_container_escape_syscall_policy():\n        return execute_circuit_break_container_escape_syscall_safely()\n",
    "buggy_ast_signature": "AST_DEFECT_ae25e10330ba3389",
    "remediated_ast_signature": "AST_PASS_4c0e9563c396a09d"
  }
]