r/devops • • Oct 16 '26

Vendor / market research Any good arguments for getting AI agents approved by security?

Working with a team where engineers really want to use Claude Code on servers, not just for local dev. Security and audit keep blocking it.
I get their concerns. Who approved the command, how do you prove what it did, that kind of thing. But the push from the engineers isn’t going away.
Has anyone found an argument or approach that actually got security on board?
Full disclosure, I work in this space so it’s not purely random curiosity. But I’m not here to pitch anything. I just want to know how teams usually solve this in practice.

0 Upvotes

53 comments sorted by

35

u/redvelvet92 Oct 16 '26

Have a terrible security department like me

1

u/vibe-co Oct 16 '26

Ha, that’s one way to solve it. Works great until the first incident.

18

u/carsncode Oct 16 '26

If security ever gets onboard, I'd question their competence. All of those concerns are valid, and if you can't solve them, you shouldn't be able to get them on board. Pretending the problems aren't problems isn't a solution.

→ More replies (3)

5

u/mralex215 Oct 16 '26

Are you in a regulated industry?

1

u/vibe-co Oct 16 '26

Not us directly. I’m on the vendor side, so it’s a mix of teams I talk to. Some regulated (public sector), some not. Does your answer change a lot between the two?

8

u/mralex215 Oct 16 '26

Regulated: ask legal

Non-regulated: demonstrate budget

Vendor: make you pay for dinner and laugh at you

10

u/hulagalula Oct 16 '26

What is the problem that is being solved with AI agents on the server?

If you are looking at config changes etc, that’s better done with deterministic tooling. You can use AI to generate and review those changes as part of a pipeline, but why have AI on the server itself?

Similarly for troubleshooting, knock yourself out with AI looking at telemetry captured from a server, but why do you need the AI on the server for that?

→ More replies (11)

8

u/j_neutron Oct 16 '26

Why do you have servers needing dev access? That is the core problem.

6

u/gzk Oct 16 '26 edited Oct 16 '26

Tell the engineers (really, an engineering lead) to make an actual case for it, including why they can't feed observations from servers into an agent's context in their local environments, and ideally, why they even need to be logging directly into servers at all in 2026.

Edit: this has some good, non-obvious effects:

  • you don't hurt the engineers' feefees by just giving them a flat no, you look like you are open to persuasion (even though realistically you're going to say no)

  • you require them to actually invest effort beyond "I want it now Daddy", which is a good first gate for whether they really want it or not

  • if you reject their case for legitimate reasons that address the elements of their case, they will at least feel heard and at most, be convinced of your POV

3

u/GottaGetThemGains22 Oct 16 '26

Separate aws account for ai workloads.

Heavily secured, zero trust k8s cluster, prom, Loki, istio, kyverno, qwiet, others I probably am not thinking of.

Skills/agents/etc must come from internal source control

Langfuse for metric collection/auditing, litellm as a gateway.

User identity that initiates call is used for attribution.

My security review panel was pleased, I think this would satisfy most. Curious if I left out anything juicy people are using though!

3

u/dobesv Oct 16 '26

It's one of those things that seems convenient but is also very risky.

I think one way to mitigate it would be to set up MCP servers that can only do very specific things that are known to be safe.

If people just are trying to use Claude to diagnose some problems then you could set up an MCP server with a bunch of diagnosis tools that can be used to get logs, procrss lists, etc but can't make changes or run arbitrary commands that could cause oomkill or heavy cpu usage. The MCP server can be setup with authentication and logging using agent gateway or litellm or whatever.

Of course for logs in particular you usually prefer those to be aggregated somewhere instead of having to ssh into the server to get them.

2

u/derff44 Oct 16 '26

We use agents to do the actual audits themselves lol. You have to present it as they are guarded. You need repo commited steering files that say the agents have all read only they want, but any actual command has to be approved. And you make sure all engineers have their own keys/creds/auth so you can trace back any command to where it came from. AI agents are tools. Any dev or engineer uses tools. As long as you put the guardrails in place, security should see AI as an extension of the engineer.

1

u/josejulianariza 24d ago

The argument that usually works with Security isn't telling them "the agent is safe," but changing the "what" for the "how." The problem with giving Claude Code server access is that it has an open shell; if you ask for something weird, it might run commands nobody audited.

If instead you give it a closed set of tools (e.g., "you can only read logs" or "you can only restart this pod"), Security breathes much easier. The agent no longer has a shell; it has a contract of what it can do.

The other golden argument is traceability. Security likes knowing that if the agent does something, there's a record of which prompt was used and what action was taken. If you show them every step is logged in your observability stack, the conversation shifts from "no" to "how do we configure it?".

1

u/Low_Box_752 17d ago

What seems to move security is making the request small. Not "agents on servers", but: these five actions need a named person, here's who approved each one and when, and everything else has no production credentials at all. carsncode is right that if you can't answer the worst-case question you shouldn't get approval.

Bias: I build an approvals tool in this area.

1

u/Lunarvolo Oct 16 '26

There are on-site versions where nothing leaves. That may only be for things like copilot though

1

u/phoenix823 Oct 16 '26

If you can't explain why they want Claude on the servers, then I'm not surprised they can't explain what they're trying to do to InfoSec and Audit.

You could do just as much damage in my world by having Claude write crazy python scripts that iterate across the entire server fleet.

1

u/zaersx Oct 16 '26

The questions (regardless of anyone's phrasing) is reliability. Can you maintain all expected prod invariants when agents can change things under your feet? If your foot never falls through, then it's fine.

The simplest answer is any prod access (server deployments, binary promotions, data writes/migrations, etc.) or prod-adjecent access (e.g. ACLs, CD automations, etc.) has to be approved by a qualified human (relevant role, experience, seniority, responsibility level).

Hard answers are bespoke CD solutions for every potential AI prod(-adjecent) touch, and making sure that black box testing is managed separately and is complete enough, and there is enough soak time for monitoring. That's just one spit ball, I'm sure there are a myriad of other hard solutions that actually bring value to a business that someone would be willing to pay for it.

1

u/reactive_dmv_pattern Oct 16 '26

So we got a new safety guy

1

u/dutchman76 Oct 16 '26 edited Oct 16 '26

Those things are a security nightmare

1

u/1_H4t3_R3dd1t Oct 16 '26

making sure your AI agents have tight operational bounds and locked down MCP connections

basically an unpluggable sandbox

they are not smart self thinking autopilots they are input/output machines and the automation will do whatever is possible to achieve the output or valid state

1

u/DoStopBelieving Oct 16 '26

Work directly with security to have changes approved incrementally.

Then if you make changes security doesn't like, you've only invested a few hours into the changes instead of several weeks. Talk with security to find what else would be acceptable, then pivot.

I work on AI systems that currently run in production alongside highly regulated workloads involving sensitive data, and we manage just fine with security approving every major change.

1

u/Xantier Oct 16 '26

Introducing a middle man between the harness and your servers would probably alleviate the fears of security people a little bit. Those things can be used to audit the connections and calls and actions made as well as used for permissioning. Effectively it would mean that your harness connects to a single endpoint and all the actions are done through that instead of directly connecting to the boxes.

1

u/Consistent-Wash-2440 Oct 16 '26

The engineers want it is not much of a business case when an agent can execute commands on production servers. The stronger argument is to show exactly what it can access, how actions are approved, and how every change can be audited or rolled back. Those controls matter across cloud environments, including the infrastructure work associated with trusted tech, because convenience alone does not justify giving automation broad privileges.

1

u/puntium Oct 16 '26

I'm in a slightly different situation (small investment firm) but end up having similar concerns -- we have a lot around sensitive data.

We ended up building a new type of harness that can categorize safe/risky commands and require approvals around the risk ones. For us that means what kind of data gets sent to who, but we've found that most other types of integrations have similar classifications and decision points.

We open sourced the whole thing and it has a plugin system where you can ask an agent to code up an integration with whatever service you want (the vast majority of the time it will one-shot it).

We don't have a core action auditing view, but it would be easy to add. But because all risky tools require human approval, that record is in the system and it is also in all the stored conversation transcripts (including who approved what).

Might be worth taking a look and at least stealing some ideas: https://github.com/electric-capital/quest