Back to skill

Security audit

百度地图地址·餐饮开关店与竞对分析

Security checks for vulnerabilities and agentic risk

Overview

This skill is a narrowly scoped restaurant-location analysis helper that uses a disclosed API key and provider API, with one endpoint-configuration hardening issue users should watch.

Install only if you trust 店店通 and are comfortable sending restaurant brands, addresses, and candidate site queries to its API. Before use, set DDT_OPEN_BASE to https://gotoshop-ai.com/ddtclaw or leave it unset, and rotate DDT_API_KEY if it may have been sent to any other endpoint.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:30
Finding

Bearer Token Disclosure Through an Unvalidated API Base URL

Content
View full analysis
Remediation
View remediation
&2 exit 1 ;; esac ``` 4. Ensure clients do not forward the `Authorization` header across cross-origin redirects. Prefer rejecting redirects for authenticated API requests or revalidating the destination origin before following them. 5. Document that `DDT_API_KEY` must be rotated immediately if it may have been sent to an untrusted endpoint. Avoid logging the token in command output, diagnostic messages, or error reports. ]]>
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep