Skip to main content

One post tagged with "ai-gateways"

View All Tags

Agent security starts before the first prompt

ยท 6 min read
Mangat Rai
Creator, Few-Shot Academy

An agent can cause damage before the model makes its first decision.

On September 1, 2026, Manifold described coding agents that invoked Git while gathering workspace context, allowing repository-local Git configuration to run a program on the host. Some affected agents performed that work before a user typed a prompt or approved workspace trust.

In Manifold's GitSpawn research, the relevant path was a repository received as files, with a .git directory inside a ZIP archive. Git read repository-local configuration while the agent gathered context. An ordinary Git clone, fetch, or pull does not transfer repository-local .git/config from the remote.

The model did not choose a harmful tool call. The runtime acted while preparing to use the model. That is why an agent review needs three boundaries: the runtime that starts processes, the gateway that holds credentials and routes requests, and the tool that makes a sensitive change.

Optional analytics

We count page opens without cookies or visitor identifiers. Allowing optional Google Analytics also helps us understand course progress and navigation. We never send quiz answers, scores, or contact messages. Privacy details.