Home / Companies / WorkOS / Blog / Post Details
Content Deep Dive

Keeping credentials out of an AI agent's context with Relay

Blog post from WorkOS

Post Details
Company
Date Published
Author
Conner Simmons
Word Count
2,510
Company Posts That Month
89
Language
English
Hacker News Points
-
Post removed?
No
Summary

WorkOS Relay, released in early access in August 2026, is a credential-proxy service intended to reduce agent security risks by keeping third-party API tokens outside the agent’s process and attaching them only when requests pass through WorkOS. The discussion frames prompt injection primarily as a route for usable credentials or sensitive data to leave an agent, especially when systems combine private-data access, untrusted input, and external communication capabilities. It contrasts Relay’s proxy-gateway approach with short-lived token minting and long-lived credential delivery, arguing that proxying can prevent provider credentials from appearing in an agent’s memory while also restricting requests to HTTPS endpoints on approved provider host allowlists. Relay forwards requests using WorkOS authentication and user or organization context, handles connected-account lookup and token refresh, strips sensitive headers and cookies, and returns provider responses, while using 402 responses to signal that user authorization is needed. The service does not prevent all harmful actions: an injected agent may still access data within its granted scopes, misuse a leaked WorkOS API key, or exfiltrate information through other available network paths. It also centralizes credentials within WorkOS, creating a high-value broker target with added latency, reliability, scaling, and trust considerations, so organizations must evaluate both broker security and the scopes granted to each provider connection.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 3 5,223 1,058 240 -33%
Secrets Management 2 2,296 500 137 -13%
AI Agents 1 5,969 1,299 253 -17%
Kubernetes 1 3,503 390 114 +25%
Platform Engineering 1 1,207 263 80 -16%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.