other
- Location
scripts/volcengine_search_web.py:18- Finding
API Credential and User Query Disclosure to an Unrelated Third-Party Endpoint
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a plausible Volcengine web-search helper, but it under-discloses that it sends full user queries and a bearer credential to an external API and can silently fall back to a broader Ark API key.
Review before installing. Use a dedicated, low-privilege VOLCENGINE_SEARCH_API_KEY, avoid exposing a general VOLCENGINE_ARK_API_KEY in the runtime environment, and do not send secrets, private source code, internal URLs, or regulated data as search queries unless this provider and endpoint are approved for that data.
scripts/volcengine_search_web.py:18API Credential and User Query Disclosure to an Unrelated Third-Party Endpoint
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
if stream:
# Streaming response
print("\n=== Response (Streaming) ===\n")
response = requests.post(API_URL, headers=headers, json=payload, stream=True)
response.raise_for_status()
full_content = ""
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
print("\n")
else:
# Non-streaming response
response = requests.post(API_URL, headers=headers, json=payload)
response.raise_for_status()
data = response.json()
There is a material mismatch between the declared behavior and the detected implementation details, including use of an unexpected external endpoint, undeclared credential requirements, and a CLI-style execution path not reflected in the skill metadata. Behavior/description mismatches are dangerous because they can conceal data exfiltration destinations, bypass reviewer expectations, and cause users to disclose sensitive queries or credentials to an unanticipated third party.
The README clearly promotes a networked search skill backed by Volcengine's API, but it does not explicitly warn users that their prompts and possibly related metadata will be sent to a third-party service for processing. In an AI coding/tooling context, users may submit sensitive source code, internal URLs, tokens, or proprietary questions, so missing disclosure materially increases the risk of unintended data exposure.
The skill appears to use both environment-sourced secrets and outbound network access, but the manifest does not declare any tool scope or permissions. This weakens transparency and policy enforcement because users and hosting platforms cannot clearly evaluate that the skill will read credentials and transmit data externally before invocation.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
if stream:
# Streaming response
print("\n=== Response (Streaming) ===\n")
response = requests.post(API_URL, headers=headers, json=payload, stream=True)
response.raise_for_status()
full_content = ""
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
if stream:
# Streaming response
print("\n=== Response (Streaming) ===\n")
response = requests.post(API_URL, headers=headers, json=payload, stream=True)
response.raise_for_status()
full_content = ""
The script forwards the user's raw question content to an external third-party API without any explicit notice, consent flow, or filtering for sensitive data. In an agent-skill context, users may reasonably assume local handling, so secrets, personal data, internal URLs, or proprietary prompts can be unintentionally disclosed to the remote provider.
The skill documentation describes search functionality but does not clearly warn that user prompts and the returned content flow through a third-party web search/Q&A provider. This is a privacy and trust issue because users may unknowingly send proprietary code, internal questions, or regulated data to an external service with separate retention and handling policies.
No suspicious patterns detected.