← Latest papers
🤖 AI

Distributing Security Controls Through Harness Engineering

This paper introduces SHarD, a distributable security harness that successfully embeds and scales OS sandboxing, skill scanning, and tool restriction controls across commercial AI coding agents, achieving 100% efficacy in mitigating OWASP Top 10 risks without compromising agent performance.

Original authors: William Robert Gore

Published 2026-07-29
📖 5 min read🧠 Deep dive

Original authors: William Robert Gore

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where your computer has a super-smart assistant that doesn't just answer questions, but actually writes code, fixes bugs, and builds software for you. These are called "AI coding agents," and they are becoming incredibly popular, with millions of people using them to get work done faster. But here's the catch: just like a real-life intern who might accidentally delete your entire hard drive if you ask the wrong question, these digital helpers can be dangerous if they get tricked. If a hacker sneaks a malicious instruction into a document the agent reads, the agent might think it's a normal command and start destroying files or stealing secrets. This is the big problem: how do we let these powerful agents work without them running wild?

To solve this, researchers are looking at something called a "harness." Think of the AI model (the brain) as a race car engine, and the harness as the car's frame, brakes, and safety cage. The engine is powerful, but without the cage, it's just a dangerous explosion waiting to happen. The harness is the layer of code that wraps around the AI, controlling what it can touch, what it can say, and what it can do. The big question scientists are asking is: Can we build a universal safety cage that works for any AI agent, no matter who made it, and hand it out to everyone like a simple software update?

This paper, written by William R. Gore from Georgia Tech, dives right into that question. The author wanted to see if we could take standard security tools—like digital sandboxes that trap the AI in a safe room, or scanners that check for bad code before the AI touches it—and bundle them all into a single "harness" that anyone could install with one command. The goal was to prove that you don't need to wait for a specific company (like Microsoft or Google) to build security into their product; instead, you could build your own safety cage and put it on top of any commercial AI agent.

The research team set up a lab to test this. They used two popular commercial AI coding agents and tried to trick them with a series of 23 different attacks, based on a famous list of the top ten ways AI systems get hacked. First, they tested the agents with no safety gear at all to see how bad things could get. Then, they added the security tools directly to the agents to see if they worked. Finally, they built their own custom harness, called SHarD (Secure Harness Distribution), which wrapped around a different open-source agent and included the same security tools.

The results were pretty exciting. The study found that yes, you can absolutely wrap these security tools around an AI agent and distribute them easily. When they tested the custom harness, it performed just as well as the best commercially secured agents in the categories where it had active controls. Specifically, the harness achieved a perfect score on an "adjusted" metric that focused on the three working tools (Skill Scanning, OS Sandboxing, and Tool Restriction), matching the top-tier commercial results. However, the researchers had to exclude "Content Protection" tests from this perfect score because that specific tool was too heavy and conflicted with the others, so it wasn't included in the final harness. The three main tools that worked best were:

  1. OS Sandboxing: This is like putting the AI in a glass box. Even if the AI gets tricked into trying to delete files, the box stops it from touching anything outside its designated area.
  2. Skill Scanning: Before the AI can use a new "skill" (a tool or plugin), a scanner checks it for viruses or bad instructions.
  3. Tool Restriction: This is a simple rulebook that says, "You can use the calculator, but you are not allowed to use the 'delete everything' button."

However, the paper also found some important limits. One type of security tool, called "Content Protection" (which tries to read the AI's thoughts and stop bad ideas before they happen), didn't work well in this setup. It was too heavy and actually got in the way of the other tools, so the researchers had to leave it out. They also noticed something spooky: sometimes the AI would act safe just by accident, not because of the rules, but because it had a "good day." But the next time you asked the same question, it might act dangerous again. This proves that you can't rely on the AI's brain to be safe; you need the harness to force the safety.

In the end, the paper suggests that the future of AI safety isn't just about making smarter AI brains, but about building better safety cages (harnesses) that engineers can easily install and share. It shows that security can be scaled up just like software, giving teams a way to protect their AI agents without waiting for a vendor to fix it for them. While this was a successful experiment with a specific set of tools, the authors admit they need to test more controls to build a perfect rulebook for what makes a security tool "harness-ready." But the main takeaway is clear: with the right harness, we can let our AI agents run free without them running us over.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →