Back to skill

Security audit

Shopify Toolkit

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local Shopify reference helper that prints documentation and does not show credential access, network calls, file mutation, or persistence.

Install only if you want static Shopify development reference output. Do not paste real store secrets or access tokens into prompts unless needed for your own task, and verify Shopify-specific limits or pricing against current official docs before relying on them operationally.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/script.sh (reported line 81)May include surrounding context.

sh
2. Redirect to /admin/oauth/authorize with scopes
    3. Merchant grants permissions
    4. Shopify redirects with code
    5. Exchange code for permanent access token
    6. Store token securely (encrypted at rest)

  Scopes (request minimum needed):

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/script.sh (reported line 204)May include surrounding context.

sh
Node: crypto.timingSafeEqual(calculated, received)
  Never skip HMAC verification — attacker can fake installation
  State parameter: Include random nonce to prevent CSRF
  Token storage: Encrypt access tokens at rest (AES-256-GCM)

## Session Token Authentication
  For embedded apps (running inside Shopify Admin iframe):

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.