Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/verify-defense.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
Expand Down
Loading