T09 · Insecure Skill Coding Practices
- Location
SKILL.md:148- Finding
Unrestricted Disclosure of Private Local Files to an External Conversion Service
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it advertises, but it directs agents to send local and private files to an external conversion service without clear per-file consent or sensitivity safeguards.
Use this skill only for files and URLs you are authorized to send to markdown.new. Avoid confidential documents, regulated data, credentials, internal-only URLs, private keys, or business-sensitive files unless you have explicit approval and understand the service's retention and processing terms.
SKILL.md:148Unrestricted Disclosure of Private Local Files to an External Conversion Service
This example embeds a target file URL directly into a request to markdown.new, causing the external service to fetch and process that resource. That behavior can expose sensitive URLs, trigger third-party access to private resources if not restricted, and leak contents beyond the user's expected trust boundary.
Example:
curl -s "https://markdown.new/https://example.com/report.pdf"
The skill explicitly instructs agents to upload local files or submit URLs to a third-party service, but it does not warn users that potentially sensitive files, document contents, or internal URLs will be transmitted off-platform for processing. This can lead to unintended disclosure of confidential data and privacy/compliance issues, especially in agent workflows that may automatically process user-provided files.
The JavaScript example performs a POST to an external service with a remote file URL, demonstrating off-platform transmission of potentially sensitive input. In an agent setting, this becomes more dangerous because automation may process arbitrary user content at scale, increasing the chance of accidental data leakage or SSRF-by-proxy against the third-party converter.
const res = await fetch("https://markdown.new/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
This duplicate finding points to the same Python snippet that posts a URL to an external service. Although expected for the feature, it is still security-relevant because agents may forward sensitive document locations or internal endpoints to a third party without adequate notice or filtering.
import requests
res = requests.post(
"https://markdown.new/",
json={"url": "https://example.com/file.pdf"}
)
This duplicate finding points to the same Python snippet that posts a URL to an external service. Although expected for the feature, it is still security-relevant because agents may forward sensitive document locations or internal endpoints to a third party without adequate notice or filtering.
import requests
res = requests.post(
"https://markdown.new/",
json={"url": "https://example.com/file.pdf"}
)
The skill explicitly supports converting remote URLs and uploading local files to https://markdown.new, but the description does not clearly warn users that their files, URLs, and potentially sensitive document contents are transmitted to a third-party external service. This can lead to unintentional data exfiltration, privacy violations, or policy noncompliance when users process confidential or internal material under the assumption that conversion is local.
This plain-text skill description explains capabilities and endpoints, but it does not define specific activation phrases, boundaries, or exclusion conditions for when the skill should be invoked. In a skill catalog context, that lack of specificity can lead to unintended activation for generic file-conversion or document-processing requests.
No suspicious patterns detected.