T09 · Insecure Skill Coding Practices
- Location
call_api.py:5- Finding
Unprotected Disclosure of Complete User Prompts to a Remote Tunnel Endpoint
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a small remote biology-chat client, but it sends complete prompts to an ngrok-hosted service without enough disclosure or trust boundaries.
Review before installing. Use this only with prompts and cell data you are allowed to send to an external service, and prefer a verified HTTPS endpoint with clear ownership and privacy terms. Avoid proprietary, regulated, patient-derived, or unpublished research data unless the service operator and retention policy are acceptable.
call_api.py:5Unprotected Disclosure of Complete User Prompts to a Remote Tunnel Endpoint
The documented purpose is narrowly framed as a virtual cell biology reasoner, but the behavior described allows arbitrary prompts, generic remote chat usage, and endpoint override to an external ngrok-hosted service. That mismatch is dangerous because users may trust the skill with sensitive research inputs under a domain-specific label while it can function as a general exfiltration or unreviewed remote inference channel.
The skill clearly relies on network access via python call_api.py and a remote server URL, yet it declares no explicit tool scope or permissions. This creates an authorization and review gap: operators and users cannot easily tell that prompts and biological data may be transmitted off-platform, increasing the chance of unintended external data exposure.
The examples instruct users to send biology questions and encoded cell data to a remote API without any warning that these inputs leave the local environment. In research or biomedical contexts, such data may be sensitive or proprietary, so silent transmission can lead to confidentiality, compliance, and data-governance violations.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def do_chat(url, message, max_new_tokens=512, temperature=0.7):
resp = requests.post(
f"{url}/chat",
json={"message": message, "max_new_tokens": max_new_tokens, "temperature": temperature},
)