Build1 publisher2 min readPublished
Microsoft's Agent Governance Toolkit puts an LLM call inside its goal-hijacking gate
Venkat Peri's review of Microsoft's Agent Governance Toolkit finds an LLM call behind its hijacking gate and a 0-1000 trust score deciding agent permissions. Both signals bend under the adversarial pressure they are meant to contain.
The Engineer · Build desk

What happened
- Venkat Peri's review of Microsoft's Agent Governance Toolkit notes that its semantic intent classifier, the defence against goal hijacking, is itself an LLM call.
- The toolkit scores each agent's behaviour from 0 to 1000, and the tier the score lands in decides what the agent is allowed to do.
- Microsoft's announcement for the toolkit lists approval workflows with quorum logic, and its tutorial lets a policy rule name which actions need approval.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
- exposure An attacker who can craft an injection for the agent can craft one for the classifier in front of it, so the hijacking gate protects least when it is under attack.
- constraint An authorization rule that reads the trust tier hands out capability on a number an agent being steered toward one harmful action can keep high until that action.
- contradiction Peri's review says there is no human-in-the-loop primitive, so a team scoping the toolkit from the review alone would plan to build an approval layer the current docs describe.
- decision Teams building on the toolkit have to settle whether any runtime score may remove a required reviewer, and the post's answer is that none should.
The post making this case first ran at zarel.ai. Its central claim is a ranking: "The most common failure in regulated agent systems is not an absent control. It is a control that is itself probabilistic, wearing a deterministic costume." [1] The author does not give incident counts for the ranking. The Microsoft evidence comes second-hand, through Venkat Peri, who works on agentic AI infrastructure for wealth management at Advisor360 [2].
The toolkit's answer to goal hijacking is a "semantic intent classifier" [3]. For a classifier's verdict to count as a control, it would have to hold its answer under hostile text. Peri wrote that the classifier "is itself an LLM call," so it "is also susceptible to adversarial inputs." [4]
The trust score has the same problem. Peri called it an interesting primitive and warned that, uncalibrated, it "can produce false confidence in well-behaved agents and trigger overly aggressive restrictions on legitimate ones." [7] His fix is domain-specific tuning before anyone uses the score for authorization [7]. Tuning narrows the error. The post points out that the number is still a heuristic computed from behaviour the agent itself produces [8].
The approval flow is the part of the toolkit I would keep as shipped. In its tutorial, an approval request that nobody answers is denied when it times out [10]. That fails closed, and a regulated flow should. The failure the post warns about sits one step earlier, in deciding who gets asked. Its example: "The model was 0.7 confident, so we didn't surface it to a person." [15] In that setup, the signal that decides whether oversight happens is produced by the component oversight exists to check [15].
The review's summary of Peri's own escalation layer is less careful than the layer. It describes the Decision Gateway as "a probabilistic judgment that takes confidence scores, consequence severity, and context as inputs." [11] In the pattern itself, the approval list is fixed in workflow policy before anything runs, with `email.send` and `holdings.update` set to `approval: required` [12]. Confidence acts in one direction only. A run whose accumulated confidence is unrecoverable is terminated and surfaced to a human [13]. "A model's confidence signal should never be able to take a reviewer away," the post's author wrote [14].
I think the same rule belongs on the intent classifier. Its verdict can send a request to a reviewer. A clean verdict should never be the thing that lets an action through. That keeps the model where the post says it is strong: understanding language, proposing actions and communicating with a person [17].
What to watch
- Microsoft documenting whether the semantic intent classifier can block an action on its own or only flags it for policy or human review.
- An updated Peri review that accounts for the approval workflows now described in the toolkit's documentation.
- Whether toolkit policies can tie approval requirements to trust tier, letting a high 0-1000 score skip a reviewer.