From 87378996cbfc473e5667eb896ea00d7e0dd2e206 Mon Sep 17 00:00:00 2001 From: divyanshujethi Date: Wed, 18 Nov 2026 09:30:57 +0530 Subject: [PATCH 1/2] docs(readme): add canonical consolidation notice pointing to AgentShield/examples/claude-code-starter --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 919733a..b58776d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,14 @@ --- +> **Canonical Consolidated Example Notice**: This starter template is now maintained canonically inside [`RitualDev-Lab/AgentShield/examples/claude-code-starter`](https://github.com/RitualDev-Lab/AgentShield/tree/main/examples/claude-code-starter). +> You can also boot the full 3-layer defense stack (AgentShield + DBShield + SkillPrism) declaratively using [`ritual.policy.yaml`](https://github.com/RitualDev-Lab/AgentShield/blob/main/examples/ritual.policy.yaml): +> ```bash +> npx @ritualdev-lab/agentshield up --config ritual.policy.yaml +> ``` + +--- + ## ⚡ What is this? When autonomous coding agents (Claude Code, Cursor, Windsurf) run shell commands or inspect directories, untrusted model outputs or adversarial prompt injection payloads can trick them into exfiltrating credentials (`cat .env`, `cat /proc/self/environ`, or `printenv`). From f2de2044cd48128875de41d079a96736ce5f9367 Mon Sep 17 00:00:00 2001 From: divyanshujethi Date: Wed, 18 Nov 2026 09:33:38 +0530 Subject: [PATCH 2/2] ci: scan real starter config files instead of nonexistent src/index.ts --- .github/workflows/verify-defense.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify-defense.yml b/.github/workflows/verify-defense.yml index 16bc881..081fbd9 100644 --- a/.github/workflows/verify-defense.yml +++ b/.github/workflows/verify-defense.yml @@ -20,5 +20,8 @@ jobs: - name: Run Unit & Defense Tests run: npm test - - name: Audit Repository for Secret Leaks - run: npx @ritualdev-lab/agentshield scan src/index.ts + - name: Audit Repository Configs for Secret Leaks + run: | + npx -y @ritualdev-lab/agentshield scan .claude/config.json + npx -y @ritualdev-lab/agentshield scan .agentshield.json + npx -y @ritualdev-lab/agentshield scan README.md