Back to skill

Security audit

Triumvirate Protocol

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a real multi-model debate tool, but it should be reviewed because it reads local AI credentials and identity data, sends rich context to external providers, and handles some secrets unsafely.

Review before installing. Use only scoped API keys you are comfortable using with this tool, avoid sensitive identity data or private debate content, and assume identity summaries and transcripts may be stored locally and sent to Google or xAI when automated rounds or synthesis run.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
protocol.py:162
Finding

Gemini API Key Exposed in Request URL Query String

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
protocol.py:177
Finding

xAI Bearer Token and Sensitive Debate Payload Exposed Through Process Arguments

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · protocol.py (reported line 178)May include surrounding context.

python
YOUR RESPONSE (as {my_info['name']}, Round {round_num}):"""

    return prompt


def call_gemini(prompt, api_key, max_tokens=2000):

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill advertises multi-provider debates and identity-aware context, but it does not clearly warn users that debate prompts, thread history, and identity snapshots may be transmitted to third-party AI providers. This creates a real privacy and data-governance risk because users may supply sensitive personal or organizational information without informed consent, especially given the persistent thread/history design.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · protocol.py (reported line 206)May include surrounding context.

python
"max_tokens": max_tokens,
        "temperature": 0.8,
    })
    proc = subprocess.run(
        ["curl", "-s", "--max-time", "120",
         "https://api.x.ai/v1/chat/completions",
         "-H", "Content-Type: application/json",

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · protocol.py (reported line 208)May include surrounding context.

python
})
    proc = subprocess.run(
        ["curl", "-s", "--max-time", "120",
         "https://api.x.ai/v1/chat/completions",
         "-H", "Content-Type: application/json",
         "-H", f"Authorization: Bearer {api_key}",
         "-d", payload],

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill builds prompts containing identity graph data and full transcript history, then sends that material to external model providers without any explicit consent, warning, or minimization step. Because identity data may contain sensitive beliefs, traits, contradictions, or profile metadata, this creates a real privacy and data-governance exposure.

Content

No source excerpt is available for this finding.