T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/repurpose.py:201- Finding
Undocumented Local File Content Transmission to an External API
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a real content repurposing tool, but it can read local files and send their contents to MiniMax without clear top-level disclosure or confirmation.
Install only if you are comfortable sending submitted content to MiniMax. Do not use @file with secrets, private documents, credentials, .env files, customer data, or regulated content unless you have reviewed the provider handling and explicitly intend to upload that file.
scripts/repurpose.py:201Undocumented Local File Content Transmission to an External API
scripts/repurpose.py:39Prompt Injection Through Untrusted Source Content
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
method="POST"
)
with urllib.request.urlopen(req, timeout=60) as resp:
result = json.loads(resp.read().decode("utf-8"))
return result["choices"][0]["message"]["content"].strip()
except Exception as e:
The skill advertises broad, generic repurposing capability without clear trigger boundaries or scoping constraints, which can cause it to activate on a wide range of user content unintentionally. In an agent environment, overly broad activation increases the chance of processing sensitive or irrelevant data and can lead to unnecessary transmission of user-provided material to downstream systems.
The skill states that it uses the MiniMax API via OpenClaw but does not clearly warn users that their submitted content may be sent to an external service. If users provide confidential business text, drafts, or personal data, the absence of a prominent disclosure can result in unintended data exfiltration to a third-party processor.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
from pathlib import Path
# API configuration
MINIMAX_API_URL = "https://api.minimax.chat/v1/text/chatcompletion_pro"
MINIMAX_API_KEY = os.environ.get("MINIMAX_API_KEY", "")
The script transmits arbitrary user-supplied content, including file contents loaded via @file, to an external API without any explicit consent prompt, warning, or privacy notice. In a skill context, users may unknowingly send sensitive local data, creating confidentiality and compliance risks if secrets, personal data, or proprietary text are repurposed through the remote service.