Install
$ agentstack add skill-redhatproductsecurity-prodsec-skills-agent-to-agent-auth ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Agent-to-Agent Authentication
Security Requirement
Agent-to-agent communication MUST follow the service-to-service recommendation and implement SPIFFE/SPIRE+mTLS.
Why SPIFFE/SPIRE for Agent-to-Agent
- Agents are software workloads, making SPIFFE the natural identity framework
- No credentials exchanged over the network (SPIRE handles attestation and certificate issuance)
- Mutual authentication ensures both agents verify each other's identity
- Short-lived X.509 certificates (SVIDs) are automatically rotated
- Each agent gets a unique SPIFFE ID that can be used for authorization decisions
Architecture
Agent A Agent B
│ │
├── SPIFFE ID: ├── SPIFFE ID:
│ spiffe://domain/agent/a │ spiffe://domain/agent/b
│ │
├── Gets SVID from SPIRE Agent ├── Gets SVID from SPIRE Agent
│ │
└── mTLS connection ────────────→└── Validates Agent A's SVID
(presents SVID) (presents own SVID)
SPIFFE ID Convention for Agents
Use a consistent SPIFFE ID naming convention:
spiffe:///agent//
Examples:
spiffe://example.com/agent/data-analyst/prod-01spiffe://example.com/agent/code-reviewer/staging-02
Implementation Checklist
- [ ] Deploy SPIRE server and agents for the agent infrastructure
- [ ] Register each agent type as a SPIRE workload entry
- [ ] Configure agents to obtain SVIDs from the SPIRE agent
- [ ] Implement mTLS for all agent-to-agent communication
- [ ] Extract peer agent's SPIFFE ID from the TLS certificate for authorization
- [ ] Define authorization policies based on SPIFFE IDs (which agents can communicate)
- [ ] Monitor SVID rotation and certificate expiration
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: RedHatProductSecurity
- Source: RedHatProductSecurity/prodsec-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.