Back to skill

Security audit

Amazon Api

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Amazon public-data wrapper for ScraperSocial and its code matches that purpose without persistence or hidden local access.

Install only if you are comfortable sending Amazon product URLs, search terms, and your ScraperSocial API key to ScraperSocial. Calls may consume ScraperSocial credits; use limits for reviews, sellers, and search results.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The code chunk does not match the declared end-user functionality. The description promises an Amazon data toolkit, but this file is generic infrastructure used by skills: HTTP request handling, auth header setup, retries, timeout handling, CLI flag parsing, and JSON/error output. There is no endpoint selection or business logic for Amazon product details, search, reviews, or seller listings in this chunk. While helper code can be supporting detail, here the actual supplied code does not substantiate the declared purpose at all. Additionally, it accesses the SCRAPERSOCIAL_KEY environment variable, which is a resource use not reflected in the declared permissions.

Content

No source excerpt is available for this finding.

Lp1

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.

Content

No source excerpt is available for this finding.

Lp1

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.

Content

No source excerpt is available for this finding.

Lp1

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'shell' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/_client.js:53