action-gate-core 0.3.1

The action-gate Gate: a pure, deterministic decision engine over a pluggable, ordered Check registry, with a stable config hash and optional common checks.
Documentation
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
{
  "spec": "001-secret-detector-parity",
  "about": "Golden vectors for action_gate_core::secrets::scan with SecretRules::default(). Offsets are UTF-8 byte offsets into text. detector and offset are null for a negative vector. Every value here is synthetic. Vectors with an aicortex source are ported from that fixture, keeping its name as the id.",
  "vectors": [
    {
      "id": "secret-anthropic-api-key",
      "detector": "anthropic-api-key",
      "offset": 25,
      "text": "Deploy notes: the key is sk-ant-QnheASvqab9yCvFTPlD_A_UsgcZ1 and the region is eu-central-1.",
      "secret": "sk-ant-QnheASvqab9yCvFTPlD_A_UsgcZ1",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-anthropic-api-key.json@a927f85"
    },
    {
      "id": "secret-aws-access-key-id",
      "detector": "aws-access-key-id",
      "offset": 25,
      "text": "Deploy notes: the key is AKIAnfM9tq3G4dqE0oeUpsoJ and the region is eu-central-1.",
      "secret": "AKIAnfM9tq3G4dqE0oeUpsoJ",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-aws-access-key-id.json@a927f85"
    },
    {
      "id": "secret-aws-temporary-access-key-id",
      "detector": "aws-temporary-access-key-id",
      "offset": 25,
      "text": "Deploy notes: the key is ASIAbs5VBtQormMgD0rlp6Da and the region is eu-central-1.",
      "secret": "ASIAbs5VBtQormMgD0rlp6Da",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-aws-temporary-access-key-id.json@a927f85"
    },
    {
      "id": "secret-digitalocean-token",
      "detector": "digitalocean-token",
      "offset": 25,
      "text": "Deploy notes: the key is dop_v1_IeGKd3cUxH8V577xSDcb0WEryhRwAgTnhnJNGiwr9sVbqOiIUz5taZG3jqzH0qn6 and the region is eu-central-1.",
      "secret": "dop_v1_IeGKd3cUxH8V577xSDcb0WEryhRwAgTnhnJNGiwr9sVbqOiIUz5taZG3jqzH0qn6",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-digitalocean-token.json@a927f85"
    },
    {
      "id": "secret-github-fine-grained-token",
      "detector": "github-fine-grained-token",
      "offset": 25,
      "text": "Deploy notes: the key is github_pat_8yl1b1W0_tEKM3umx7D5ovZiYvZzQEdRKCCYUi5LJLW0 and the region is eu-central-1.",
      "secret": "github_pat_8yl1b1W0_tEKM3umx7D5ovZiYvZzQEdRKCCYUi5LJLW0",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-fine-grained-token.json@a927f85"
    },
    {
      "id": "secret-github-oauth-token",
      "detector": "github-oauth-token",
      "offset": 25,
      "text": "Deploy notes: the key is gho_g2uow0nLrRpvoUi0cSJYzfssl6PzmgzrE4EMaaO2 and the region is eu-central-1.",
      "secret": "gho_g2uow0nLrRpvoUi0cSJYzfssl6PzmgzrE4EMaaO2",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-oauth-token.json@a927f85"
    },
    {
      "id": "secret-github-refresh-token",
      "detector": "github-refresh-token",
      "offset": 25,
      "text": "Deploy notes: the key is ghr_0ileDdxWB5jNPEluOLoCH2sOjGLYVaxEO6hnQ3xt and the region is eu-central-1.",
      "secret": "ghr_0ileDdxWB5jNPEluOLoCH2sOjGLYVaxEO6hnQ3xt",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-refresh-token.json@a927f85"
    },
    {
      "id": "secret-github-server-token",
      "detector": "github-server-token",
      "offset": 25,
      "text": "Deploy notes: the key is ghs_iG3rswCSBPRfGwwmcM6jOWkhaSutcrmDh3A0ctFZ and the region is eu-central-1.",
      "secret": "ghs_iG3rswCSBPRfGwwmcM6jOWkhaSutcrmDh3A0ctFZ",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-server-token.json@a927f85"
    },
    {
      "id": "secret-github-token",
      "detector": "github-token",
      "offset": 25,
      "text": "Deploy notes: the key is ghp_RyIdydJp2Ys2SJ2jXUBATskPzpR6QTFGlbDtQ57k and the region is eu-central-1.",
      "secret": "ghp_RyIdydJp2Ys2SJ2jXUBATskPzpR6QTFGlbDtQ57k",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-token.json@a927f85"
    },
    {
      "id": "secret-github-user-token",
      "detector": "github-user-token",
      "offset": 25,
      "text": "Deploy notes: the key is ghu_EJvSTPGck4sxOdiaQ8JBWDHybjfAIAKawWipAtGz and the region is eu-central-1.",
      "secret": "ghu_EJvSTPGck4sxOdiaQ8JBWDHybjfAIAKawWipAtGz",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-github-user-token.json@a927f85"
    },
    {
      "id": "secret-gitlab-personal-token",
      "detector": "gitlab-personal-token",
      "offset": 25,
      "text": "Deploy notes: the key is glpat-T_l2O6tdwb8-CEfI31lyDeXJ and the region is eu-central-1.",
      "secret": "glpat-T_l2O6tdwb8-CEfI31lyDeXJ",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-gitlab-personal-token.json@a927f85"
    },
    {
      "id": "secret-google-api-key",
      "detector": "google-api-key",
      "offset": 25,
      "text": "Deploy notes: the key is AIzaMLzWo5N-zXa8AcjiNbJB4-nzmPL3r0WGFtfl4xC and the region is eu-central-1.",
      "secret": "AIzaMLzWo5N-zXa8AcjiNbJB4-nzmPL3r0WGFtfl4xC",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-google-api-key.json@a927f85"
    },
    {
      "id": "secret-google-oauth-token",
      "detector": "google-oauth-token",
      "offset": 25,
      "text": "Deploy notes: the key is ya29.Ny7T6D99TIgcFYDiTCycYc9jG0zXDvzMw1N2 and the region is eu-central-1.",
      "secret": "ya29.Ny7T6D99TIgcFYDiTCycYc9jG0zXDvzMw1N2",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-google-oauth-token.json@a927f85"
    },
    {
      "id": "secret-high-entropy-token-glued",
      "detector": "high-entropy-token",
      "offset": 12,
      "text": "rotate this:Qx7mZp2Lw9Tv4Rj8Nc1Kb6Hs3Fd5Ga0Ue! before friday",
      "secret": "Qx7mZp2Lw9Tv4Rj8Nc1Kb6Hs3Fd5Ga0Ue",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-high-entropy-token-glued.json@a927f85"
    },
    {
      "id": "secret-high-entropy-token",
      "detector": "high-entropy-token",
      "offset": 30,
      "text": "The webhook signing secret is Qx7mZp2Lw9Tv4Rj8Nc1Kb6Hs3Fd5Ga0Ue for now.",
      "secret": "Qx7mZp2Lw9Tv4Rj8Nc1Kb6Hs3Fd5Ga0Ue",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-high-entropy-token.json@a927f85"
    },
    {
      "id": "secret-huggingface-token",
      "detector": "huggingface-token",
      "offset": 25,
      "text": "Deploy notes: the key is hf_hRLOIVMwxDpa5RxlDdoAlCpxJvtqGyhHhyNd and the region is eu-central-1.",
      "secret": "hf_hRLOIVMwxDpa5RxlDdoAlCpxJvtqGyhHhyNd",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-huggingface-token.json@a927f85"
    },
    {
      "id": "secret-json-web-token",
      "detector": "json-web-token",
      "offset": 41,
      "text": "Session cookie from the failing request: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkEgVGVzdGVyIn0.3NpdjXQpoZuGbe_jpO00Cc94bv2gDcIemyR6YAFJK5y",
      "secret": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-json-web-token.json@a927f85"
    },
    {
      "id": "secret-npm-token",
      "detector": "npm-token",
      "offset": 25,
      "text": "Deploy notes: the key is npm_JmkaZsF0UQ9tA0hfr5sCbnU9zuOtPERkh22iXP4G and the region is eu-central-1.",
      "secret": "npm_JmkaZsF0UQ9tA0hfr5sCbnU9zuOtPERkh22iXP4G",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-npm-token.json@a927f85"
    },
    {
      "id": "secret-openai-api-key",
      "detector": "openai-api-key",
      "offset": 25,
      "text": "Deploy notes: the key is sk-7ZFxebonN_ENHjDiMa48QjAm and the region is eu-central-1.",
      "secret": "sk-7ZFxebonN_ENHjDiMa48QjAm",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-openai-api-key.json@a927f85"
    },
    {
      "id": "secret-openssh-private-key",
      "detector": "openssh-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN OPENSSH PRIVATE KEY-----\nEmWvn7N8a/ObWt2b2cXf3lDSuYqnrUnZdv+VCciaquA3RXYtxv7HzU/QZXNyi2SL\nLoFwfY4tD0BVDGiI0FZMCOsJhZVD94u7RFLqfaK3UJ1AB7rg6EMxVWfjvEyJ30ZH\n-----END-----",
      "secret": "EmWvn7N8a/ObWt2b2cXf3lDSuYqnrUnZdv+VCciaquA3RXYtxv7HzU/QZXNyi2SL",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-openssh-private-key.json@a927f85"
    },
    {
      "id": "secret-pem-dsa-private-key",
      "detector": "pem-dsa-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN DSA PRIVATE KEY-----\nBASG6mOzumI3tgF1YrF8CIAj+qV/6sdMNKGq73QGvCVu/TZYPKRS7v8+bVNEORvE\nSEn8eV0KqhkNBerMOo5Lbgfk5RvXpY2nbUxaDttObdsA1Proo738P/s3O+6/d5tn\n-----END-----",
      "secret": "BASG6mOzumI3tgF1YrF8CIAj+qV/6sdMNKGq73QGvCVu/TZYPKRS7v8+bVNEORvE",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pem-dsa-private-key.json@a927f85"
    },
    {
      "id": "secret-pem-ec-private-key",
      "detector": "pem-ec-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN EC PRIVATE KEY-----\nYxHDDOZk7cWleSHCcms+ltfSVlgJaFdPRrhcrAdsfjF4T0ahUtjN+o/x3gbFoUHe\np+aJ102f+4mTkclYFtkBNfV/pyX0jBJhdfyrPE67DhDkFKJwbsivt1Pa+9B/hN7i\n-----END-----",
      "secret": "YxHDDOZk7cWleSHCcms+ltfSVlgJaFdPRrhcrAdsfjF4T0ahUtjN+o/x3gbFoUHe",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pem-ec-private-key.json@a927f85"
    },
    {
      "id": "secret-pem-encrypted-private-key",
      "detector": "pem-encrypted-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN ENCRYPTED PRIVATE KEY-----\nq4U3jsSNf+lHjGO62AND02DkExGEfO5Ryj27vM8v/wYR/yf7eQbBqL04+gBINF11\nMmUrOwX/01GWGzk1bEMUCk097dAWg8GOx5543rAPnsV+QfRnWGwQha1jYM6ZvUwT\n-----END-----",
      "secret": "q4U3jsSNf+lHjGO62AND02DkExGEfO5Ryj27vM8v/wYR/yf7eQbBqL04+gBINF11",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pem-encrypted-private-key.json@a927f85"
    },
    {
      "id": "secret-pem-private-key",
      "detector": "pem-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN PRIVATE KEY-----\n2o69KizTvhpDBJDuWZylYJe0GWT+rxU0LdR4mpyX68XO6+Wevu2k9fCwtPNQdiQr\nY3VN9ly6KRAuV1F0a/znOMxly63pvB8xPUHr19CYs8PBYkA2y/CCN5S4CNx0t65X\n-----END-----",
      "secret": "2o69KizTvhpDBJDuWZylYJe0GWT+rxU0LdR4mpyX68XO6+Wevu2k9fCwtPNQdiQr",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pem-private-key.json@a927f85"
    },
    {
      "id": "secret-pem-rsa-private-key",
      "detector": "pem-rsa-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN RSA PRIVATE KEY-----\n2Uiw+g6MpmbvOwDUGUJ/vE3CK1moXuaHRFHek7UqmWsHxUxHrjujN4pPbF9K7mtT\nmyuNzedruK8ooH605IR+0k4p5Yt7BjmrgGIw4MVOnueu97+h34G7TN0u5jsFH63U\n-----END-----",
      "secret": "2Uiw+g6MpmbvOwDUGUJ/vE3CK1moXuaHRFHek7UqmWsHxUxHrjujN4pPbF9K7mtT",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pem-rsa-private-key.json@a927f85"
    },
    {
      "id": "secret-pgp-private-key",
      "detector": "pgp-private-key",
      "offset": 33,
      "text": "I pasted my key here by mistake:\n-----BEGIN PGP PRIVATE KEY BLOCK-----\nUcwct0bn3YTIF1+QZCt+J3PFYsqDp6cqVm9zMZQONks89HZT5FOtSocvWpCwdda+\nOKpBMumHlt0k/aDn25348bZc8F1YRfgpD+8FmZjDXdEvxRV9LOcOvnU5D5fQGY8p\n-----END-----",
      "secret": "Ucwct0bn3YTIF1+QZCt+J3PFYsqDp6cqVm9zMZQONks89HZT5FOtSocvWpCwdda+",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-pgp-private-key.json@a927f85"
    },
    {
      "id": "secret-sendgrid-api-key",
      "detector": "sendgrid-api-key",
      "offset": 25,
      "text": "Deploy notes: the key is SG.gCqWtQBqzosP3Xp8ToVTnjYUx50P5xOqr1Fo and the region is eu-central-1.",
      "secret": "SG.gCqWtQBqzosP3Xp8ToVTnjYUx50P5xOqr1Fo",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-sendgrid-api-key.json@a927f85"
    },
    {
      "id": "secret-shopify-access-token",
      "detector": "shopify-access-token",
      "offset": 25,
      "text": "Deploy notes: the key is shpat_jZygykbDn7Dx2LliouZ816MSKhZl4s8oewfm and the region is eu-central-1.",
      "secret": "shpat_jZygykbDn7Dx2LliouZ816MSKhZl4s8oewfm",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-shopify-access-token.json@a927f85"
    },
    {
      "id": "secret-slack-app-token",
      "detector": "slack-app-token",
      "offset": 25,
      "text": "Deploy notes: the key is xapp-OnVrTopJZnRokxFLRl3YFLezpX2n and the region is eu-central-1.",
      "secret": "xapp-OnVrTopJZnRokxFLRl3YFLezpX2n",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-slack-app-token.json@a927f85"
    },
    {
      "id": "secret-slack-bot-token",
      "detector": "slack-bot-token",
      "offset": 25,
      "text": "Deploy notes: the key is xoxb-aIulg6rfYUR4fnIxSFvoO5EPXLBG and the region is eu-central-1.",
      "secret": "xoxb-aIulg6rfYUR4fnIxSFvoO5EPXLBG",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-slack-bot-token.json@a927f85"
    },
    {
      "id": "secret-slack-user-token",
      "detector": "slack-user-token",
      "offset": 25,
      "text": "Deploy notes: the key is xoxp-XMVuJY9SEeWZgGJJ28HBmGicHjNP and the region is eu-central-1.",
      "secret": "xoxp-XMVuJY9SEeWZgGJJ28HBmGicHjNP",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-slack-user-token.json@a927f85"
    },
    {
      "id": "secret-stripe-restricted-key",
      "detector": "stripe-restricted-key",
      "offset": 25,
      "text": "Deploy notes: the key is rk_live_2GlYjcxkhCjkDf8wZcJY and the region is eu-central-1.",
      "secret": "rk_live_2GlYjcxkhCjkDf8wZcJY",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-stripe-restricted-key.json@a927f85"
    },
    {
      "id": "secret-stripe-secret-key",
      "detector": "stripe-secret-key",
      "offset": 25,
      "text": "Deploy notes: the key is sk_live_fH1FKY2371C9Hgt6ELNq and the region is eu-central-1.",
      "secret": "sk_live_fH1FKY2371C9Hgt6ELNq",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-stripe-secret-key.json@a927f85"
    },
    {
      "id": "secret-supabase-service-key",
      "detector": "supabase-service-key",
      "offset": 25,
      "text": "Deploy notes: the key is sbp_oFonJEZoWRhLXa0RVkTi2AZXkkxnK3sSDQOGZJrS and the region is eu-central-1.",
      "secret": "sbp_oFonJEZoWRhLXa0RVkTi2AZXkkxnK3sSDQOGZJrS",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-supabase-service-key.json@a927f85"
    },
    {
      "id": "secret-url-embedded-credential",
      "detector": "url-embedded-credential",
      "offset": 27,
      "text": "The staging database is at postgres://svc_reporting:Tt7xQm2ZbWq9Ls4v@db.internal:5432/reports",
      "secret": "Tt7xQm2ZbWq9Ls4v",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/secret-url-embedded-credential.json@a927f85"
    },
    {
      "id": "refuse-secret-in-the-title",
      "detector": "github-token",
      "offset": 4,
      "text": "key ghp_9wQk2LmXr4Tb8Zc1Nd6Vf3Hs5Jg7Pa0Ye2Uu",
      "secret": "ghp_9wQk2LmXr4Tb8Zc1Nd6Vf3Hs5Jg7Pa0Ye2Uu",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/refuse-secret-in-the-title.json@a927f85"
    },
    {
      "id": "refuse-secret-under-an-asserted-origin",
      "detector": "aws-access-key-id",
      "offset": 25,
      "text": "From the export: AWS key AKIA4QD7XZLM2VNBKTRW, please rotate.",
      "secret": "AKIA4QD7XZLM2VNBKTRW",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/refuse-secret-under-an-asserted-origin.json@a927f85"
    },
    {
      "id": "assignment-api-key-quoted",
      "detector": "credential-assignment",
      "offset": 11,
      "text": "api_key = \"abcd1234efgh5678ijkl9012mnop3456\"",
      "secret": "abcd1234efgh5678ijkl9012mnop3456",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "assignment-secret-colon",
      "detector": "credential-assignment",
      "offset": 8,
      "text": "SECRET: q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6",
      "secret": "q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "assignment-token-glued",
      "detector": "credential-assignment",
      "offset": 13,
      "text": "export token=zx81-spectrum-c64-amiga-atari-st",
      "secret": "zx81-spectrum-c64-amiga-atari-st",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "assignment-api-dash-key-single-quote",
      "detector": "credential-assignment",
      "offset": 9,
      "text": "api-key='lowercase_value_with_digits_2026_x'",
      "secret": "lowercase_value_with_digits_2026_x",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "negative-prose-token",
      "detector": null,
      "offset": null,
      "text": "Rotate the API token before friday; the token expiry is in the runbook.",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "negative-short-assignment",
      "detector": null,
      "offset": null,
      "text": "token: short-value and secret = hunter2",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "negative-key-name-with-space",
      "detector": null,
      "offset": null,
      "text": "api key = abcdefghijklmnopqrstuvwxyz",
      "source": "action-gate:specs/001-secret-detector-parity"
    },
    {
      "id": "admit-plain-note",
      "detector": null,
      "offset": null,
      "text": "The deploy runbook lives in docs/ops/runbook.md and the on-call rota is in the team calendar.",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/admit-plain-note.json@a927f85"
    },
    {
      "id": "admit-high-entropy-but-benign",
      "detector": null,
      "offset": null,
      "text": "Reverted at commit 6f1c0b8a2d94e7135ab0c9f4e8d271635ac0be92; the run id was 01JBQ9T4XW7K3ZR2MHVCE5P8QD and the object digest sha256:3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855e.",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/admit-high-entropy-but-benign.json@a927f85"
    },
    {
      "id": "benign-identifier-01",
      "detector": null,
      "offset": null,
      "text": "6f1c0b8a2d94e7135ab0c9f4e8d271635ac0be92",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-02",
      "detector": null,
      "offset": null,
      "text": "3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855e",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-03",
      "detector": null,
      "offset": null,
      "text": "01932b7e-4f2a-7c31-9d55-0a1b2c3d4e5f",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-04",
      "detector": null,
      "offset": null,
      "text": "01JBQ9T4XW7K3ZR2MHVCE5P8QD",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-05",
      "detector": null,
      "offset": null,
      "text": "sha256:3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855e",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-06",
      "detector": null,
      "offset": null,
      "text": "getUserAccountSettingsByIdentifier",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-07",
      "detector": null,
      "offset": null,
      "text": "crates/aicortex-gate/src/secrets.rs",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-08",
      "detector": null,
      "offset": null,
      "text": "aicortex-store-0.1.0+build.20260917",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-09",
      "detector": null,
      "offset": null,
      "text": "2026-09-17T11:42:53.318374Z",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-10",
      "detector": null,
      "offset": null,
      "text": "urn:uuid:01932b7e-4f2a-7c31-9d55-0a1b2c3d4e5f",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-11",
      "detector": null,
      "offset": null,
      "text": "AAAAB3NzaC1yc2EAAAADAQABAAABgQ",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-12",
      "detector": null,
      "offset": null,
      "text": "fe80:0000:0000:0000:0204:61ff:fe9d:f156",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-13",
      "detector": null,
      "offset": null,
      "text": "ThisIsALongCamelCaseIdentifier2026",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-14",
      "detector": null,
      "offset": null,
      "text": "SCREAMING_SNAKE_CASE_CONSTANT_NAME_2",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-15",
      "detector": null,
      "offset": null,
      "text": "memory_scope_status_created_index",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-16",
      "detector": null,
      "offset": null,
      "text": "0x1f2e3d4c5b6a798807162534435261708",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-17",
      "detector": null,
      "offset": null,
      "text": "v1.24.0-rc.3+linux-arm64",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-18",
      "detector": null,
      "offset": null,
      "text": "Migration0003AddDecisionKeyTable",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-19",
      "detector": null,
      "offset": null,
      "text": "docs/design/00-lineage.md#what-was-carried",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifier-20",
      "detector": null,
      "offset": null,
      "text": "Q1FY2027PlanningOffsiteAgenda",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    },
    {
      "id": "benign-identifiers-joined",
      "detector": null,
      "offset": null,
      "text": "6f1c0b8a2d94e7135ab0c9f4e8d271635ac0be92 3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855e 01932b7e-4f2a-7c31-9d55-0a1b2c3d4e5f 01JBQ9T4XW7K3ZR2MHVCE5P8QD sha256:3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855e getUserAccountSettingsByIdentifier crates/aicortex-gate/src/secrets.rs aicortex-store-0.1.0+build.20260917 2026-09-17T11:42:53.318374Z urn:uuid:01932b7e-4f2a-7c31-9d55-0a1b2c3d4e5f AAAAB3NzaC1yc2EAAAADAQABAAABgQ fe80:0000:0000:0000:0204:61ff:fe9d:f156 ThisIsALongCamelCaseIdentifier2026 SCREAMING_SNAKE_CASE_CONSTANT_NAME_2 memory_scope_status_created_index 0x1f2e3d4c5b6a798807162534435261708 v1.24.0-rc.3+linux-arm64 Migration0003AddDecisionKeyTable docs/design/00-lineage.md#what-was-carried Q1FY2027PlanningOffsiteAgenda",
      "source": "aicortex:crates/aicortex-gate/testdata/corpus/benign-identifiers.json@a927f85"
    }
  ]
}