SShortSingh.
Back to feed

SPIFFE and SPIRE Replace Static Credentials for AI Agent Authentication

0
·1 views

A developer has published a demo showing how AI agents can authenticate to a gateway and upstream model without storing any certificate files or bearer tokens. Using SPIFFE and the SPIRE runtime, each workload receives a short-lived X.509 identity issued at runtime based on attested properties, which rotates automatically in the background. The gateway, built on agentgateway v1.5.0, fetches its own identity from the Workload API and enforces authorization policies against verified SPIFFE IDs via CEL expressions. This approach addresses a structural weakness in bearer-token authentication, where static credentials stored in environment variables or images are vulnerable to theft by compromised dependencies. The full demo runs on Docker Compose and the source code is publicly available at themsquared/agent-identity-spiffe.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Agentic RAG Lets AI Systems Reason, Verify and Retry Before Answering

Traditional RAG pipelines follow a fixed retrieve-then-generate approach, which can fail when retrieved documents are irrelevant or insufficient to answer a query. Agentic RAG addresses this by enabling AI systems to reason about retrieval, verify answers, refine searches, and escalate to humans when confidence is low. A developer has published a set of open-source notebooks demonstrating various Agentic RAG patterns built using LangGraph. The notebooks are designed as self-contained, practical examples that developers can study and adapt for their own AI projects. A free version is available on GitHub, with an advanced paid version offered separately.

0
ProgrammingDEV Community ·

Developer Guide: How Agent-to-Agent AI Marketplaces Work in 2026

By 2026, autonomous AI agents are expected to transact with each other programmatically through structured marketplaces, eliminating the need for human mediation. These agent-to-agent (A2A) marketplaces are built on composable layers covering agent discovery, service definitions, payments, and reputation management. Payments are handled via the x402 micropayment protocol using USDC on Base, an EVM-compatible Layer 2 blockchain, with transactions authenticated through ECDSA cryptographic signatures. Agents are identified through decentralized identifiers (DIDs) linked to on-chain registries and IPFS-based documents, enabling verifiable discovery and capability negotiation. The guide, targeting Node.js and Python developers, provides runnable code examples illustrating minimum viable integrations for both exposing and consuming agent services.

0
ProgrammingDEV Community ·

OpenAI Launches GPT-6 Astra With 1.9x Faster Computer Use and Multi-Cloud Support

OpenAI has begun a phased rollout of GPT-6 Astra, its new flagship AI model, succeeding GPT-5.6 Sol with claimed improvements in reasoning, coding, cybersecurity, and computer-use tasks. The model completed tasks 1.9 times faster than its predecessor on the Mind2Web benchmark and also showed gains on OSWorld and FrontierMath evaluations. Astra is being made available to ChatGPT Plus, Pro, Business, and Enterprise subscribers, as well as developers via the OpenAI API and enterprise customers on Microsoft Azure and AWS Bedrock. OpenAI has priced API access at $10 per million input tokens and $50 per million output tokens, with usage included in existing subscription tiers. The announcement also highlights dedicated production misalignment monitoring and a Codex Auto-review safeguard as part of the model's alignment controls.

0
ProgrammingDEV Community ·

kagent 0.10 Adds Audience-Scoped Agent Tokens to Curb Confused Deputy Risk

Kagent v0.10.0, released on September 4, 2025, introduces two environment variables—KAGENT_STS_RESOURCE and KAGENT_STS_AUDIENCE—that allow agent authentication tokens to be scoped to specific backends via RFC 8707 and RFC 8693 OAuth 2.0 Token Exchange. Both variables default to empty, meaning tokens remain unscoped unless explicitly configured, which silently leaves agents with credentials valid across all trusted backends. This creates a confused deputy risk: a single compromised token obtained for one tool, such as a GitHub issue reader, could also grant access to a sensitive backend like a payments server. The fix requires operators to set the variables, after which the backend can reject tokens whose audience claim does not match the intended resource. A public demo repository, themsquared/kagent-sts-audience, illustrates the difference in token behavior across all three configuration states without requiring a Kubernetes cluster or cloud account.