Back to skill

Security audit

Clarity Vote

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it claims: it lets an agent list or cast Clarity Protocol votes using a clearly disclosed external API and API key.

Install this only if you intend agents to submit permanent votes to Clarity Protocol. Keep CLARITY_WRITE_API_KEY scoped to this service, and review the hypothesis ID, agent ID, direction, confidence, and reasoning before running the voting command.

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
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Lp3

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding
The skill declares that it requires internet access and API keys, but it does not define any explicit tool scope such as allowed-tools or permissions. That creates an authorization gap where an agent runtime may permit broader network or environment access than is minimally necessary, increasing the chance of unintended secret exposure or misuse of outbound requests.

External Transmission

Medium
Category
Data Exfiltration
Content
url = API_BASE + endpoint

    try:
        response = requests.post(
            url,
            json=data,
            headers=get_headers(write=True),
Confidence
80% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.