Back to skill

Security audit

Buy from Amazon — Search, Cart & Order for AI Agents

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Amazon shopping workflow that uses buystuff.ai for search, cart, checkout, and payment-link email, with some user-control guidance users should read carefully.

Install this only if you are comfortable using buystuff.ai as a third-party shopping intermediary. Use it for explicit shopping or ordering tasks, keep session IDs scoped to one user and transaction, review the price and address before confirmation, and do not request a payment link until the user clearly approves.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The activation guidance is overly broad and can trigger this purchasing skill for generic shopping, gifting, or product-comparison discussions without a clear user intent to use this third-party ordering workflow. In context, that increases the chance an agent prematurely routes a conversation into an external commerce flow and begins collecting or transmitting shopping and checkout data to buystuff.ai.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
87% confidence
Finding

This flow instructs the agent to send user search queries and persist a session identifier to an external domain, creating a cross-request shopping session at buystuff.ai. While expected for the service, it still represents external data transmission and session tracking that can expose behavioral data or lead to unintended continuity if the session is reused improperly.

Content

Scanner excerpt · SKILL.md (reported line 65)May include surrounding context.

bash
# First request — get a session ID from the response
curl "https://buystuff.ai/search?q=earbuds"
# Response header: X-Session-ID: ses_abc123...
# Response body includes: "sessionId": "ses_abc123..."

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
95% confidence
Finding

The skill explicitly acknowledges that an agent might call the payment-link endpoint without asking and downplays that outcome as acceptable. Even if no charge occurs, sending unsolicited payment links and initiating checkout-related actions without contemporaneous approval is an unauthorized transactional step and may disclose order details to email recipients or create social-engineering pressure.

Content

Scanner excerpt · SKILL.md (reported line 104)May include surrounding context.

md
**This skill cannot charge money or complete purchases.** It only generates a payment link email. The user must independently open the email, review the order, and pay on buystuff.ai — completely outside this API.

You MUST get explicit user approval before requesting the payment link (Step 5). Show the price breakdown, wait for "yes." Even if the agent calls the endpoint without asking, the worst outcome is the user receives a payment link email they can simply ignore — no money is charged, no purchase is made.

---

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

/buy-amazon-details

bash
curl "https://buystuff.ai/product/B09F5RKG8P"

Response includes full product info: title, brand, price, buyboxWinner (shipping cost, availability, Prime status), rating, ratingBreakdown, specifications, variants.

External Transmission

Medium
Category
Data Exfiltration
Confidence
84% confidence
Finding

Retrieving and mutating cart state through an external session-bound API can expose shopping selections and enable unintended cart changes if session handling is weak or confused across users/tasks. Because the skill emphasizes reusing the same X-Session-ID across requests, accidental leakage or misbinding of that identifier could affect another active cart.

Content

Scanner excerpt · SKILL.md (reported line 172)May include surrounding context.

View the current cart (without needing the cartId):

bash
curl -H "X-Session-ID: ses_abc123..." https://buystuff.ai/cart

Update item quantity:

Static analysis

No suspicious patterns detected.