The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
feat(rules): record each rule's category in taxonomy.beacon_category
Claude645bbafc7676
diff --git a/CLAUDE.md b/CLAUDE.mdindex dbdcece6..2a9376fa 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -14,7 +14,7 @@ Beacon Endpoint Agent is a local-only endpoint telemetry agent for AI runtimes.- `pkg/asymptoteobserve`: shared Go library — event schema, harness-name normalization, provenance markers, token usage, and the threat-rules engine. Imported by the CLI, the hook adapter, and the collector exporter, so a change here reaches all three.- `plugins`: TypeScript sources for the managed runtime plugins/extensions (`opencode-beacon`, `cline-beacon`, `pi-beacon`, `omp-beacon`, `openclaw-beacon`, `prime-beacon`, `omo-beacon`), each mirrored into an embedded copy under `cli/beacon/internal/endpoint/hooks/assets/`.- `agent-skills`: publishable Agent Skills plugin for the traces-to-memory workflow (`beacon-memory-recall`, `beacon-memory-distill`, `beacon-memory-promote`) with manifests for Claude Code, Agent Plugins (Codex, Copilot, VS Code, Kiro, Devin), Cursor, Kimi Code, and Gemini CLI. At the repo root, `.claude-plugin/marketplace.json` is read by most harnesses, `.cursor-plugin/marketplace.json` by Cursor, and `package.json` (`pi.skills` only) makes the repo a Pi/Prime Agent package; keep that root `package.json` free of dependencies and scripts. `cli/beacon/cmd/agent_skills_test.go` checks every `beacon` command and flag the skills name against the real command tree, so rename a command and update the skills together.-- `rules` and `spec/threat-rules`: the open rule corpus and the Threat Rules format it conforms to.+- `rules` and `spec/threat-rules`: the open rule corpus and the Threat Rules format it conforms to. Every rule's `taxonomy.beacon_category` is its directory name, and the six embedded baseline rules in `pkg/asymptoteobserve/rulestore/baseline` are byte-identical copies of their corpus rules; conformance tests enforce both.- `spec/lenses`: the Lenses format — single-file HTML views of one trace that the local dashboard runs in a sandboxed, network-less frame and feeds once through `window.beacon.getTrace()`. The contract types (`LensManifestV1`, `LensDataV1`) live in `pkg/asymptoteobserve/lens.go`, and `lens_test.go` pins the spec's examples and manifest schema to them. The dashboard builds the data in `BuildLensData` (`/api/lens-data`), lists lenses at `/api/lenses`, and serves each lens at `/lenses/frame/<id>` under the spec's CSP with `lenses/prelude.js` (which defines `window.beacon`) injected ahead of it; that route is the only one that may be framed. Built-in lenses are `cli/beacon/internal/endpoint/dashboard/lenses/*.lens.html`, and `activity` is byte-identical to the spec example (a test enforces it). The session page (`static/session.html`, `initLensTabs` in `app.js`) shows lenses as tabs fed by `/api/lens-data?session=`, which projects exactly the events that page lists; it is the host half of the protocol and closes a lens that errors, stalls, or navigates its own frame. The `beacon lenses` CLI is not built yet.- `beacon-sandbox`: harness that runs a real Claude Code session in a disposable sandbox and checks what Beacon captured. See `beacon-sandbox/AGENTS.md`.- `packaging`: macOS, Linux, and Windows packaging and deployment assets.diff --git a/pkg/asymptoteobserve/rulestore/baseline/credentials-in-curl-data.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/credentials-in-curl-data.rule.yamlindex 958e3ad8..4e81324b 100644--- a/pkg/asymptoteobserve/rulestore/baseline/credentials-in-curl-data.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/credentials-in-curl-data.rule.yaml@@ -8,6 +8,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06match: >diff --git a/pkg/asymptoteobserve/rulestore/baseline/curl-pipe-to-shell.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/curl-pipe-to-shell.rule.yamlindex e79c2c95..0839339e 100644--- a/pkg/asymptoteobserve/rulestore/baseline/curl-pipe-to-shell.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/curl-pipe-to-shell.rule.yaml@@ -8,6 +8,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM08match: >diff --git a/pkg/asymptoteobserve/rulestore/baseline/exfiltrate-system-prompt.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/exfiltrate-system-prompt.rule.yamlindex 123e93c0..17283cea 100644--- a/pkg/asymptoteobserve/rulestore/baseline/exfiltrate-system-prompt.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/exfiltrate-system-prompt.rule.yaml@@ -8,6 +8,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/pkg/asymptoteobserve/rulestore/baseline/ignore-previous-instructions.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/ignore-previous-instructions.rule.yamlindex bc64687a..c646f33a 100644--- a/pkg/asymptoteobserve/rulestore/baseline/ignore-previous-instructions.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/ignore-previous-instructions.rule.yaml@@ -8,6 +8,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/pkg/asymptoteobserve/rulestore/baseline/recursive-root-delete.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/recursive-root-delete.rule.yamlindex 7749ec3b..c5b2c49b 100644--- a/pkg/asymptoteobserve/rulestore/baseline/recursive-root-delete.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/recursive-root-delete.rule.yaml@@ -8,6 +8,7 @@ severity: criticalstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM08match: >diff --git a/pkg/asymptoteobserve/rulestore/baseline/secret-read-then-egress.rule.yaml b/pkg/asymptoteobserve/rulestore/baseline/secret-read-then-egress.rule.yamlindex b7bfab0f..bcd4e9ab 100644--- a/pkg/asymptoteobserve/rulestore/baseline/secret-read-then-egress.rule.yaml+++ b/pkg/asymptoteobserve/rulestore/baseline/secret-read-then-egress.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/pkg/asymptoteobserve/threatrules/conformance_test.go b/pkg/asymptoteobserve/threatrules/conformance_test.goindex 89bd91e0..7e50932a 100644--- a/pkg/asymptoteobserve/threatrules/conformance_test.go+++ b/pkg/asymptoteobserve/threatrules/conformance_test.go@@ -104,3 +104,44 @@ func TestPackSharedCredentialRead(t *testing.T) {// normalizeCEL collapses whitespace so YAML indentation differences do not count.func normalizeCEL(expr string) string { return strings.Join(strings.Fields(expr), " ") }++// TestPackCategoriesMatchDirectories pins taxonomy.beacon_category to the directory each rule+// lives in. The rule store keeps rules flat, so the category travels inside the rule: it is what+// groups findings by kind of risk (the Security Review lens, for one) once a rule is installed.+func TestPackCategoriesMatchDirectories(t *testing.T) {+ paths, err := filepath.Glob(filepath.Join(rulesDir(t), "*", "*.rule.yaml"))+ if err != nil || len(paths) == 0 {+ t.Fatalf("rule files: %v, %v", paths, err)+ }+ for _, path := range paths {+ rule, err := LoadRule(path)+ if err != nil {+ t.Fatalf("%s: %v", path, err)+ }+ want := filepath.Base(filepath.Dir(path))+ if got := rule.Taxonomy["beacon_category"]; got != want {+ t.Errorf("%s: taxonomy.beacon_category = %q, want its directory %q", path, got, want)+ }+ }+}++// TestBaselineRulesAreCorpusCopies keeps the embedded baseline byte-identical to the rules it was+// taken from, so a fix to a corpus rule cannot leave a stale copy in every binary.+func TestBaselineRulesAreCorpusCopies(t *testing.T) {+ baseline, err := filepath.Glob(filepath.Join(repoRoot(t), "pkg", "asymptoteobserve", "rulestore", "baseline", "*.rule.yaml"))+ if err != nil || len(baseline) == 0 {+ t.Fatalf("baseline rules: %v, %v", baseline, err)+ }+ for _, path := range baseline {+ matches, _ := filepath.Glob(filepath.Join(rulesDir(t), "*", filepath.Base(path)))+ if len(matches) != 1 {+ t.Errorf("%s: want exactly one corpus copy, found %v", filepath.Base(path), matches)+ continue+ }+ got, _ := os.ReadFile(path)+ want, _ := os.ReadFile(matches[0])+ if string(got) != string(want) {+ t.Errorf("%s differs from %s; copy the corpus rule over", path, matches[0])+ }+ }+}diff --git a/rules/agent-control/agent-permission-bypass-spawn.rule.yaml b/rules/agent-control/agent-permission-bypass-spawn.rule.yamlindex d0597d9c..b5617315 100644--- a/rules/agent-control/agent-permission-bypass-spawn.rule.yaml+++ b/rules/agent-control/agent-permission-bypass-spawn.rule.yaml@@ -16,6 +16,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: agent-controlowasp_llm: LLM06# The agent binary must appear as a command head (start of line, after a shelldiff --git a/rules/agent-control/handoff-to-second-agent-with-credentials.rule.yaml b/rules/agent-control/handoff-to-second-agent-with-credentials.rule.yamlindex 5d11e565..efae34d6 100644--- a/rules/agent-control/handoff-to-second-agent-with-credentials.rule.yaml+++ b/rules/agent-control/handoff-to-second-agent-with-credentials.rule.yaml@@ -18,6 +18,7 @@ severity: criticalstatus: experimentalposture: detecttaxonomy:+ beacon_category: agent-controlowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/agent-control/permission-scope-expansion-via-env.rule.yaml b/rules/agent-control/permission-scope-expansion-via-env.rule.yamlindex 011e00e4..5dff69c7 100644--- a/rules/agent-control/permission-scope-expansion-via-env.rule.yaml+++ b/rules/agent-control/permission-scope-expansion-via-env.rule.yaml@@ -16,6 +16,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: agent-controlowasp_llm: LLM06mitre_atlas: AML.T0051diff --git a/rules/agent-control/sandbox-escape-attempt.rule.yaml b/rules/agent-control/sandbox-escape-attempt.rule.yamlindex 2d8c8901..94697711 100644--- a/rules/agent-control/sandbox-escape-attempt.rule.yaml+++ b/rules/agent-control/sandbox-escape-attempt.rule.yaml@@ -20,6 +20,7 @@ severity: criticalstatus: experimentalposture: detecttaxonomy:+ beacon_category: agent-controlowasp_llm: LLM06mitre_atlas: AML.T0011diff --git a/rules/approval-abuse/approval-bypass-via-renamed-binary.rule.yaml b/rules/approval-abuse/approval-bypass-via-renamed-binary.rule.yamlindex 84929d68..8386bdfb 100644--- a/rules/approval-abuse/approval-bypass-via-renamed-binary.rule.yaml+++ b/rules/approval-abuse/approval-bypass-via-renamed-binary.rule.yaml@@ -21,6 +21,7 @@ severity: criticalstatus: experimentalposture: detecttaxonomy:+ beacon_category: approval-abuseowasp_llm: LLM06mitre_atlas: AML.T0051diff --git a/rules/approval-abuse/approval-denied-command-executed-anyway.rule.yaml b/rules/approval-abuse/approval-denied-command-executed-anyway.rule.yamlindex 6b7878f2..05bb8cb9 100644--- a/rules/approval-abuse/approval-denied-command-executed-anyway.rule.yaml+++ b/rules/approval-abuse/approval-denied-command-executed-anyway.rule.yaml@@ -16,6 +16,7 @@ severity: criticalstatus: stableposture: detecttaxonomy:+ beacon_category: approval-abuseowasp_llm: LLM06mitre_atlas: AML.T0051diff --git a/rules/approval-abuse/high-risk-approval-allowed-without-reason.rule.yaml b/rules/approval-abuse/high-risk-approval-allowed-without-reason.rule.yamlindex f44067d1..2a5d023c 100644--- a/rules/approval-abuse/high-risk-approval-allowed-without-reason.rule.yaml+++ b/rules/approval-abuse/high-risk-approval-allowed-without-reason.rule.yaml@@ -15,6 +15,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: approval-abuseowasp_llm: LLM06match: >diff --git a/rules/context-exfiltration/archive-then-upload.rule.yaml b/rules/context-exfiltration/archive-then-upload.rule.yamlindex 34e3e1d1..6caa18b4 100644--- a/rules/context-exfiltration/archive-then-upload.rule.yaml+++ b/rules/context-exfiltration/archive-then-upload.rule.yaml@@ -16,6 +16,7 @@ severity: mediumstatus: experimentalposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/browser-session-read-then-egress.rule.yaml b/rules/context-exfiltration/browser-session-read-then-egress.rule.yamlindex 4c72b0df..e2b0eda1 100644--- a/rules/context-exfiltration/browser-session-read-then-egress.rule.yaml+++ b/rules/context-exfiltration/browser-session-read-then-egress.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/cloud-metadata-then-egress.rule.yaml b/rules/context-exfiltration/cloud-metadata-then-egress.rule.yamlindex 88a263f0..c9628daa 100644--- a/rules/context-exfiltration/cloud-metadata-then-egress.rule.yaml+++ b/rules/context-exfiltration/cloud-metadata-then-egress.rule.yaml@@ -10,6 +10,7 @@ severity: criticalstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/credentials-in-curl-data.rule.yaml b/rules/context-exfiltration/credentials-in-curl-data.rule.yamlindex 958e3ad8..4e81324b 100644--- a/rules/context-exfiltration/credentials-in-curl-data.rule.yaml+++ b/rules/context-exfiltration/credentials-in-curl-data.rule.yaml@@ -8,6 +8,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06match: >diff --git a/rules/context-exfiltration/dns-tunnel-exfiltration.rule.yaml b/rules/context-exfiltration/dns-tunnel-exfiltration.rule.yamlindex cc8b2c80..756dceb4 100644--- a/rules/context-exfiltration/dns-tunnel-exfiltration.rule.yaml+++ b/rules/context-exfiltration/dns-tunnel-exfiltration.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/env-dump-piped-to-network.rule.yaml b/rules/context-exfiltration/env-dump-piped-to-network.rule.yamlindex 6f3d4f2c..b57d68a1 100644--- a/rules/context-exfiltration/env-dump-piped-to-network.rule.yaml+++ b/rules/context-exfiltration/env-dump-piped-to-network.rule.yaml@@ -11,6 +11,7 @@ severity: criticalstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/git-bundle-then-egress.rule.yaml b/rules/context-exfiltration/git-bundle-then-egress.rule.yamlindex 357ad8cf..46606dbd 100644--- a/rules/context-exfiltration/git-bundle-then-egress.rule.yaml+++ b/rules/context-exfiltration/git-bundle-then-egress.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/secret-read-then-destructive.rule.yaml b/rules/context-exfiltration/secret-read-then-destructive.rule.yamlindex 2e4abf78..c8c0e83e 100644--- a/rules/context-exfiltration/secret-read-then-destructive.rule.yaml+++ b/rules/context-exfiltration/secret-read-then-destructive.rule.yaml@@ -25,6 +25,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM08correlation:diff --git a/rules/context-exfiltration/secret-read-then-egress.rule.yaml b/rules/context-exfiltration/secret-read-then-egress.rule.yamlindex b7bfab0f..bcd4e9ab 100644--- a/rules/context-exfiltration/secret-read-then-egress.rule.yaml+++ b/rules/context-exfiltration/secret-read-then-egress.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/secret-read-then-external-mcp.rule.yaml b/rules/context-exfiltration/secret-read-then-external-mcp.rule.yamlindex 5360cd37..c7fc442f 100644--- a/rules/context-exfiltration/secret-read-then-external-mcp.rule.yaml+++ b/rules/context-exfiltration/secret-read-then-external-mcp.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/secret-read-then-mcp-tool-handoff.rule.yaml b/rules/context-exfiltration/secret-read-then-mcp-tool-handoff.rule.yamlindex 5d23d947..b9afb6f2 100644--- a/rules/context-exfiltration/secret-read-then-mcp-tool-handoff.rule.yaml+++ b/rules/context-exfiltration/secret-read-then-mcp-tool-handoff.rule.yaml@@ -27,6 +27,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/ssh-tunnel-egress.rule.yaml b/rules/context-exfiltration/ssh-tunnel-egress.rule.yamlindex 30fad0b4..a3625804 100644--- a/rules/context-exfiltration/ssh-tunnel-egress.rule.yaml+++ b/rules/context-exfiltration/ssh-tunnel-egress.rule.yaml@@ -17,6 +17,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/context-exfiltration/upload-to-paste-transfer-site.rule.yaml b/rules/context-exfiltration/upload-to-paste-transfer-site.rule.yamlindex 5504de08..983b8b21 100644--- a/rules/context-exfiltration/upload-to-paste-transfer-site.rule.yaml+++ b/rules/context-exfiltration/upload-to-paste-transfer-site.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: context-exfiltrationowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/credential-access/browser-session-store-read.rule.yaml b/rules/credential-access/browser-session-store-read.rule.yamlindex 75d4c2e7..fb12f374 100644--- a/rules/credential-access/browser-session-store-read.rule.yaml+++ b/rules/credential-access/browser-session-store-read.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/credential-access/credential-file-read.rule.yaml b/rules/credential-access/credential-file-read.rule.yamlindex 3d810269..7eb0288e 100644--- a/rules/credential-access/credential-file-read.rule.yaml+++ b/rules/credential-access/credential-file-read.rule.yaml@@ -10,6 +10,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/credential-access/env-secret-enumeration.rule.yaml b/rules/credential-access/env-secret-enumeration.rule.yamlindex 23370461..7376aaab 100644--- a/rules/credential-access/env-secret-enumeration.rule.yaml+++ b/rules/credential-access/env-secret-enumeration.rule.yaml@@ -10,6 +10,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/credential-access/gpg-keyring-access.rule.yaml b/rules/credential-access/gpg-keyring-access.rule.yamlindex 645bf18a..714058be 100644--- a/rules/credential-access/gpg-keyring-access.rule.yaml+++ b/rules/credential-access/gpg-keyring-access.rule.yaml@@ -15,6 +15,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/credential-access/kubernetes-secret-file-read.rule.yaml b/rules/credential-access/kubernetes-secret-file-read.rule.yamlindex 84435de0..4051bc32 100644--- a/rules/credential-access/kubernetes-secret-file-read.rule.yaml+++ b/rules/credential-access/kubernetes-secret-file-read.rule.yaml@@ -17,6 +17,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/credential-access/password-manager-db-read.rule.yaml b/rules/credential-access/password-manager-db-read.rule.yamlindex 37dab9ec..5028ef45 100644--- a/rules/credential-access/password-manager-db-read.rule.yaml+++ b/rules/credential-access/password-manager-db-read.rule.yaml@@ -14,6 +14,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM02mitre_atlas: AML.T0024diff --git a/rules/credential-access/process-table-secret-scrape.rule.yaml b/rules/credential-access/process-table-secret-scrape.rule.yamlindex 2a73aa2d..10d40dde 100644--- a/rules/credential-access/process-table-secret-scrape.rule.yaml+++ b/rules/credential-access/process-table-secret-scrape.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/credential-access/shell-history-secret-scan.rule.yaml b/rules/credential-access/shell-history-secret-scan.rule.yamlindex 294212b7..11540880 100644--- a/rules/credential-access/shell-history-secret-scan.rule.yaml+++ b/rules/credential-access/shell-history-secret-scan.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/credential-access/ssh-agent-key-enumeration.rule.yaml b/rules/credential-access/ssh-agent-key-enumeration.rule.yamlindex 7ccd0738..594f8846 100644--- a/rules/credential-access/ssh-agent-key-enumeration.rule.yaml+++ b/rules/credential-access/ssh-agent-key-enumeration.rule.yaml@@ -10,6 +10,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: credential-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/external-access/cloud-metadata-endpoint-access.rule.yaml b/rules/external-access/cloud-metadata-endpoint-access.rule.yamlindex a891af17..a40454ac 100644--- a/rules/external-access/cloud-metadata-endpoint-access.rule.yaml+++ b/rules/external-access/cloud-metadata-endpoint-access.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: external-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/external-access/external-mcp-tool-call.rule.yaml b/rules/external-access/external-mcp-tool-call.rule.yamlindex 03f318e3..41fcef19 100644--- a/rules/external-access/external-mcp-tool-call.rule.yaml+++ b/rules/external-access/external-mcp-tool-call.rule.yaml@@ -11,6 +11,7 @@ severity: lowstatus: stableposture: detecttaxonomy:+ beacon_category: external-accessowasp_llm: LLM03match: >diff --git a/rules/external-access/imds-access-via-noncurl-client.rule.yaml b/rules/external-access/imds-access-via-noncurl-client.rule.yamlindex beb39da7..31646792 100644--- a/rules/external-access/imds-access-via-noncurl-client.rule.yaml+++ b/rules/external-access/imds-access-via-noncurl-client.rule.yaml@@ -14,6 +14,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: external-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/external-access/imds-obfuscated-ip-fetch.rule.yaml b/rules/external-access/imds-obfuscated-ip-fetch.rule.yamlindex a3043761..74258a18 100644--- a/rules/external-access/imds-obfuscated-ip-fetch.rule.yaml+++ b/rules/external-access/imds-obfuscated-ip-fetch.rule.yaml@@ -14,6 +14,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: external-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/external-access/link-local-internal-target-fetch.rule.yaml b/rules/external-access/link-local-internal-target-fetch.rule.yamlindex 0f6e9df0..68853233 100644--- a/rules/external-access/link-local-internal-target-fetch.rule.yaml+++ b/rules/external-access/link-local-internal-target-fetch.rule.yaml@@ -11,6 +11,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: external-accessowasp_llm: LLM06mitre_atlas: AML.T0024diff --git a/rules/prompt-injection/covert-action-injection.rule.yaml b/rules/prompt-injection/covert-action-injection.rule.yamlindex 5f6b1aac..61ffbad9 100644--- a/rules/prompt-injection/covert-action-injection.rule.yaml+++ b/rules/prompt-injection/covert-action-injection.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/decode-and-execute-injection.rule.yaml b/rules/prompt-injection/decode-and-execute-injection.rule.yamlindex a403a74f..9bbc9e4f 100644--- a/rules/prompt-injection/decode-and-execute-injection.rule.yaml+++ b/rules/prompt-injection/decode-and-execute-injection.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/exfiltrate-context-secrets.rule.yaml b/rules/prompt-injection/exfiltrate-context-secrets.rule.yamlindex 253a8cba..9a8f219d 100644--- a/rules/prompt-injection/exfiltrate-context-secrets.rule.yaml+++ b/rules/prompt-injection/exfiltrate-context-secrets.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM07match: >diff --git a/rules/prompt-injection/exfiltrate-context-via-markdown-image.rule.yaml b/rules/prompt-injection/exfiltrate-context-via-markdown-image.rule.yamlindex 85313b5f..f35196dc 100644--- a/rules/prompt-injection/exfiltrate-context-via-markdown-image.rule.yaml+++ b/rules/prompt-injection/exfiltrate-context-via-markdown-image.rule.yaml@@ -10,6 +10,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/exfiltrate-system-prompt.rule.yaml b/rules/prompt-injection/exfiltrate-system-prompt.rule.yamlindex 123e93c0..17283cea 100644--- a/rules/prompt-injection/exfiltrate-system-prompt.rule.yaml+++ b/rules/prompt-injection/exfiltrate-system-prompt.rule.yaml@@ -8,6 +8,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/ignore-previous-instructions.rule.yaml b/rules/prompt-injection/ignore-previous-instructions.rule.yamlindex bc64687a..c646f33a 100644--- a/rules/prompt-injection/ignore-previous-instructions.rule.yaml+++ b/rules/prompt-injection/ignore-previous-instructions.rule.yaml@@ -8,6 +8,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/indirect-injection-in-tool-result.rule.yaml b/rules/prompt-injection/indirect-injection-in-tool-result.rule.yamlindex fc46917a..be3255e6 100644--- a/rules/prompt-injection/indirect-injection-in-tool-result.rule.yaml+++ b/rules/prompt-injection/indirect-injection-in-tool-result.rule.yaml@@ -16,6 +16,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/indirect-injection-new-instructions-marker.rule.yaml b/rules/prompt-injection/indirect-injection-new-instructions-marker.rule.yamlindex 9a634219..e04d149f 100644--- a/rules/prompt-injection/indirect-injection-new-instructions-marker.rule.yaml+++ b/rules/prompt-injection/indirect-injection-new-instructions-marker.rule.yaml@@ -12,6 +12,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/invisible-character-prompt-injection.rule.yaml b/rules/prompt-injection/invisible-character-prompt-injection.rule.yamlindex f2692f7a..58bd9291 100644--- a/rules/prompt-injection/invisible-character-prompt-injection.rule.yaml+++ b/rules/prompt-injection/invisible-character-prompt-injection.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/prompt-injection/mcp-poisoned-tool-description.rule.yaml b/rules/prompt-injection/mcp-poisoned-tool-description.rule.yamlindex 93a2ba9f..c6cd5863 100644--- a/rules/prompt-injection/mcp-poisoned-tool-description.rule.yaml+++ b/rules/prompt-injection/mcp-poisoned-tool-description.rule.yaml@@ -22,6 +22,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01mitre_atlas: AML.T0051diff --git a/rules/prompt-injection/role-override-jailbreak.rule.yaml b/rules/prompt-injection/role-override-jailbreak.rule.yamlindex 8f0baa67..434135b9 100644--- a/rules/prompt-injection/role-override-jailbreak.rule.yaml+++ b/rules/prompt-injection/role-override-jailbreak.rule.yaml@@ -10,6 +10,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: prompt-injectionowasp_llm: LLM01match: >diff --git a/rules/resource-consumption/disk-fill-attempt.rule.yaml b/rules/resource-consumption/disk-fill-attempt.rule.yamlindex 23190216..659e6371 100644--- a/rules/resource-consumption/disk-fill-attempt.rule.yaml+++ b/rules/resource-consumption/disk-fill-attempt.rule.yaml@@ -15,6 +15,7 @@ severity: mediumstatus: experimentalposture: detecttaxonomy:+ beacon_category: resource-consumptionowasp_llm: LLM10match: >diff --git a/rules/resource-consumption/excessive-single-call-cost.rule.yaml b/rules/resource-consumption/excessive-single-call-cost.rule.yamlindex 56b6ff5e..2d31b78e 100644--- a/rules/resource-consumption/excessive-single-call-cost.rule.yaml+++ b/rules/resource-consumption/excessive-single-call-cost.rule.yaml@@ -14,6 +14,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: resource-consumptionowasp_llm: LLM10match: >(e.event.action == "tool.completed" || e.event.action == "tool.invoked") &&diff --git a/rules/resource-consumption/fork-bomb-pattern.rule.yaml b/rules/resource-consumption/fork-bomb-pattern.rule.yamlindex 3320a9ed..ce96b691 100644--- a/rules/resource-consumption/fork-bomb-pattern.rule.yaml+++ b/rules/resource-consumption/fork-bomb-pattern.rule.yaml@@ -15,6 +15,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: resource-consumptionowasp_llm: LLM10mitre_atlas: AML.T0040diff --git a/rules/risky-command/base64-decode-piped-to-shell.rule.yaml b/rules/risky-command/base64-decode-piped-to-shell.rule.yamlindex ccd312d4..4395278d 100644--- a/rules/risky-command/base64-decode-piped-to-shell.rule.yaml+++ b/rules/risky-command/base64-decode-piped-to-shell.rule.yaml@@ -9,6 +9,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/risky-command/crontab-modification.rule.yaml b/rules/risky-command/crontab-modification.rule.yamlindex b94a47f8..849771d2 100644--- a/rules/risky-command/crontab-modification.rule.yaml+++ b/rules/risky-command/crontab-modification.rule.yaml@@ -15,6 +15,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0011diff --git a/rules/risky-command/curl-pipe-to-shell.rule.yaml b/rules/risky-command/curl-pipe-to-shell.rule.yamlindex e79c2c95..0839339e 100644--- a/rules/risky-command/curl-pipe-to-shell.rule.yaml+++ b/rules/risky-command/curl-pipe-to-shell.rule.yaml@@ -8,6 +8,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM08match: >diff --git a/rules/risky-command/kernel-module-load.rule.yaml b/rules/risky-command/kernel-module-load.rule.yamlindex dee89f38..9f4a18ac 100644--- a/rules/risky-command/kernel-module-load.rule.yaml+++ b/rules/risky-command/kernel-module-load.rule.yaml@@ -21,6 +21,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0011diff --git a/rules/risky-command/path-injection-into-login-file.rule.yaml b/rules/risky-command/path-injection-into-login-file.rule.yamlindex 44e1f370..7e70df4a 100644--- a/rules/risky-command/path-injection-into-login-file.rule.yaml+++ b/rules/risky-command/path-injection-into-login-file.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/risky-command/persistence-install-command.rule.yaml b/rules/risky-command/persistence-install-command.rule.yamlindex 8098e6ee..13813103 100644--- a/rules/risky-command/persistence-install-command.rule.yaml+++ b/rules/risky-command/persistence-install-command.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/risky-command/privileged-container-run.rule.yaml b/rules/risky-command/privileged-container-run.rule.yamlindex 1166fdac..d8a7e651 100644--- a/rules/risky-command/privileged-container-run.rule.yaml+++ b/rules/risky-command/privileged-container-run.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0050diff --git a/rules/risky-command/recursive-root-delete.rule.yaml b/rules/risky-command/recursive-root-delete.rule.yamlindex 7749ec3b..c5b2c49b 100644--- a/rules/risky-command/recursive-root-delete.rule.yaml+++ b/rules/risky-command/recursive-root-delete.rule.yaml@@ -8,6 +8,7 @@ severity: criticalstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM08match: >diff --git a/rules/risky-command/root-equivalent-group-add.rule.yaml b/rules/risky-command/root-equivalent-group-add.rule.yamlindex a95efd53..c69f7bc5 100644--- a/rules/risky-command/root-equivalent-group-add.rule.yaml+++ b/rules/risky-command/root-equivalent-group-add.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0050diff --git a/rules/risky-command/setuid-or-root-shell-escalation.rule.yaml b/rules/risky-command/setuid-or-root-shell-escalation.rule.yamlindex 423a5afc..5cd12632 100644--- a/rules/risky-command/setuid-or-root-shell-escalation.rule.yaml+++ b/rules/risky-command/setuid-or-root-shell-escalation.rule.yaml@@ -13,6 +13,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0050diff --git a/rules/risky-command/shell-escape-via-interactive-tool.rule.yaml b/rules/risky-command/shell-escape-via-interactive-tool.rule.yamlindex ba815890..c9b9cff0 100644--- a/rules/risky-command/shell-escape-via-interactive-tool.rule.yaml+++ b/rules/risky-command/shell-escape-via-interactive-tool.rule.yaml@@ -11,6 +11,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0050diff --git a/rules/risky-command/sudoers-nopasswd-tampering.rule.yaml b/rules/risky-command/sudoers-nopasswd-tampering.rule.yamlindex 854fb385..30e337f5 100644--- a/rules/risky-command/sudoers-nopasswd-tampering.rule.yaml+++ b/rules/risky-command/sudoers-nopasswd-tampering.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06mitre_atlas: AML.T0050diff --git a/rules/risky-command/world-writable-chmod.rule.yaml b/rules/risky-command/world-writable-chmod.rule.yamlindex 48873d2c..10ce4144 100644--- a/rules/risky-command/world-writable-chmod.rule.yaml+++ b/rules/risky-command/world-writable-chmod.rule.yaml@@ -11,6 +11,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: risky-commandowasp_llm: LLM06match: >diff --git a/rules/sensitive-edit/agent-control-surface-modified.rule.yaml b/rules/sensitive-edit/agent-control-surface-modified.rule.yamlindex 0fff8ab0..08982220 100644--- a/rules/sensitive-edit/agent-control-surface-modified.rule.yaml+++ b/rules/sensitive-edit/agent-control-surface-modified.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/agent-instruction-surface-modified.rule.yaml b/rules/sensitive-edit/agent-instruction-surface-modified.rule.yamlindex 815e9d80..ce09071b 100644--- a/rules/sensitive-edit/agent-instruction-surface-modified.rule.yaml+++ b/rules/sensitive-edit/agent-instruction-surface-modified.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM01mitre_atlas: AML.T0051diff --git a/rules/sensitive-edit/auth-security-code-modified.rule.yaml b/rules/sensitive-edit/auth-security-code-modified.rule.yamlindex 187da449..22fbc7ed 100644--- a/rules/sensitive-edit/auth-security-code-modified.rule.yaml+++ b/rules/sensitive-edit/auth-security-code-modified.rule.yaml@@ -13,6 +13,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM06match: >diff --git a/rules/sensitive-edit/autostart-unit-file-installed.rule.yaml b/rules/sensitive-edit/autostart-unit-file-installed.rule.yamlindex a813a218..2a6f9710 100644--- a/rules/sensitive-edit/autostart-unit-file-installed.rule.yaml+++ b/rules/sensitive-edit/autostart-unit-file-installed.rule.yaml@@ -14,6 +14,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/cicd-pipeline-file-modified.rule.yaml b/rules/sensitive-edit/cicd-pipeline-file-modified.rule.yamlindex b6737619..0dc97420 100644--- a/rules/sensitive-edit/cicd-pipeline-file-modified.rule.yaml+++ b/rules/sensitive-edit/cicd-pipeline-file-modified.rule.yaml@@ -11,6 +11,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM03match: >diff --git a/rules/sensitive-edit/container-or-iac-file-modified.rule.yaml b/rules/sensitive-edit/container-or-iac-file-modified.rule.yamlindex 9713ad5c..533c3e55 100644--- a/rules/sensitive-edit/container-or-iac-file-modified.rule.yaml+++ b/rules/sensitive-edit/container-or-iac-file-modified.rule.yaml@@ -17,6 +17,7 @@ severity: mediumstatus: experimentalposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM03mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/dependency-manifest-modified.rule.yaml b/rules/sensitive-edit/dependency-manifest-modified.rule.yamlindex 235879e7..755f2457 100644--- a/rules/sensitive-edit/dependency-manifest-modified.rule.yaml+++ b/rules/sensitive-edit/dependency-manifest-modified.rule.yaml@@ -10,6 +10,7 @@ severity: mediumstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM03match: >diff --git a/rules/sensitive-edit/direnv-envrc-modified.rule.yaml b/rules/sensitive-edit/direnv-envrc-modified.rule.yamlindex e7a23bb7..3d069b3b 100644--- a/rules/sensitive-edit/direnv-envrc-modified.rule.yaml+++ b/rules/sensitive-edit/direnv-envrc-modified.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/etc-hosts-modified.rule.yaml b/rules/sensitive-edit/etc-hosts-modified.rule.yamlindex 38769ad6..7af35080 100644--- a/rules/sensitive-edit/etc-hosts-modified.rule.yaml+++ b/rules/sensitive-edit/etc-hosts-modified.rule.yaml@@ -16,6 +16,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM06mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/shell-login-dotfile-modified.rule.yaml b/rules/sensitive-edit/shell-login-dotfile-modified.rule.yamlindex 6cdd8447..fd651e4c 100644--- a/rules/sensitive-edit/shell-login-dotfile-modified.rule.yaml+++ b/rules/sensitive-edit/shell-login-dotfile-modified.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/sensitive-edit/ssh-authorized-keys-modified.rule.yaml b/rules/sensitive-edit/ssh-authorized-keys-modified.rule.yamlindex 4b76b9bf..584c2431 100644--- a/rules/sensitive-edit/ssh-authorized-keys-modified.rule.yaml+++ b/rules/sensitive-edit/ssh-authorized-keys-modified.rule.yaml@@ -17,6 +17,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: sensitive-editowasp_llm: LLM06mitre_atlas: AML.T0011diff --git a/rules/source-control/git-config-exec-injection.rule.yaml b/rules/source-control/git-config-exec-injection.rule.yamlindex 922e26a4..864a0481 100644--- a/rules/source-control/git-config-exec-injection.rule.yaml+++ b/rules/source-control/git-config-exec-injection.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: source-controlowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/source-control/git-force-push-to-protected.rule.yaml b/rules/source-control/git-force-push-to-protected.rule.yamlindex 7af90367..d332243f 100644--- a/rules/source-control/git-force-push-to-protected.rule.yaml+++ b/rules/source-control/git-force-push-to-protected.rule.yaml@@ -18,6 +18,7 @@ severity: highstatus: experimentalposture: detecttaxonomy:+ beacon_category: source-controlowasp_llm: LLM03match: >diff --git a/rules/source-control/git-history-rewrite.rule.yaml b/rules/source-control/git-history-rewrite.rule.yamlindex 871b0495..4c84eb5a 100644--- a/rules/source-control/git-history-rewrite.rule.yaml+++ b/rules/source-control/git-history-rewrite.rule.yaml@@ -17,6 +17,7 @@ severity: mediumstatus: experimentalposture: detecttaxonomy:+ beacon_category: source-controlowasp_llm: LLM03match: >diff --git a/rules/source-control/git-hook-installed.rule.yaml b/rules/source-control/git-hook-installed.rule.yamlindex e4a87fa0..079600bd 100644--- a/rules/source-control/git-hook-installed.rule.yaml+++ b/rules/source-control/git-hook-installed.rule.yaml@@ -11,6 +11,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: source-controlowasp_llm: LLM05mitre_atlas: AML.T0011diff --git a/rules/source-control/git-remote-tampering.rule.yaml b/rules/source-control/git-remote-tampering.rule.yamlindex b924e16d..9d9f3fb1 100644--- a/rules/source-control/git-remote-tampering.rule.yaml+++ b/rules/source-control/git-remote-tampering.rule.yaml@@ -12,6 +12,7 @@ severity: highstatus: stableposture: detecttaxonomy:+ beacon_category: source-controlowasp_llm: LLM03match: >diff --git a/spec/threat-rules/SPEC.md b/spec/threat-rules/SPEC.mdindex cbcaeabc..b99117ff 100644--- a/spec/threat-rules/SPEC.md+++ b/spec/threat-rules/SPEC.md@@ -86,7 +86,7 @@ Exactly one of `match` or `correlation` must be present. Required:| `severity` | yes | `info` \| `low` \| `medium` \| `high` \| `critical` | Mirrors the event severity enum. || `status` | yes | `experimental` \| `stable` \| `deprecated` | Maturity; drives conformance gates. || `posture` | yes | `detect` \| `enforce-capable` | Observe-only vs. enforcement-eligible. Flows to `policy.enforcement`. |-| `taxonomy` | no | map<string,string> | External references (OWASP/MITRE/CVE). No runtime lookup. |+| `taxonomy` | no | map<string,string> | External references (OWASP/MITRE/CVE), plus `beacon_category`: the corpus directory the rule belongs to (`credential-access`, `prompt-injection`, ...), which survives installation into the flat rule store. No runtime lookup. || `match` | one-of | CEL string → bool | Single-event condition over `e`. || `correlation` | one-of | object | Multi-event session window (below). || `emit.reason` | yes | non-empty string | Finding explanation; flows to `policy.reason`. |