Back to skill

Security audit

News Market

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Chinese news aggregation skill that fetches fixed RSS and webpage sources, with content-integrity and untrusted-content risks users should understand before relying on it.

Install only if you want a Chinese-market news aggregation helper that contacts third-party RSS/news sites. Treat fetched article text and links as untrusted, verify market-moving claims from authoritative sources, and prefer an updated version that replaces HTTP feeds with HTTPS and labels remote content clearly.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/news_market.py:112
Finding

Untrusted remote news content is passed into AI-facing output without a trust boundary

Content
View full analysis
0 and len(text) > summary_len: text = text[:summary_len] + " ...[truncated 2349 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/news_market.py:39
Finding

News feeds are retrieved over unauthenticated plaintext HTTP

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Tp4

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The skill is described as focused on China A-share market news, but the documented behavior spans broad politics, technology, general media, and government sources. This mismatch is dangerous because it can bypass user or platform expectations, causing the skill to access and surface content outside its stated scope, which undermines trust and can evade policy review based on the narrower description.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill performs external network access to RSSHub mirrors and potentially additional web fetching, but the manifest does not explicitly declare tool scope or permissions. This creates a transparency and governance gap: users and hosting platforms may not realize the skill can reach arbitrary external content, which increases the risk of unexpected data egress, policy violations, or unsafe remote content retrieval.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
80% confidence
Finding

The description states the skill is focused on the China A-share market, and later guidance says English content may be translated, but the document does not offer the user any language or locale choice. Under SQP-3, locale/language constraints should be opt-in or clearly justified; here the skill appears to impose a China/Chinese-oriented scope by default.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The module docstring labels the tool as a Chinese news aggregator, and the command descriptions, help text, and runtime messages are all presented only in Chinese. Under the stated policy, forcing a specific language without opt-in or an explicit documented locale justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest says the skill is dedicated to querying Chinese A-share market information, yet the configured sources include broad outlets such as 人民网时政, 36氪, 观察者网/澎湃, IT之家, InfoQ, and general government policy feeds. This makes the implemented behavior a general Chinese news aggregator with some finance sources, which materially exceeds the stated A-share-market focus.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The markdown instructs the agent to retrieve full article content via RSS or web scraping, but it does not clearly warn that this requires live network access to third-party sites and may ingest untrusted remote content. That omission increases the chance of silent external requests, privacy surprises, and unsafe handling of fetched content in downstream agent workflows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

This code file performs live network requests to external domains using urllib, including direct fetches to numerous RSS and web endpoints. Although stderr progress messages are present, they do not disclose the privacy/safety implication that running the tool contacts third-party services and transmits request metadata such as IP address and user-agent.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
99% confidence
Finding

The help epilog advertises category --cat tech and category --cat finance, but the parser only allows categories from SOURCES.keys(), namely hot, tech_media, securities, and official. This is an active contradiction between the inline documentation and executable behavior.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.