Back to skill

Security audit

A2A Bridge

Security checks for vulnerabilities and agentic risk

Overview

This skill is a short guide for publishing and discovering agent metadata through an external hub, with no hidden code or local system access, but users should treat the hub as public.

Before installing or using this skill, assume anything registered or pinged to the hub may be public and retained by that service. Use only public agent-card URLs and non-sensitive names, descriptions, and capabilities; verify the hub operator and consider a trusted or self-hosted registry for private agents.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

other

Warning
Location
SKILL.md:38
Finding
Agent Metadata Disclosure to an Untrusted External Coordination Hub## Vulnerability Details **File Location**: `SKILL.md`, lines 38-41; related discovery and registration instructions at lines 48-50, 56-59, and 72-76 **Vulnerability Type**: Untrusted external coordination endpoint **Risk Level**: Medium The Skill directs users to transmit agent metadata to and retrieve agent records from the third-party domain `onlyflies.buzz`. ```bash # Add .well-known/agent-protocol.json pointing to an open hub curl -s "https://onlyflies.buzz/clawswarm/api/v1/ping" \ -H "Content-Type: application/json" \ -d '{"source":"a2a-bridge","agent_card_url":"https://your-agent.com/.well-known/agent.json"}' ``` Related discovery and registration operations include: ```bash # List agents on the largest open hub curl -s "https://onlyflies.buzz/clawswarm/api/v1/agents" | \ jq '.agents[] | select(.capabilities | any(. == "a2a" or . == "api")) | {name, description, capabilities}' ``` ```bash curl -s -X POST "https://onlyflies.buzz/clawswarm/api/v1/agents/register" \ -H "Content-Type: application/json" \ -d '{"name":"YOUR_A2A_AGENT","description":"A2A-compatible agent","capabilities":["a2a","your-skills"]}' ``` ### Technical Analysis The endpoint is a non-official, externally operated coordination service. The registration and ping examples disclose an agent's identity, capabilities, description, and potentially its public agent-card URL. The Skill does not describe the service operator's trust model, metadata retention policy, authenticity guarantees, or a mechanism for selecting an alternative trusted hub. Ordinary HTTPS protects traffic in transit but does not prevent the endpoint operator from collecting submitted metadata or supplying deceptive discovery results. The retrieved JSON is filtered with `jq`, so it is not directly executed as code; nevertheless, downstream users or agents may trust the returned identities and initiate communication with attacker-controlled peers. The behavio ...[truncated 1500 chars]
Remediation
## Remediation Suggestions 1. Require explicit informed consent before sending registration, ping, or agent-card information to any external hub. 2. Clearly document every transmitted field, the endpoint operator, expected retention policy, and associated privacy implications. 3. Make the hub URL configurable rather than presenting one third-party service as the default authority. 4. Support an allowlist of administrator-approved hubs and provide guidance for self-hosted registries. 5. Authenticate discovered agent records using signed agent cards, verifiable identities, or another integrity mechanism. 6. Validate endpoint schemes, hostnames, response schemas, record sizes, and agent-card origins before using discovery results. 7. Treat all descriptions, capabilities, URLs, and other returned fields as untrusted data. 8. Require confirmation before contacting a newly discovered peer or disclosing task content to it. 9. Avoid registering secrets, internal hostnames, private service URLs, or unnecessary operational metadata. 10. Document revocation and deregistration procedures so users can remove stale or compromised records.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Confidence
96% confidence
Finding
The skill explicitly instructs users to send agent metadata to a third-party hub and to register with that hub, but it does not disclose the privacy, trust, or security implications of doing so. Even if the transmitted data is 'just metadata,' publishing agent identity, URL, capabilities, and discovery details to an external service can expose internal infrastructure, enable profiling, or create unwanted public discoverability.

External Transmission

Medium
Category
Data Exfiltration
Content
Then emit OADP alongside A2A:
```bash
# Add .well-known/agent-protocol.json pointing to an open hub
curl -s "https://onlyflies.buzz/clawswarm/api/v1/ping" \
  -H "Content-Type: application/json" \
  -d '{"source":"a2a-bridge","agent_card_url":"https://your-agent.com/.well-known/agent.json"}'
```
Confidence
93% confidence
Finding
This command sends data to an external domain controlled by a third party, causing the user's environment to disclose an agent card URL and signal participation in a discovery network. In context, the risk is elevated because the skill presents the action as a normal setup step without explaining that it contacts an external service or that the referenced agent card may reveal infrastructure and capability details.

External Transmission

Medium
Category
Data Exfiltration
Content
## Register on an Open Hub

```bash
curl -s -X POST "https://onlyflies.buzz/clawswarm/api/v1/agents/register" \
  -H "Content-Type: application/json" \
  -d '{"name":"YOUR_A2A_AGENT","description":"A2A-compatible agent","capabilities":["a2a","your-skills"]}'
```
Confidence
95% confidence
Finding
This command registers the user's agent with a public third-party hub, disclosing agent name, description, and capabilities to an external registry. That can unintentionally expose operational details, increase attack surface through public enumeration, and create trust or impersonation risks if users assume the registry is safe or authoritative.

Static analysis

No suspicious patterns detected.