feat: agent identity inventory, security hardening, docs rewrite, demo legibility - #8
Conversation
…o legibility Agent identity: ai_agent principals with runtime, purpose, tools, owner and declaration status. Policy declared_agents section. Agent-identity connector. Unregistered agents holding live credentials score highest. Keyring inventories its own MCP tokens and TrueForge registration. Maps to OWASP Top 10 for Agentic Applications 2026 (ASI03, ASI10) and the NIST NCCoE February 2026 concept paper on AI Agent Identity and Authorization. Security: credential redaction across API, SSE, MCP, logs and errors. Secret scanning over full history. Loopback binding by default. Removed audit trigger bypasses and the predictable export signing fallback. Tightened input validation. Added docs/SECURITY.md. Docs: README and all docs rewritten for a public audience with architecture diagrams and an honest limitations section. Demo: status strip with phase and step count, travelling focus ring following real API calls, explicit human approval gate. Full run 94.8s excluding the pause.
PR Summary by QodoAdd agent identity governance and harden public demo surfaces
AI Description
Diagram
High-Level Assessment
Files changed (89)
|
Code Review by Qodo
1.
|
Keep non-demo scans complete, make agent declaration matching authoritative and normalized, fail closed for unsigned exports, and restore fail-loud secret scanning with regression coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
Four bodies of work in one PR. Splitting them at this point would cost more than
the review benefit; noting it honestly rather than pretending otherwise.
Agent identity
Keyring now inventories AI agents as first-class principals: ai_agent kind with
runtime, purpose, tools, owner and declaration status; a declared_agents policy
section; an agent-identity connector. Unregistered agents holding live
credentials are the highest risk state in the system. Keyring inventories itself,
because an access governance tool that exempts itself is not trustworthy. Maps to
OWASP Top 10 for Agentic Applications 2026 (ASI03 Identity and Privilege Abuse,
ASI10 Rogue Agents) and the NIST NCCoE February 2026 concept paper on AI Agent
Identity and Authorization.
Security
Credential redaction across API responses, SSE, MCP results, logs and errors.
Secret scanning over full git history. Loopback binding by default. Removed
application level audit trigger bypasses and the predictable export signing
fallback. Tightened input validation and generic error handling. Added
docs/SECURITY.md.
Documentation
README and all docs rewritten for a public audience, with architecture diagrams,
the TrueForge boundary, safety guarantees and an honest limitations section.
Demo
Status strip with phase and step count, a focus ring that travels with real API
calls, explicit human approval gate. Full automated run 94.8 seconds excluding
the human pause. No synthetic cursor: faking human input would be the exact
failure mode OWASP ASI09 describes.
105 tests passing.