Security›Security Overview
Security Overview
AgentSecrets is built from the ground up on the principle of Least Privilege for Artificial Intelligence. Traditional security architectures assume that the runtime environment executing code is trusted. AI agents break this assumption because they are dynamic, interpret untrusted inputs, and are vulnerable to context leakage and prompt injection.
The Security Model in One Page
The core guarantee of AgentSecrets is simple: The actual value of your API credential never enters the memory, context, or logs of the AI agent.
To achieve this, the architecture isolates credentials into three distinct layers:
- The AI Agent (Untrusted): Only holds the key name (e.g.,
OPENAI_API_KEY). The agent has no programmatic method to read the actual value. - The Local Proxy (Trusted): A lightweight daemon running locally (on
localhost:8765). It has access to your local OS Keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service). It intercepts outbound requests from the agent, resolves the key name, injects the real credential into the HTTP headers at the transport layer, and forwards the request. - The Synchronization Server (Zero-Knowledge): Stores credentials in end-to-end encrypted (E2EE) ciphertext blobs. The cloud backend never sees your plaintext secrets or your master encryption keys.
Loading diagram...
Security Deep Dives
To understand specific parts of our security implementation, explore the dedicated pages below:
- Encryption Model: Read about the AES-256-GCM, Argon2id, and ECDH protocols securing secrets at rest and in transit.
- Zero-Knowledge Cloud Sync: Learn how team synchronization works without the central server ever gaining decryption capabilities.
- Proxy Security Layers: Explore the TLS interception, domain allowlists, and response body redaction architecture.
- Binary Anti-Impersonation: Understand how the
keychain-authdaemon protects against local malicious scripts. - Threat Model: A formal analysis of threat actors, assets, and attack vectors.
- OWASP Top 10 Mitigation: A mapping of how AgentSecrets protects agents against critical OWASP security risks.
- Third-Party Audit Status: Details on our upcoming and current cryptographic audits.
- Reporting Vulnerabilities: Our SLA and policy for responsible vulnerability disclosure.
- Security FAQ: Answers to architectural security questions.
Was this helpful?
Thanks for your feedback!
Your feedback helps us improve the platform.