Back to skill

Security audit

Daum Toy Search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Daum/Kakao search helper that sends user queries to a disclosed external API and prints results, with privacy and prompt-injection cautions users should understand.

Install only if you are comfortable sending search queries and the DAUM_TOY_SEARCH_API_KEY to the hosted Upstage/Daum adapter. Avoid using sensitive prompts, secrets, personal data, or regulated information as search queries, and treat returned Markdown as untrusted search content rather than commands for the agent to follow.

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
scripts/search.mjs:66
Finding

Untrusted Search Results Rendered for Direct AI Agent Ingestion

Content
View full analysis
{ console.log(`### ${index + 1}. [${res.title}](${res.url})`); console.log(`**Source:** ${res.source} | **Date:** ${res.date}`); console.log(`${res.snippet}\n`); }); ``` ### Technical Analysis The `title`, `url`, `source`, `date`, and `snippet` fields originate from an external search API and are inserted directly into Markdown without sanitization, escaping, URL validation, or trust-boundary markers. The skill documentation states that this output is suitable for direct ingestion by AI agents. Consequently, attacker-controlled search content can enter an agent's context as natural-language instructions or crafted Markdown. An attacker may publish content designed to rank for a targeted query, or a compromised upstream API may return malicious fields. Possible payloads include: - Instruction-like text intended to override the consuming agent's current task. - Markdown that disguises an attacker-controlled URL as a trusted destination. - Crafted titles or snippets that alter the apparent structure of the returned document. - Non-HTTP URL schemes or misleading links if a downstream renderer makes them actionable. The script does not itself execute the returned content. Exploitation therefore depends on a downstream AI agent or renderer treating the generated Markdown as trusted instructions or actionable content. ### Attack Path 1. An attacker publishes a page containing prompt-injection text or crafted Markdown and causes it to be indexed by the upstream search provider. Alternatively, the upstream API or its response path is compromised. 2. A user or agent invokes the skill with a query for which the malicious page is returned. 3. The external API places attacker-controlled values in ...[truncated 1141 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
The `search.mjs` script outputs concise, formatted Markdown suitable for direct ingestion by AI agents:

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill declares network and environment-variable capabilities via metadata and examples, but does not define an explicit tool scope such as allowed tools or permissions. That creates a policy gap where an agent may invoke broader capabilities than the user expects, especially since the skill sends authenticated requests using an API key.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README includes an authenticated POST request to a remote third-party service but does not warn users that both search queries and the bearer token are transmitted off-platform. This can lead to unintended disclosure of sensitive prompts, search terms, or credentials in environments where users assume searches are local or privacy-preserving.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
97% confidence
Finding

The skill explicitly performs external transmission by sending user-supplied queries and an Authorization bearer token to https://daum-perplexity-search-adapter.toy.x.upstage.ai/search. While this is core to the skill's purpose, it is still security-relevant because any sensitive user input entered as a query leaves the local environment and is exposed to a third-party service.

Content

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

You can use curl to query the API from your OpenClaw agents:

bash
curl -s -X POST "https://daum-perplexity-search-adapter.toy.x.upstage.ai/search" \
     -H "Authorization: Bearer $DAUM_TOY_SEARCH_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The script transmits the user-provided search query to an external HTTPS service, but it does not disclose that data leaves the local environment or warn users that queries may be logged or processed by a third party. In an agent skill context, queries can contain sensitive prompts, internal data, or personal information, so silent exfiltration to an external service creates a real privacy and data-handling risk even though the behavior appears to be the intended functionality.

Content

No source excerpt is available for this finding.