T09 · Insecure Skill Coding Practices
- Location
SKILL.md:31- Finding
News Feed Retrieved over Unencrypted HTTP
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:31andreferences/news_sources.md:7
Vulnerability Type: Unencrypted external content retrieval
Risk Level: MediumVulnerable Code
SKILL.md:31:markdown - http://feeds.bbci.co.uk/news/world/rss.xml (BBC国际新闻官方RSS)references/news_sources.md:7:markdown | BBC国际新闻 | http://feeds.bbci.co.uk/news/world/rss.xml | RSS | 国际 | ⭐⭐⭐ | 最稳定国际RSS |Technical Analysis
The Skill instructs the Agent to retrieve a BBC RSS feed through plaintext HTTP. HTTP provides neither transport confidentiality nor cryptographic integrity. An attacker capable of intercepting or altering the network connection could modify the response before it reaches the Agent.
Although the request does not contain credentials or private user information, the retrieved response becomes an input to an AI Agent. Modified RSS entries could contain fabricated news, malicious links, or prompt-injection text designed to influence subsequent processing. The duplicated insecure endpoint in the reference file may also cause the HTTP URL to be reused during future maintenance.
The network access itself is necessary for the declared news-digest functionality and does not exceed minimum required privileges. The weakness is the use of an insecure transport protocol rather than the existence of network access.
Attack Path
- A user invokes the Skill to generate a daily news digest.
- The Agent requests
http://feeds.bbci.co.uk/news/world/rss.xml. - An attacker with a suitable network position, such as a compromised gateway, hostile wireless access point, DNS manipulation capability, or upstream interception capability, intercepts the plaintext request.
- The attacker returns a modified RSS response or substitutes a malicious redirect before any secure connection is established.
- The Agent processes the attacker-controlled entries as news-source content.
- Fabricated ...[truncated 943 chars]
- Remediation
View remediation
Remediation Suggestions
-
Replace the plaintext endpoint with the official HTTPS equivalent everywhere it appears:
markdown https://feeds.bbci.co.uk/news/world/rss.xml -
Update both
SKILL.md:31andreferences/news_sources.md:7so the insecure URL cannot be reintroduced from the reference documentation. -
Reject redirects that downgrade an HTTPS request to HTTP.
-
Treat all RSS and webpage content as untrusted data. Explicitly instruct the Agent not to follow commands, tool requests, or behavioral directives found in fetched content.
-
Permit outbound requests only to the documented HTTPS source domains and validate final redirect destinations against that allowlist.
-
Preserve source attribution, but validate article links before adding them to the report. Reject unexpected protocols and clearly unrelated domains.
-
Where supported, apply response-size limits, parsing limits, timeouts, and content-type validation to reduce exposure to malformed or hostile feed responses.
-
