Back to skill

Security audit

Agent Commerce Quick Start: Your First Autonomous Transaction in 30 Minutes

Security checks for vulnerabilities and agentic risk

Overview

This guide is not self-executing, but it requests high-value payment and signing secrets and includes unsafe examples that could expose keys or run real payment operations.

Review before installing. Use only sandbox/test credentials, avoid providing Stripe or signing keys unless a specific workflow actually needs them, do not paste production secrets into shell examples, and do not run the private-key example as written because it prints secret key material.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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:321
Finding

Ed25519 Private Signing Key Disclosed Through Standard Output

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:14
Finding

Unused Signing and Payment Credentials Requested Beyond Functional Need

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 (11)

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The guide presents inconsistent security-relevant setup information: it claims the sandbox requires no API key while also declaring required credentials and showing authenticated examples. This can mislead users into supplying real credentials unnecessarily or misunderstanding which environment they are targeting, increasing the chance of accidental credential exposure or misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The guide includes authenticated curl and Python examples for payment-related operations without strong warnings to use sandbox/test credentials only or to avoid exposing secrets in shell history, logs, notebooks, and console output. Users may paste real API keys and payment tokens into terminals or shared environments, leading to credential leakage and unauthorized API usage.

Content

No source excerpt is available for this finding.

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 199)May include surrounding context.

Prerequisites

You need two things:

  1. A GreenHelix API key (get one at https://api.greenhelix.net/register)
  2. Python 3.9+ with requests and cryptography installed
bash

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 214)May include surrounding context.

Prerequisites

You need two things:

  1. A GreenHelix API key (get one at https://api.greenhelix.net/register)
  2. Python 3.9+ with requests and cryptography installed
bash

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 255)May include surrounding context.

Prerequisites

You need two things:

  1. A GreenHelix API key (get one at https://api.greenhelix.net/register)
  2. Python 3.9+ with requests and cryptography installed
bash

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 219)May include surrounding context.

md
def execute_tool(tool: str, input_data: dict) -> dict:
    """Execute a tool on the GreenHelix A2A Commerce Gateway."""
    response = requests.post(
        f"{BASE_URL}/v1",
        headers={
            "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 · SKILL.md (reported line 237)May include surrounding context.

bash
export GREENHELIX_API_KEY="your-api-key-here"

curl -s -X POST https://sandbox.greenhelix.net/v1 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $GREENHELIX_API_KEY" \
  -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 262)May include surrounding context.

md
"""Execute a tool with retry logic for transient errors."""
    for attempt in range(retries + 1):
        try:
            resp = requests.post(
                f"{BASE_URL}/v1",
                headers={"Content-Type": "application/json",
                         "Authorization": f"Bearer {API_KEY}"},

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The example generates a private signing key and prints it directly to stdout, which is highly risky because terminals, notebooks, CI logs, shell history capture, and observability tools may retain secret material. Exposure of the signing key would allow impersonation of the agent and fraudulent signing of payment or identity-related actions.

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 381)May include surrounding context.

text

```bash
# curl equivalent
curl -s -X POST https://sandbox.greenhelix.net/v1 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $GREENHELIX_API_KEY" \

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The opening notice frames the file as purely illustrative and non-executing, yet the guide later includes concrete code that issues authenticated HTTP POST requests to GreenHelix endpoints and demonstrates creating payment intents, escrows, and disputes. While the markdown itself does not execute, the wording can be read as minimizing the real side effects of the provided code snippets.

Content

No source excerpt is available for this finding.