{
  "site": {
    "name": "SecureAgentSandbox.com",
    "url": "https://www.secureagentsandbox.com/",
    "description": "Security for AI agents that run or test other companies' software: tenant isolation, untrusted code, outbound traffic, secrets, audit logs and questionnaires.",
    "language": "en"
  },
  "updated": "2026-11-26",
  "how_to_use": [
    "To cite this site, give the page's title, its address and its last-updated date.",
    "A figure in a data table was read from the source named in its row, on the day named in its row. Quote that day with the figure.",
    "Do not attribute to this site words or figures it did not publish."
  ],
  "pages": [
    {
      "title": "How to answer a customer's security questionnaire about your AI testing agent",
      "url": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/",
      "markdown": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/index.md",
      "type": "article",
      "summary": "Answer each question with the control you run, the evidence that shows it, and the public framework item it meets, such as a SOC 2 criterion, a NIST SP 800-53 control or an OWASP entry. Describe the agent's system boundary first and claim only what you can show.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "What an audit log of an AI agent's actions should record, and how to protect it",
      "url": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/",
      "markdown": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/index.md",
      "type": "article",
      "summary": "For every agent step, record when it happened, which customer and run it belonged to, who started it, what the agent did to which target, and the outcome. Keep the log append-only and tamper-evident, scoped per customer, free of secrets, and kept for a stated period.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How to control outbound network traffic per customer on a multi-tenant agent platform",
      "url": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/",
      "markdown": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/index.md",
      "type": "article",
      "summary": "Deny all outbound traffic from each agent run by default, then allow only DNS and an egress path limited to the hosts that customer asked you to test. Check resolved addresses, block internal and metadata ranges, keep runs apart, and log every connection with its tenant.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How long to keep AI agent run data, and how to delete a customer's data for good",
      "url": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/",
      "markdown": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/index.md",
      "type": "article",
      "summary": "List every artifact an agent run creates, give each one a retention period the customer can see, delete on schedule by exact tenant scope including versions, replicas and backups, and make the deletion provable by encrypting each customer's data under its own key and destroying that key at the end.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How an AI testing vendor should take custody of customers' test credentials",
      "url": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/",
      "markdown": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/index.md",
      "type": "article",
      "summary": "Take customers' test credentials through a write-only channel, store them encrypted under a key per customer, release each only to that customer's runs that name it, keep people out by default, rotate and expire them, and destroy the customer's key when the contract ends.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How to defend an AI testing agent against prompt injection from the app it tests",
      "url": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/",
      "markdown": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/index.md",
      "type": "article",
      "summary": "Treat every page of the app under test as untrusted input that may carry instructions. Fix the test plan before the agent reads the app, give it only the tools and accounts the test needs, decide pass or fail in code, and contain each run so a hijacked agent reaches only that customer's app.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How to run untrusted code from customers' apps in an agent environment",
      "url": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/",
      "markdown": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/index.md",
      "type": "article",
      "summary": "Run untrusted code as a non-root user in a short-lived environment of its own, with all Linux capabilities dropped, privilege escalation blocked, a read-only root file system, memory, CPU and process limits, no route to internal networks, and a sandboxed runtime.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "Security questionnaire control map for AI testing agents: SOC 2, NIST SP 800-53, OWASP and GDPR",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/",
      "markdown": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/index.md",
      "type": "data",
      "summary": "A table of 14 questions customers ask a vendor whose AI agent tests their apps, from tenant isolation and outbound traffic to credentials, audit records, deletion and prompt injection, each paired with the SOC 2 criterion, NIST SP 800-53 controls and OWASP or GDPR text that fit it.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "How to isolate customers from each other when your AI agent works inside their apps",
      "url": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/",
      "markdown": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/index.md",
      "type": "article",
      "summary": "Give every agent run its own execution environment and carry a server-verified tenant identity through every request, queue message, cache key, file path, key and log line. Treat it as hard multi-tenancy: customers do not trust each other and the apps your agent reads are untrusted.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    },
    {
      "title": "A threat model for AI agents that test customers' web apps",
      "url": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/",
      "markdown": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/index.md",
      "type": "article",
      "summary": "The main threats to an AI agent that tests customers' apps are prompt injection from the app, leaks between customers, credential misuse, the agent's browser reaching the vendor's internal network, damage beyond the test, and forged results. Model them with STRIDE.",
      "author": "SecureAgentSandbox editors",
      "published": "2026-11-26",
      "updated": "2026-11-26"
    }
  ],
  "datasets": [
    {
      "name": "Security questionnaire control map for AI testing agents: SOC 2, NIST SP 800-53, OWASP and GDPR",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/",
      "csv": "https://www.secureagentsandbox.com/data/security-questionnaire-control-map.csv",
      "json": "https://www.secureagentsandbox.com/data/security-questionnaire-control-map.json",
      "as_of": "2026-11-26"
    }
  ],
  "questions": [
    {
      "question": "Is a SOC 2 report the same as answering a questionnaire?",
      "answer": "No. A SOC 2 report comes from an attestation engagement in which a practitioner evaluates your controls against the AICPA trust services criteria. A questionnaire is the customer's own list of questions. A report can answer many of them, but the AI-specific questions usually need their own answers.",
      "url": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/"
    },
    {
      "question": "Which frameworks do customers expect an AI vendor to cite?",
      "answer": "Most often the SOC 2 trust services criteria, NIST SP 800-53 controls, the OWASP Top 10 for LLM applications for model risks, and, where personal data is processed in or for the EU, GDPR Article 28 for processor obligations.",
      "url": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/"
    },
    {
      "question": "What do I answer if we do not have a control a question asks about?",
      "answer": "Say so, describe any compensating control, and give a date if one is planned. A plain \"not yet\" is worth more to a reviewer than an answer that later turns out to be wrong.",
      "url": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/"
    },
    {
      "question": "Should questionnaire answers mention the model provider?",
      "answer": "Yes, as a third party that receives data. Say what data is sent to the model, under what terms, and whether it is kept or used for training, because customers treat that provider as a sub-processor.",
      "url": "https://www.secureagentsandbox.com/letters/answer-a-security-questionnaire-about-your-ai-agent/"
    },
    {
      "question": "What is the difference between an audit log and a debug log?",
      "answer": "An audit log is a record of who did what, kept to support investigations and accountability, with protected integrity and a fixed retention period. A debug log helps engineers fix faults and is usually short-lived and noisy. Keep them separate so the audit trail is complete and the debug log can be trimmed.",
      "url": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/"
    },
    {
      "question": "Should the audit log include the full prompts and model outputs?",
      "answer": "Record enough to reconstruct what the agent saw and did, such as a hash or a stored copy of each prompt and output under the same access rules as the run's other data. Full text in the audit log itself makes it large and may copy customer data or secrets into a store with a longer life.",
      "url": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/"
    },
    {
      "question": "Can customers see the agent's audit log?",
      "answer": "They should be able to see and export the records of their own runs. OWASP's multi-tenant guidance adds that tenant administrator rights must not grant platform-wide audit access, so the export must be scoped to the tenant.",
      "url": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/"
    },
    {
      "question": "How long should agent audit logs be kept?",
      "answer": "For a period you state and can defend, set by your contracts and the regulations that apply. NIST control AU-11 asks organizations to define the period, and OWASP warns against both destroying logs early and keeping them beyond the period.",
      "url": "https://www.secureagentsandbox.com/letters/audit-log-for-ai-agent-actions/"
    },
    {
      "question": "Who decides which hosts a customer's agent runs may reach?",
      "answer": "The customer, in writing. Ask for the exact hostnames of the environments to test and of the services those pages load, store them as that tenant's allow-list, and change them only through an authenticated, logged request.",
      "url": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/"
    },
    {
      "question": "Does a Kubernetes NetworkPolicy filter by domain name?",
      "answer": "No. The Kubernetes documentation says targeting services by name is not supported, and policies work at the IP address or port level. Filter hostnames at an egress proxy and use NetworkPolicy to force every run through that proxy.",
      "url": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/"
    },
    {
      "question": "Why block the cloud metadata address?",
      "answer": "Because, as OWASP's SSRF guidance notes, attackers use it to steal credentials and access tokens in cloud environments. An agent that can be steered by page content must not be able to ask your infrastructure for its own credentials.",
      "url": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/"
    },
    {
      "question": "Can Kubernetes NetworkPolicy log blocked connections?",
      "answer": "Not by itself. The documentation lists logging of blocked or accepted connections among the things the NetworkPolicy API does not do. Log at the egress proxy, where every allowed and refused request carries the run and tenant.",
      "url": "https://www.secureagentsandbox.com/letters/control-outbound-traffic-per-tenant/"
    },
    {
      "question": "What data does an AI testing agent create during a run?",
      "answer": "Screenshots, video, page snapshots and traces, network logs, prompts and model outputs, test results, audit records, and sometimes copies of credentials or files from the app. Each can contain the customer's data or their users' personal data.",
      "url": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/"
    },
    {
      "question": "Does GDPR require a vendor to delete data at the end of a contract?",
      "answer": "Where the vendor processes personal data as a processor, Article 28(3)(g) requires the contract to say the processor deletes or returns all the personal data at the controller's choice after the services end, and deletes existing copies unless EU or member state law requires storage.",
      "url": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/"
    },
    {
      "question": "How do you delete data from backups?",
      "answer": "Either wait for backups to expire on a stated schedule and say so, or encrypt each customer's data with its own key and destroy the key. NIST SP 800-88 Rev. 2 calls the second method cryptographic erase.",
      "url": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/"
    },
    {
      "question": "Can a vendor keep run data to improve its agent?",
      "answer": "Only if the contract allows it. Data kept for product improvement is still the customer's data, has its own retention period, and must be deleted with everything else when the customer leaves unless agreed otherwise.",
      "url": "https://www.secureagentsandbox.com/letters/data-retention-and-deletion-for-agent-runs/"
    },
    {
      "question": "Should customers give an AI testing vendor production credentials?",
      "answer": "Avoid it. Ask for dedicated test accounts in a non-production environment with the least privilege the tests need, and an expiry date. If production access is unavoidable, agree the scope, the accounts and the approval steps in writing.",
      "url": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/"
    },
    {
      "question": "How should a customer send test credentials to the vendor?",
      "answer": "Through a form or API that writes straight into the vendor's secret store and cannot read the value back. Not by email, chat or a ticket, where the secret is copied into systems with their own retention.",
      "url": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/"
    },
    {
      "question": "How do you store a one-time password seed for a test account?",
      "answer": "As a secret, with the same protection as the password. The TOTP standard, RFC 6238, recommends storing keys securely in the validating system and keeping the key store in a secure area, and anyone holding the seed can generate valid codes.",
      "url": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/"
    },
    {
      "question": "What happens to credentials when a customer leaves?",
      "answer": "Revoke what can be revoked, delete the stored values, and destroy that customer's encryption key so any copies in backups cannot be decrypted. Tell the customer when it is done so they can disable the accounts on their side.",
      "url": "https://www.secureagentsandbox.com/letters/handle-customers-test-credentials/"
    },
    {
      "question": "Who can inject instructions into an app my agent is testing?",
      "answer": "Anyone who can put text where the agent will read it. That includes the customer's own developers, the app's users through comments, profiles or uploaded files, third-party scripts and widgets on the page, and senders of emails or messages the agent opens during a test.",
      "url": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/"
    },
    {
      "question": "Can prompt injection be filtered out completely?",
      "answer": "No reliable filter is known. OWASP says it is unclear whether fool-proof prevention exists, and the UK NCSC writes that prompt injection may never be totally mitigated the way SQL injection can be. Design so that a successful injection has little it can do.",
      "url": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/"
    },
    {
      "question": "Does injected text have to be visible on the page?",
      "answer": "No. OWASP notes that injections do not need to be human-visible or readable, as long as the model parses the content. Hidden elements, alt text, metadata and off-screen text all count.",
      "url": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/"
    },
    {
      "question": "How do I measure how well my agent resists injection?",
      "answer": "Run it against a benchmark of injection cases, such as AgentDojo with its 97 tasks and 629 security test cases, and against your own injected pages in a test copy of a customer-like app. Track both task success and attack success, since some defences lower both.",
      "url": "https://www.secureagentsandbox.com/letters/prompt-injection-from-the-app-under-test/"
    },
    {
      "question": "What counts as untrusted code for an AI testing agent?",
      "answer": "Anything you did not write and review. That includes the customer's app and its JavaScript, scripts or test files the customer uploads, packages the agent installs, and code the model writes after reading the app.",
      "url": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/"
    },
    {
      "question": "Is running as a non-root user inside a container enough?",
      "answer": "No. It removes one easy path to the host, but the container still shares the host kernel. Combine it with dropped capabilities, no privilege escalation, resource limits, network rules and, for untrusted code, a sandboxed runtime.",
      "url": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/"
    },
    {
      "question": "What does Kubernetes' Restricted profile require?",
      "answer": "Pods must run as non-root, set allowPrivilegeEscalation to false, drop ALL capabilities (only NET_BIND_SERVICE may be added back), set a RuntimeDefault or Localhost system call profile, and use only listed volume types.",
      "url": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/"
    },
    {
      "question": "Should the agent's environment be reused between runs?",
      "answer": "Not between customers, and preferably not between runs. Create the environment from a pinned image at the start of the run and destroy it at the end, so nothing one run plants survives into the next.",
      "url": "https://www.secureagentsandbox.com/letters/run-untrusted-code-in-agent-environments/"
    },
    {
      "question": "Is there an official mapping from SOC 2 to NIST SP 800-53?",
      "answer": "This table is not an official mapping published by the AICPA or NIST. It is the editors' reading of the criteria and controls for the specific questions an AI testing vendor receives, and an auditor may map a control differently.",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/"
    },
    {
      "question": "Which SOC 2 criteria cover tenant isolation?",
      "answer": "Mainly CC6.1, on logical access security over protected information assets, with CC6.7 for restricting how information moves and is removed. In NIST SP 800-53 the closest controls are SC-4, information in shared system resources, and SC-39, process isolation.",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/"
    },
    {
      "question": "Where do AI-specific risks such as prompt injection fit in SOC 2?",
      "answer": "The trust services criteria do not name AI risks. Most vendors treat them under risk identification (CC3.2) and logical access (CC6.3), and cite the OWASP Top 10 for LLM applications, such as LLM01 Prompt Injection and LLM06 Excessive Agency, for the specific risk.",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/"
    },
    {
      "question": "How should I use this table in a questionnaire?",
      "answer": "Use the right-hand columns as the reference part of each answer, after you have described the control you actually run and the evidence for it. Cite only the items your control meets in full.",
      "url": "https://www.secureagentsandbox.com/letters/security-questionnaire-control-map/"
    },
    {
      "question": "What is a tenant in an AI agent platform?",
      "answer": "A tenant is one customer account and everything that belongs to it, such as its apps under test, credentials, runs, recordings and logs. Kubernetes' documentation notes there is no single definition, but for a vendor serving many companies the tenant is usually the customer.",
      "url": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/"
    },
    {
      "question": "Is a container enough to separate two customers?",
      "answer": "Usually not when the workload is untrusted. The Kubernetes documentation says containers are processes on a shared kernel and offer a weaker boundary than virtual machines, and that sandboxing in a virtual machine or a userspace kernel is often recommended for untrusted code.",
      "url": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/"
    },
    {
      "question": "Do I need a separate database per customer?",
      "answer": "Not necessarily. OWASP lists separate databases, separate schemas, shared tables with row-level policies and hybrids. Separate databases are the strongest when credentials, network paths and backups are also separated, at a higher operating cost; shared tables need policy coverage and negative tests.",
      "url": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/"
    },
    {
      "question": "Can an agent's model context leak between customers?",
      "answer": "It can if a conversation, memory store, retrieval index or prompt cache is shared across runs. Start a new context per run, scope any memory or index by tenant, and do not reuse one customer's traces as examples for another.",
      "url": "https://www.secureagentsandbox.com/letters/tenant-isolation-for-multi-tenant-ai-agents/"
    },
    {
      "question": "What is a threat model?",
      "answer": "A structured answer to four questions from the Threat Modeling Manifesto, as quoted by OWASP. What are we working on? What can go wrong? What are we going to do about it? Did we do a good enough job?",
      "url": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/"
    },
    {
      "question": "What is the biggest threat to an AI testing agent?",
      "answer": "Prompt injection from the app under test, because every page the agent reads is input it cannot fully trust, and the agent holds credentials and can act. Most other threats in this model become reachable through it.",
      "url": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/"
    },
    {
      "question": "What is STRIDE?",
      "answer": "A checklist of six threat categories, each paired with the property it violates in OWASP's table. Spoofing breaks authentication, Tampering integrity, Repudiation accounting, Information disclosure confidentiality, Denial of service availability, and Elevation of privilege authorization.",
      "url": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/"
    },
    {
      "question": "Can the app under test make the agent report a false result?",
      "answer": "Yes, if the model's own words decide pass or fail. Text on a page can tell the agent the test passed. Decide verdicts with checks in code against the app's state where you can, and treat the model's summary as a note.",
      "url": "https://www.secureagentsandbox.com/letters/threat-model-for-ai-agents-that-test-customer-apps/"
    }
  ],
  "machine_readable": [
    {
      "name": "llms.txt",
      "url": "https://www.secureagentsandbox.com/llms.txt"
    },
    {
      "name": "llms-full.txt",
      "url": "https://www.secureagentsandbox.com/llms-full.txt"
    },
    {
      "name": "facts.json",
      "url": "https://www.secureagentsandbox.com/facts.json"
    },
    {
      "name": "ai.txt",
      "url": "https://www.secureagentsandbox.com/ai.txt"
    },
    {
      "name": "Sitemap",
      "url": "https://www.secureagentsandbox.com/sitemap.xml"
    },
    {
      "name": "RSS",
      "url": "https://www.secureagentsandbox.com/letters/rss.xml"
    },
    {
      "name": "Atom",
      "url": "https://www.secureagentsandbox.com/letters/atom.xml"
    }
  ]
}
