DEV Community

Edison Flores
Edison Flores

Posted on

Why OAuth is not enough for AI agent trust

The problem with OAuth for AI agents

OAuth was designed for humans delegating access to apps. AI agents flip this: machines delegating to machines, at speed, without human review.

1. No proof of possession

OAuth tokens can be stolen and replayed. UTA's POP stage requires challenge-response.

2. No revocation awareness

Most agents cache tokens and use them until they fail. UTA checks revocation on every call.

3. No cross-format interoperability

OAuth gives JWT. Tools may expect W3C VC, MCP Card, or X.509. UTA supports 8 formats and translates between them.

4. No audit trail

UTA's EVIDENCE stage collects cryptographic proof for every decision.

5. No trust scoring

OAuth is binary. UTA returns trust score 0-10 and confidence level.

What to do

Wrap OAuth with UTA:

def verified_tool_call(tool, oauth_token):
    result = requests.post("https://www.marketnow.site/api/trust?action=verify", json={"payload": oauth_token}).json()
    if not result.get("valid"):
        raise PermissionError(f"Failed: {result.get('issues')}")
    return tool.invoke()
Enter fullscreen mode Exit fullscreen mode

Free API (no auth)

curl -X POST "https://www.marketnow.site/api/trust?action=verify" -H "Content-Type: application/json" -d '{"payload":"<any credential>"}'
Enter fullscreen mode Exit fullscreen mode

GitHub: https://github.com/alicelabs-llc/universal-trust-adapter
NPM: npm install @marketnow/trust-core
Telegram: https://t.me/uta_verify_bot

OAuth is necessary but not sufficient. UTA adds the trust layer agents need.

Top comments (0)