CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / AUDIT-SCAN-ERRORS-20261029.md
| 1 | <!-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> |
| 2 | # Scanner error refusal regression |
| 3 | |
| 4 | Base: b348277e4383ab1f37f45bb702ea7d4fb4363782. Linux host-only. |
| 5 | No repository-wide clean-audit conclusion is established by this fixture. |
| 6 | Issue #89 remains the owner of complete audit execution and independent review. |
| 7 | |
| 8 | `bash tools/extract/audit-error-selftest.sh` against original audit-scan.sh: |
| 9 | exit 1, `grep phase -naP returned 0, expected 2`. This is a reproduced false |
| 10 | success from an injected search-tool error, not evidence about real secrets. |
| 11 | |
| 12 | `bash tools/extract/audit-selftest.sh` against the fixed scanner: exit 0. |
| 13 | The original 17 planted detections still pass. Added controls verify: |
| 14 | - injected errors in raw-secret, raw-private, message-secret and message-private scans return 2; |
| 15 | - invalid secret/private patterns return 2; |
| 16 | - corrupted compressed content returns 2 and remains listed as unscanned; |
| 17 | - clean synthetic history returns 0; |
| 18 | - a synthetic secret in a filename containing the former formatting delimiter returns 1 and is retained. |
| 19 | |
| 20 | The fix distinguishes grep status 1 (no matches) from errors, writes matches |
| 21 | before formatting them, and uses literal output prefixes. Formatting pipeline |
| 22 | errors remain subject to pipefail. Binary-count pipeline failures are also |
| 23 | checked before classification. A dedicated CI job runs both scanner test sets. |
| 24 | |
| 25 | Tested source identities: |
| 26 | 3dfe636aa78689dcfe443e68205b49c1230f94edd2d1566f1eb5526bb4f86e2c tools/extract/audit-scan.sh |
| 27 | 4596ffdcb2f6171bc235f6855ccb0064d6827a030297e6a4983337802b61820a tools/extract/audit-selftest.sh |
| 28 | 30f8866924b793e1925d40b90157ee0fa1c6b1985de9c0ebcec5922c89d81e59 tools/extract/audit-error-selftest.sh |