Commit e82d211
feat(panicbot): PA021 ProofDrift mapping + suppressed field on WeakPoint
Add PA021 rule mapping for the new ProofDrift weak point category
(formal verification drift: sorry/Admitted/believe_me/oops/trustMe etc.).
Fleet category: static-analysis/proof-drift. Confidence 0.92, Control tier.
Add suppressed: bool field to WeakPoint (serde(default)) so panicbot can
parse reports from panic-attack v2.1.0+ without breaking on older JSON.
translate_all() filters suppressed=true findings — the logic engine marked
them as likely false positives from defensive patterns. Full audit trail
preserved in the raw report; only active findings reach fleet dispatch.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent db51e9d commit e82d211
3 files changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
226 | 239 | | |
227 | 240 | | |
228 | 241 | | |
| |||
435 | 448 | | |
436 | 449 | | |
437 | 450 | | |
| 451 | + | |
438 | 452 | | |
439 | 453 | | |
440 | 454 | | |
| |||
458 | 472 | | |
459 | 473 | | |
460 | 474 | | |
| 475 | + | |
461 | 476 | | |
462 | 477 | | |
463 | 478 | | |
| |||
476 | 491 | | |
477 | 492 | | |
478 | 493 | | |
| 494 | + | |
479 | 495 | | |
480 | 496 | | |
481 | 497 | | |
| |||
497 | 513 | | |
498 | 514 | | |
499 | 515 | | |
| 516 | + | |
500 | 517 | | |
501 | 518 | | |
502 | 519 | | |
503 | 520 | | |
504 | 521 | | |
505 | 522 | | |
506 | 523 | | |
| 524 | + | |
507 | 525 | | |
508 | 526 | | |
509 | 527 | | |
| |||
528 | 546 | | |
529 | 547 | | |
530 | 548 | | |
| 549 | + | |
531 | 550 | | |
532 | 551 | | |
533 | 552 | | |
| |||
538 | 557 | | |
539 | 558 | | |
540 | 559 | | |
| 560 | + | |
541 | 561 | | |
542 | 562 | | |
543 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| 307 | + | |
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
| |||
0 commit comments