Back to skill

Security audit

Verified Trading Bot Reputation: Building Cryptographic PnL Proof

Security checks for vulnerabilities and agentic risk

Overview

This is a non-executable guide, but its examples mishandle sensitive keys and blur sandbox versus production API use.

Review carefully before installing or following the examples. Do not print or paste private signing keys into terminals, chats, logs, notebooks, or CI output; store them in a proper secret store and rotate any key generated with this example. Use a clearly chosen sandbox or production base URL, verify whether an API key is actually required, and avoid sending real trading metrics or credentials until the environment is explicit.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:121
Finding

Private Ed25519 Signing Key Exposed Through Standard Output

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:107
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (20)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The guide states that the sandbox requires no API key, yet the examples consistently use bearer-token authorization. This mismatch can mislead users into supplying credentials unnecessarily or trusting inaccurate setup instructions, which increases the risk of credential misuse and unsafe onboarding decisions.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The narrative claims the examples target the sandbox, but the Python examples use the production hostname. This can cause users to send test data, identifiers, or real credentials to production unexpectedly, creating risk of unintended data exposure, account changes, and operational mistakes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The sample code prints the newly generated Ed25519 private key directly to stdout. Secrets printed to terminals are commonly captured in shell history, logs, CI output, notebook cells, screenshots, or copied into insecure storage, which can lead to full identity compromise for the agent.

Content

No source excerpt is available for this finding.

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 · SKILL.md (reported line 153)May include surrounding context.

md
API_KEY="your-api-key-here"
PUBLIC_KEY_B64="your-base64-public-key"

curl -s -X POST https://sandbox.greenhelix.net/v1 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · SKILL.md (reported line 171)May include surrounding context.

python
import requests

BASE_URL = "https://api.greenhelix.net/v1"
API_KEY = "your-api-key-here"

headers = {

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · SKILL.md (reported line 394)May include surrounding context.

python
import requests

BASE_URL = "https://api.greenhelix.net/v1"
API_KEY = "your-api-key-here"

headers = {

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · SKILL.md (reported line 1170)May include surrounding context.

python
import requests

BASE_URL = "https://api.greenhelix.net/v1"
API_KEY = "your-api-key-here"

headers = {

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · SKILL.md (reported line 2016)May include surrounding context.

python
import requests

BASE_URL = "https://api.greenhelix.net/v1"
API_KEY = "your-api-key-here"

headers = {

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 179)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 205)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 289)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 343)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 360)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 741)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 787)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 1177)May include surrounding context.

md
"Content-Type": "application/json"
}

response = requests.post(f"{BASE_URL}/v1", headers=headers, json={
    "tool": "register_agent",
    "input": {
        "agent_id": "trading-bot-alpha-7x",

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 · SKILL.md (reported line 303)May include surrounding context.

With curl:

bash
curl -s -X POST https://sandbox.greenhelix.net/v1 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 407)May include surrounding context.

md
def _execute(self, tool, input_data):
        """Execute a tool on the GreenHelix gateway."""
        response = requests.post(
            f"{self.base_url}/v1",
            headers=self.headers,
            json={"tool": tool, "input": input_data}

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 · SKILL.md (reported line 594)May include surrounding context.

With curl:

bash
curl -s -X POST https://sandbox.greenhelix.net/v1 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% 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 · SKILL.md (reported line 1103)May include surrounding context.

md
def fetch_raw_submissions(base_url, headers, agent_id, start, end):
    """Fetch raw metric submissions for a time range."""
    response = requests.post(f"{base_url}/v1", headers=headers, json={
        "tool": "query_metrics",
        "input": {
            "agent_id": agent_id,