Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(security): pin the semgrep ceiling at CI's measurement, 111/44

beenuar44a178864437
diff --git a/.security/allowlist.yml b/.security/allowlist.yml
index 8d3b06b93..cebe36e7b 100644
--- a/.security/allowlist.yml
+++ b/.security/allowlist.yml
@@ -231,26 +231,32 @@ ceilings:
# ceiling: `text()` with every value bound, which three gates hold
# (check_text_bind_casts, check_raw_sql_columns,
# check_tenant_query_predicates). Counting it beats suppressing it.
- # 110/44 -> 110/43, and the rules are no longer a moving target
+ # 110/44 -> 111/44, and the rules are no longer a moving target
# (issue #1099, closed by this change). The registry packs the scan
# fetched at run time are vendored under .security/semgrep/ and the
# ceiling is now bound to their combined digest via `rules_sha256`,
# verified by the ratchet the same way `measured_with` is — so from here
# a count can only move when this tree moves, or when someone refreshes
# the packs with scripts/vendor_semgrep_packs.py and re-measures both
- # numbers in the same change. The ERROR count moving 44 -> 43 in the act
- # of pinning is itself the closing exhibit: 44 was measured against the
- # registry state of an earlier week, 43 against the vendored state of
- # 2026-10-17, and nothing in services/ apps/ packages/ scripts/ changed
- # between them.
+ # numbers in the same change. The totals moving in the act of pinning is
+ # itself the closing exhibit: 110/44 was measured against the registry
+ # state of an earlier week, 111/44 against the vendored state of
+ # 2026-10-17, with no scanned file changing in between.
+ #
+ # Both numbers here were measured by this gate in CI, per the rule at the
+ # top of this section. Worth recording because it narrows the attribution
+ # hunt below: a local macOS run of the *identical* rules digest and
+ # binary read 110/43 against CI's 111/44 — one finding apart in both
+ # buckets on the same tree. Platform is a variable the count depends on,
+ # so never pin a ceiling from a laptop measurement.
#
# What this does NOT close: the scanner's own one-run-in-twenty +/-1,
# measured further down on identical rule sets and identical trees. That
# is the reason `Semgrep (ratcheted)` stays unrequired, and it is
# unchanged by pinning the rules; requiring the job still waits on that
# +/-1 being attributed and eliminated.
- total: 110
- error: 43
+ total: 111
+ error: 44
measured_with: "1.86.0"
rules_sha256: "5af76658e7e28b96b1099d2c995d7c85b3b9a4f96795a39df3d02aa7d295cb99"
checkov: