Articles
AI security without sitting in front of the model: what reading alone proves, and what it does not
By Leandro Oliveira, Founder of BeryxTech
Published · updated · 14 min read
- For
- CISO
- Data engineering
Anyone who wants to secure an AI agent has two ways to do it. They can sit in front of it, with a proxy, a gateway, an inline guardrail or hooks on the user's machine, and decide each request. Or they can read what is configured and what happened: which models exist, who can call them, which filters are on and whether calls are logged. The first blocks one request at a time. The second proves the posture of all of them, including those that go around the inline control. A security team needs both, and should know which one it is buying.
Sitting in front or reading
MITRE ATLAS, the knowledge base of attacks on AI systems, separates the two in the mitigations of version v2026.10. Guardrails (AML.M0020) are controls placed between users, tools and the model that evaluate prompts, retrieved context, outputs and an agent's actions before they are accepted. Alongside them, ATLAS asks for logging and monitoring across the AI lifecycle (AML.M0024), access to training data only for approved users (AML.M0005) and recurring red-team exercises (AML.M0035).
An inline control decides on the request that passes in front of it, and only that one. A call that takes another route, such as an API key used directly, an endpoint created on the side or an agent someone started without telling anyone, does not go through it. Reading blocks nothing, but it sees the configuration that also applies to those routes, and it leaves dated proof that can be shown to an auditor.
What reading alone proves
Which models and agents exist is read from each cloud's listings, and who can invoke them is read from the account's permissions. Crossing the two lists with the internal register gives the models with no owner and those who can invoke without being expected to. Who actually invoked is in the audit logs, when they are on. In Google Cloud, Data Access audit logs are disabled by default for all services except some BigQuery services, and whether they are on can also be read.
Whether an agent has a guardrail, and whether the guardrail blocks or only detects, is also in the configuration. In Amazon Bedrock, the agent listing carries the guardrail associated with each one, and each guardrail filter has one action for input and another for output: BLOCK blocks the content, and NONE takes no action beyond returning what it detected. In Azure, each filter of a content policy says whether it is enabled (enabled) and whether it blocks (blocking). In Google, a Model Armor template runs in inspect-only mode (INSPECT_ONLY) or inspect-and-block mode (INSPECT_AND_BLOCK). In Snowflake, the account guardrails against prompt injection in Cortex Agents have the BLOCK or LOG mode, and they are read with a SHOW PARAMETERS. "Has a guardrail" and "the guardrail blocks" are two checks, and both are done by reading.
Whether model calls are logged, and where, is read the same way. In Bedrock, model invocation logging is disabled by default. When on, it collects the full request, the response and the metadata of the calls, to CloudWatch Logs or to S3, in the same account and the same Region. Reading gives two checks here: whether logging is on, and whether prompts and responses are being stored somewhere that someone has to protect.
What an agent's accounts can read, and who can write to the data a model learns from, is in the sources' permissions. In OWASP's 2025 list for LLM applications, the excessive agency risk (LLM06:2025) asks for each agent extension's permissions to be the minimum necessary, enforced for example in the database, for the identity the extension connects with. ATLAS asks for access to training data only for approved users (AML.M0005). Both are read from the grants: those of the agent's accounts and those of the training tables.
What reading alone cannot tell
Whether a specific call carried a guardrail. In a direct call to a Bedrock model, the guardrail goes in the request: in a header of InvokeModel or in the guardrailConfig field of Converse. In Google, each request's Model Armor template also goes in the body of the call (the Agent Platform integration), and in Snowflake, Cortex Guard is an option of each call to AI_COMPLETE, off by default. None of them stays in a configuration that can be read afterwards.
The configuration only says whether the guardrail was mandatory. In Bedrock, it can be enforced for all model invocations of an account or an organisation, or required by a condition in IAM policies that denies calls without it. In Google, floor settings apply a baseline protection to all calls to Gemini models in a project (the same integration). Without any of this, the configuration allows invoking with no guardrail, and reading can only say that: that it allows it, not that it happened.
Whether the filter catches an attack. The configuration says that injection detection is on and in which mode, not whether it catches the attack someone will try tomorrow. That takes a test, and ATLAS treats it separately, as red teaming (AML.M0035).
The tools of an agent whose code is opaque. A declarative agent shows in its configuration what it can call. An agent deployed as code does not: in Google's Agent Platform, the resource of a deployed agent describes the package, the source code or the image it runs, and has no field with the tools.
Whether logs reach their destination. The configuration gives the destination, whether a bucket, a log group or a table, and does not prove that logs arrive there, how long they stay or who reads them. That last part is reading again: the destination's permissions.
What sits above whoever reads, and time. In Google Cloud, a project's getIamPolicy shows only that project's policies, not those inherited from the folder or the organisation (the Data Access audit logs page). Whoever reads only the project does not know what actually applies, and should say so instead of assuming. And a read holds on the date it was made: tomorrow the configuration may be different.
What BeryX reads today
In BeryX, the AI register reads, through official listings only, the SageMaker AI endpoints, Bedrock's custom, imported and provisioned-throughput models and agents, the Vertex AI endpoints, the Azure OpenAI deployments and the Databricks serving endpoints, and shows what is in the cloud without a record. The coverage is "X of Y of what BeryX observed", per source. It never reads requests, responses or invocation logs. See the cloud inventory.
In BeryX, shadow AI starts from Snowflake's access history: it shows the copilot and MCP server accounts that read classified data without going through BeryX, and each read outside the AI register opens an issue. BeryX shows who read and does not stop anyone from reading: removing the access is done in the source. See shadow AI in the source.
In BeryX, an agent's reach crosses its accounts at the source, the ones on the record, with the latest grants snapshot and says what they can do beyond that: read a classified dataset the record does not link, or write to any dataset, because the record has no write role. When in doubt, it does not say "minimal": with no snapshot, or with an out-of-date or cut snapshot, the verdict stays unknown, with the reason, and "minimal" means "nothing extra in what the source shows". The fix is the REVOKE in the source's dialect, to copy: BeryX reads the grants and does not change them, and shows the reach without cutting it. See an agent's reach.
In BeryX, for an agent whose model runs in the customer's Amazon Bedrock, who can invoke is read from the IAM of their account, and who invoked is counted from CloudTrail's Event history: only the count per pseudonymised principal, model and day, never the request. BeryX never reads the model invocation logging, where the requests and responses are kept. On Azure OpenAI it reads who can invoke, and on Vertex AI and Databricks both. The snapshot shows who can invoke and does not stop anyone from invoking. See who can invoke and who invoked.
In BeryX, for an agent whose model sits in the customer's cloud, on a SageMaker AI endpoint, a Bedrock model, a Vertex AI endpoint or a Databricks serving endpoint, it also reads where that model comes from and who can change it: who can write to the artefact, update the endpoint or register versions. This read runs right after each read of who can invoke, and a category left unread says "not read", never 0. The snapshot shows who can change the model and does not stop anyone from changing it. See who can change a model.
In BeryX, on AWS, AI controls are read in the configuration, never in the traffic. The findings are the Bedrock agent with no guardrail, the guardrail with no prompt attack filter or that only detects, the account with no enforced guardrail, invocation logging off and logging that keeps the text. The account with no enforced guardrail is only a finding with all three proofs: nothing enforced on the account, no Bedrock policy in the organisation and no IAM policy with the condition that requires a guardrail. For logging that keeps the text, the finding also says who reads the destination bucket. See AI controls on AWS.
In BeryX, AI controls are also read on Azure and Google. On Azure, each deployment's content filters, blocking or only annotating, the network, key authentication and the account's diagnostic logs. On Google, the Model Armor templates and the project's floor setting, the endpoints' network and request logging, and the effective Data Access logs, the union of the project, folder and organisation. What was not read stays "unread" and is never a finding, and each finding comes with the fix to copy, which BeryX does not apply. See AI controls on Azure and Google.
In BeryX, on Databricks and Snowflake, AI controls are read with the connection that already exists, with no new credential. On Databricks, each serving endpoint's input and output guardrails, the inference table, the rate limits and usage tracking. On Snowflake, the state of the account guardrails, cross-region inference, crossed with the datasets that hold personal data, and the roles with USE AI FUNCTIONS. The screen also says what is not read: the Unity Gateway service policies, which are attached only through the interface, and the Cortex Guard of AI_COMPLETE, which is an option of each call. See AI controls on Databricks and Snowflake.
In BeryX, on AWS and Azure, the same read gives what each agent's configuration says it can do, and never what it did. From Bedrock, the model, the role, the tools and the knowledge bases, with the bucket and prefixes behind them, of the DRAFT version: an alias may serve an older version. From AgentCore, each runtime's network and authorizer: the code belongs to the customer, and its tools are not visible. From Microsoft Foundry, each agent's tools and the connections they depend on. An agent that reads personal data through a knowledge base its record does not link is a finding. Instructions go through memory and are discarded, and the values of environment variables are never kept. See agents on the platforms and what is never kept.
In BeryX, for each dataset with a training, validation or testing role on a record, and for each declared origin of a vector index, the latest grants snapshot says how many principals can write, how many are service accounts and whether writing is open to everyone. Without a read that covers the dataset, it comes out "not read", never "nobody writes". See who can write to training data.
In BeryX, the worker reads the snapshots of grants, who can invoke, who invoked and the AI inventory on its own, each at its own cadence, and each snapshot shows its age. A snapshot read more than seven days ago, by default, is out of date, and the posture report says so. See scheduled reads.
When you need to stop or block
A read does not stop an agent. In BeryX, an agent's kill switch suspends it and revokes all its tokens, and the next request from any of them gets a 401. There is also a global kill switch, which cuts off all agents. See the per-agent kill switch.
The kill switch can also reach the customer's cloud, in an exception that is off by default and turned on by an admin on a webhook channel. The BeryX kill switch fires a signed webhook, and a function in the customer's account, with the permissions the customer gives it and only for the principals on the customer's list, turns off the agent's credential and responds with the result, signed with the same secret. A response without that signature never counts as confirmed, and the agent's page shows the result next to the cut-off in BeryX. There are recipes for AWS, Azure, Google Cloud, Databricks and Snowflake. The writer in the cloud is the customer's function, not BeryX. See the kill switch in the customer's cloud and the exception to the rule.
To block a text without routing traffic through a proxy, BeryX has the DLP inspection, which the agent itself calls with the text it is about to send to the model, with the response the model returned or with what a tool returned to it. The response carries the findings and a verdict, and the text is neither stored nor logged. If the inspection does not answer, going on without it or stopping is the decision of whoever integrates it, and BeryX never answers "allow" for a text it did not inspect in full. See the DLP inspection (in Portuguese) and fail-open or fail-closed (in Portuguese).
What is still missing
In BeryX, three agent platforms stay unread, with the reason: Google's Agent Engine, whose code ships in a package, without the list of tools; Databricks agents; and Snowflake Cortex Agents, where SHOW AGENTS and SHOW MCP SERVERS are not read yet. See what stays unread.
In BeryX, who can change a model is not read yet on Azure OpenAI. See who can change the model.
Why read-only
"Read-only" is not a limitation to hide. It is what lets a security team grant access: a role that lists, describes and reads permissions changes nothing in the account. BeryX reads metadata, aggregates and limited samples, and never writes, moves or changes data in the customer's sources. The fix is proposed and the customer applies it, because asking for write credentials would be objection no. 1 for any security team. See read-only access and what we do not do, and why.
Reading also needs care. Some responses carry more than configuration: in AWS AgentCore, the description of a deployed agent includes its environment variables, which can hold secrets. Whoever grants access should know what each read returns and what is discarded before storing.
Where to start
Start with the list: which models, endpoints and agents exist in each cloud, and which have no owner. Then read three things for each one: who can invoke it, whether it has a guardrail and whether the guardrail blocks, and whether calls are logged and where. Only then choose what has to sit inline, and write down what reading does not prove, so that nobody takes it as proven.
The AI & Data Security add-on page brings together what can already be read today, and the page for those who govern AI the rest of the path, from the agent register to go-live. To measure in your own sources, the Data diagnostic connects to some of them, read-only.
Transparency: BeryxTech, which publishes this article, makes BeryX, and we have an interest in you using it. The sections about the product describe what is in production, with the link to the documentation. The cloud documentation was read on the day of publication and changes quickly: check the name of each field before using it. OWASP's content is licensed under CC BY-SA 4.0, and the MITRE ATLAS data under Apache 2.0. We cite them in our own words, with the link to each source.
What changed
- · Now in production, these leave “What is still missing” and move into “What BeryX reads today” and “When you need to stop or block”: AI controls on AWS, Databricks and Snowflake, an agent's reach, who can change a model, what each agent can do on the platforms and the kill switch in the customer's cloud. “What is still missing” now keeps only what is still unread.
Sources read on 23 November 2026
- MITRE ATLAS, data for version v2026.10 (2026-10-28): mitigations AML.M0005, AML.M0020, AML.M0024 and AML.M0035
- OWASP GenAI Security Project, Top 10 for LLM Applications 2025, “LLM06:2025 Excessive Agency”, page updated on 2025-05-05
- AWS, Amazon Bedrock API reference, “AgentSummary” (the guardrailConfiguration field of the agent listing)
- AWS, Amazon Bedrock API reference, “GuardrailContentFilter” (the BLOCK and NONE actions)
- AWS, Amazon Bedrock user guide, “Monitor model invocation using CloudWatch Logs and Amazon S3”
- AWS, Amazon Bedrock user guide, “Use cases for Amazon Bedrock Guardrails”
- AWS, Amazon Bedrock user guide, “Apply cross-account safeguards with Amazon Bedrock Guardrails enforcements”
- AWS, Amazon Bedrock user guide, “Enforce the use of specific guardrails in model inference requests”
- AWS, Amazon Bedrock AgentCore control plane API reference, “GetAgentRuntime”
- Microsoft Learn, Microsoft Foundry REST API, “Rai Policies - Get” (the enabled and blocking fields of each filter)
- Google Cloud, Model Armor REST reference, “projects.locations.templates” (INSPECT_ONLY and INSPECT_AND_BLOCK), updated on 2026-10-30
- Google Cloud, “Integrate Model Armor with Gemini Enterprise Agent Platform” (per-request templates and floor settings)
- Google Cloud, Cloud Logging, “Enable Data Access audit logs”
- Google Cloud, Gemini Enterprise Agent Platform REST reference, “projects.locations.reasoningEngines”
- Snowflake, “Cortex AI Guardrails” (the AI_SETTINGS parameter and the BLOCK and LOG modes)
- Snowflake, “AI_COMPLETE (Single string)” (the guardrails option, Cortex Guard)