|
| 1 | +# SPDX-License-Identifier: MPL-2.0 |
| 2 | +# |
| 3 | +# .hypatia-ignore — per-rule scanner exemptions for echo-types. |
| 4 | +# |
| 5 | +# Format (one entry per line; `#` for comments): |
| 6 | +# <rule_module>/<rule_type>:<path-fragment> |
| 7 | +# The path fragment is substring-matched against each finding's |
| 8 | +# repo-relative path. Consumed by the Hypatia scanner |
| 9 | +# (lib/hypatia/scanner_suppression.ex). Only content-pattern rule |
| 10 | +# modules (e.g. code_safety) are routed through this suppression path; |
| 11 | +# structural rules (workflow_audit / honest_completion / scorecard) are |
| 12 | +# not, and must be addressed by a real fix or an upstream rule change. |
| 13 | +# |
| 14 | +# Each entry below is a verified FALSE POSITIVE. Real findings are not |
| 15 | +# silenced here. |
| 16 | + |
| 17 | +# ── code_safety/agda_postulate on Smoke.agda — FALSE POSITIVE ────────────── |
| 18 | +# The rule is a naive `\bpostulate\b` regex over raw file content that does |
| 19 | +# NOT strip comments. The only "postulate" tokens in Smoke.agda are in |
| 20 | +# COMMENTS documenting the suite's postulate-free discipline ("Zero |
| 21 | +# postulates", "never a postulate", "no funext"); there is no `postulate` |
| 22 | +# declaration. The repo's own guardrail tools/check-guardrails.sh strips |
| 23 | +# comments before checking and passes — it is the real gate (a genuine |
| 24 | +# postulate in Smoke.agda would fail it). The single real postulate in |
| 25 | +# proofs/agda (EchoImageFactorizationPropPostulated.agda) is isolated, |
| 26 | +# guardrail-exempt by design, and not imported by All.agda or Smoke.agda. |
| 27 | +# Upstream fix: agda_postulate should strip comments (see PR notes). |
| 28 | +code_safety/agda_postulate:proofs/agda/Smoke.agda |
| 29 | + |
| 30 | +# ── code_safety/js_http_url_in_code on build-banner.mjs — FALSE POSITIVE ─── |
| 31 | +# The flagged `http://` is the SVG XML namespace identifier |
| 32 | +# `xmlns="http://www.w3.org/2000/svg"` — a constant namespace URI that is |
| 33 | +# never dereferenced over the network. It MUST remain http:// (changing it |
| 34 | +# to https would be semantically wrong and break SVG handling). Not CWE-319. |
| 35 | +code_safety/js_http_url_in_code:tools/banner/build-banner.mjs |
0 commit comments