Skip to content

Awesome list for AI agent harness engineering: tools, patterns, evals, memory, MCP, permissions, observability, and orchestration.

Add AgentShield to Security, Sandbox & Permissions section

Adrian Valecd17da96b738
diff --git a/README.md b/README.md
index a86fd0e..c3d2a59 100644
--- a/README.md
+++ b/README.md
@@ -479,6 +479,7 @@ Real repositories worth studying — each with a note on *why* it's worth your t
- [The Agent Harness Belongs Outside the Sandbox](https://www.mendral.com/blog/agent-harness-belongs-outside-sandbox) — Andrea Luzzardi's April 2026 argument for running the agent loop outside the sandbox: credentials stay out of untrusted containers, sandboxes become suspendable cattle rather than session lifelines, and the architecture cleanly separates orchestration from execution. The clearest published case for why "harness inside" and "harness outside" are different security and reliability models, not implementation details.
- [Model Context Protocol — Authorization](https://modelcontextprotocol.io/specification/2025-11-05/basic/authorization) — MCP's specification for OAuth-based authorization flows when agents access external services.
- [AI Harness Scorecard](https://github.com/anthropics/ai-harness-scorecard) — Scores repositories on AI harness safeguards. Useful checklist for auditing your own harness's security posture.
+- [AgentShield](https://github.com/affaan-m/agentshield) — Security scanner for AI agent configurations that detects hardcoded secrets, permission misconfigurations, hook injection, risky MCP servers, and prompt-injection vectors in Claude Code setups. Worth including because it turns harness security from a post-hoc audit into a pre-commit gate, surfacing configuration-level vulnerabilities before the agent runs. ![Stars](https://img.shields.io/github/stars/affaan-m/agentshield?style=flat-square&label=★&color=yellow)
- [E2B](https://github.com/e2b-dev/E2B) — Firecracker microVM sandboxes purpose-built for agent tool loops: ~150ms cold start, Python/JS SDKs, open source. The clearest reference implementation of "code execution as a harness primitive" rather than a CI system bolted on. ![Stars](https://img.shields.io/github/stars/e2b-dev/E2B?style=flat-square&label=★&color=yellow)
- [tldrsec/prompt-injection-defenses](https://github.com/tldrsec/prompt-injection-defenses) — The most complete catalog of practical prompt injection defenses (input validation, tool output sanitization, canary tokens, etc.). Functions as a design checklist for hardening trust boundaries in any agent harness. ![Stars](https://img.shields.io/github/stars/tldrsec/prompt-injection-defenses?style=flat-square&label=★&color=yellow)
- [Prompt Injection — Simon Willison's Series](https://simonwillison.net/series/prompt-injection/) — The most thorough public writing on why indirect prompt injection is uniquely dangerous for agent harnesses: agents actively consume untrusted external content (emails, web pages, tool outputs) that can hijack their actions. Essential for understanding the attack surface before designing trust boundaries.