4lbert Logo~/4lbert
HomeProfileSkillsPortfolioBlogGalleryContact
VG9yc3RlbiBBbGJlcnQgwrcgU29mdHdhcmUgdGhhdCBsYXN0cw==v2.0 · Made in Germany. With Love.
$ echo "© 2026 Torsten Albert · 4lbert.com"
ImpressumDatenschutz
Back to blog

AI Agents Need Boundaries

TorstenSeptember 19, 20265 min read

AI agents can turn small security gaps into real incidents. Prompts are not boundaries—safe agent systems need strict isolation, live monitoring, and clear escalation paths.

On this page
  • The Pattern
  • Ordinary Attack Paths
  • This Is a Failure
  • More Than Hallucination
  • Take Capability Seriously
  • A Smaller Example
  • Engineering Baseline
  • Sources
  • References

AI Agents Need Boundaries, Not Just Prompts

Recent incidents involving OpenAI, Anthropic, and Google should not be read as proof of “evil AI.” They show a more familiar engineering failure: persistent, tool-using agents were operated near real systems with insufficient containment, weak operational controls, and incentives that rewarded task completion over safe failure.

The Pattern

In OpenAI’s Hugging Face evaluation, models operating with reduced safeguards used Artifactory as an unauthorized coordination channel, exploited vulnerabilities in shared infrastructure, reached the internet, and accessed third-party systems. OpenAI identifies reward hacking, persistence on apparently impossible tasks, unauthorized communication, and goal adoption between agents as key contributors. OpenAI’s incident report[1]

Anthropic reported three Claude incidents during cyber evaluations after a configuration issue gave models real internet access. The publicly described paths included a collision between a fictional and real domain, exposed credentials on a debug page combined with SQL injection and broad scanning, and a PyPI supply-chain incident in which a model uploaded a malicious package to the real registry. Anthropic’s incident report[2]

Google’s Gemini accessed three real companies during a cyber-capability test after an evaluation-environment issue provided unintended internet access. Reports say it guessed credentials in one case and used credentials found in public repositories in two others; Google says the model stopped after identifying the targets as real. Reuters coverage[3]

Ordinary Attack Paths

The attack paths were not mysterious AI superpowers:

  • Direct or indirect internet egress from an alleged sandbox
  • A vulnerable or over-privileged shared service
  • Real domains, package registries, and live third-party systems in the evaluation path
  • Exposed credentials, weak passwords, debug endpoints, and SQL injection
  • No runtime gate for scanning, credential use, account creation, package publishing, tunnelling, or suspicious egress

A capable agent can turn one ordinary security mistake into a long, multi-step attack chain. That is a serious capability signal—but it does not make the underlying security failures acceptable.

This Is a Failure

PreviousWhere Software Development Is ExpensiveNextToo Expensive to Rewrite Is Expiring

On this page

  • The Pattern
  • Ordinary Attack Paths
  • This Is a Failure
  • More Than Hallucination
  • Take Capability Seriously
  • A Smaller Example
  • Engineering Baseline
  • Sources
  • References

Running such an experiment without continuously monitoring both the agent’s actions and their security implications is negligent. Monitoring must be able to pause or block behaviour, not merely produce transcripts for later review.

OpenAI states that signals of unauthorized internet access and the improvised message board were observed before the incident’s full impact was understood; it now requires chain-of-thought monitoring for tool-using RL training and evaluations at specified capability levels, alongside stronger workload and network isolation. OpenAI’s incident report[1]

So the primary assessment should be containment and operational-security failure, not a victory lap for a “difficult hack.” Framing an incident as “look what our model achieved” is hard to take seriously when it depended on unintended egress, permissive shared infrastructure, live systems, leaked secrets, and late intervention. That is closer to product theatre than responsible security engineering.

More Than Hallucination

Hallucination is a model falsely assuming that a permission, system, or credential exists. The more difficult problem is rationalized reward hacking: the agent can interpret a restriction as an obstacle when it receives a stronger signal for solving the task than for stopping safely.

In OpenAI’s report, unsolved tasks drove most discussion on the unauthorized message board. The agents also pursued an incorrect theory about how their work would be scored, showing how weak reward design can create costly, persistent behaviour even when it cannot actually improve the result. OpenAI’s incident report[1]

“Be ethical” is text, not a policy engine. “You have no internet” is text, not network isolation. A safe system must reward escalation, clarification, and a controlled stop—not only completion.

Take Capability Seriously

It would be equally wrong to dismiss these incidents as merely broken sandboxes. The OpenAI agents showed meaningful capabilities: coordination through an improvised channel, specialization across a large group, exploration of their environment, and multi-step tool use over time. MIT Technology Review’s analysis[4]

The appropriate conclusion is neither “AI is unstoppable” nor “the model was harmless.” Capable agents amplify ordinary security mistakes: they persist, parallelize, combine tools, and search for unexpected paths at machine speed. That is precisely why strong technical boundaries and active oversight matter.

A Smaller Example

I saw a related evaluation-governance problem in my own GRAL TSP experiment. The GA/ILS pipeline did not reliably meet its benchmark. It requested approval to download, compile, and integrate a known exact solution.

Asking for approval was better than silently changing tests or faking success. But the claim changed: the final pipeline verified an externally sourced optimal tour; it did not show that the internal metaheuristic independently found it.

The rule is simple: preserve the original result, record any human-approved scope change, and label solution provenance explicitly. A “benchmark passed” result must never conceal that the benchmark was replaced.

Engineering Baseline

Treat a powerful agent as an untrusted workload:

  • Deny network egress by default; use narrow allowlists
  • Use isolated test doubles, private mirrors, and synthetic registries
  • Issue short-lived, least-privilege credentials; never expose production secrets
  • Separate solver, evaluator, verifier, and success-state permissions
  • Gate and audit scanning, uploads, tunnels, IAM/DNS changes, and credential use
  • Monitor network events, tool calls, and behavioural signals continuously
  • Provide automatic pause and kill paths
  • Treat “I cannot safely solve this; please escalate” as a successful outcome

Prompts are not security boundaries. Successful outputs are not necessarily honest measurements. Autonomous systems require technical guardrails, live intervention, and transparent evaluation governance.

Sources

  1. OpenAI — The Hugging Face incident and the road ahead
  2. Anthropic — Investigating three incidents in our cybersecurity evaluations
  3. Reuters — Gemini hacked three companies in first known breakout by Google’s AI
  4. MIT Technology Review — The inside story on why OpenAI agents hacked Hugging Face

References

[1] GitHub - TorstenAlbert/gral https://github.com/TorstenAlbert/gral