Back to skill

Security audit

quotedance-rss-digest

Security checks for vulnerabilities and agentic risk

Overview

This RSS digest skill is mostly coherent, but it gives remotely supplied feed URLs too much local network reach and can place untrusted RSS text into an agent-facing digest.

Review this before installing if your agent runs on a machine with access to private services or sensitive local web apps. The skill should restrict feed destinations, treat feed text as untrusted data, and avoid shipping generated cache files; otherwise a compromised feed registry or malicious RSS item could influence the agent or probe reachable internal URLs.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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 (3)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/rss-digest.js:152
Finding

Registry-Controlled Feed URLs Permit Server-Side Request Forgery

Content
View full analysis
controller.abort(), 20000); try { const res = await fetch(url, { method: 'GET', headers: { Accept: 'application/rss+xml, application/atom+xml, application/xml, text/xml;q=0.9, */*;q=0.8' }, signal: controller.signal }); clearTimeout(timeout); if (!res.ok) { throw new Error('HTTP ' + res.status + ' ' + (await res.text())); } return await res.text(); } catch (e) { clearTimeout(timeout); throw e; } } ``` ```js const fetchResults = await mapWithConcurrency(sources, 5, async source => { const feedUrl = normalizeRssUrl(source.rss_url); if (!feedUrl) { log('跳过无效 rss_url:' + (source.name || source.id || 'unknown')); return []; } try { const xml = await fetchTextByUrl(feedUrl); const parsed = parseRssOrAtom(xml, source); return parsed; } catch (e) { log('抓取失败:' + (source.name || source.id || 'unknown') + ' - ' + (e.message || e)); return []; } }); ``` ### Technical Analysis The feed registry is obtained from a remote service, and every `rss_url` supplied by that service is subsequently requested by the local process. The only validation applied to an absolute URL is whether it begins with `http://` or `https://`. The implementation does no ...[truncated 2259 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Warning
Location
scripts/rss-digest.js:409
Finding

Untrusted RSS Content Is Inserted into Agent-Facing Markdown Without Neutralization

Content
View full analysis
/gi) || [] : text.match(//gi) || []; return blocks.map(block => { const title = pickTag(block, 'title'); const link = isAtom ? (pickAtomLink(block) || pickTag(block, 'id')) : (pickTag(block, 'link') || pickTag(block, 'guid')); const publishedAt = pickTag(block, 'pubDate') || pickTag(block, 'published') || pickTag(block, 'updated') || pickTag(block, 'dc:date'); const rawSummary = pickTag(block, 'description') || pickTag(block, 'summary') || pickTag(block, 'content:encoded') || pickTag(block, 'content'); const summary = stripHtml(rawSummary); return { title: title || '(无标题)', link, published_at: publishedAt || '', source_name: source.name || '', source_id: source.id || '', source_category: source.category || '', summary }; }); } ``` ```js articles.forEach((a, idx) => { const articleTitle = a.title || a.subject || '(无标题)'; const sourceName = getSourceName(a) || '未知来源'; const d = parseArticleDate(a); const dateStr = d ? formatDateTime(d) : '时间未知'; const url = getArticleUrl(a); out += (idx + 1) + '. **' + articleTitle + '**\n'; out += ' - 来源:' + sourceName + '\n'; out += ' - 时间:' + dateStr + '\n'; if (url) { out += ' - 链接:' + url + '\n'; } if (a.summary || a.description) { const summary = String(a.summary || a.description).trim(); if (summary) { const short = summary.length > 200 ? summary.slice(0, 200) + '…' : summar ...[truncated 2453 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Note
Location
memory/rss-cache-_____-d5-l10.json:295
Finding

Packaged Cache Files Persist External Agent-Directed Installation Instructions

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (16)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill sends subscription metadata and feed fetch requests to an external hosted service and a local RSSHub instance, but the description does not clearly warn the user that these requests disclose their enabled feed list and access patterns. This can create privacy and metadata-leak risks, especially because local services and third-party endpoints may log requests or reveal interests tied to the user's API key/account.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This markdown file describes activation using common phrases such as “帮我汇总下最近几天的资讯流” and “看下我订阅源最近 3 天有啥值得看的,” but it does not define explicit trigger constraints or negative examples. Those phrases are broad enough to overlap with normal conversational requests, which could cause unintended invocation of the skill.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

This JSON file stores a user-identifying parameter value entirely in Chinese ("杨康平同学") without any indication that language selection was user-chosen or that the skill is intentionally region-specific. Under the policy rule for natural-language violations, hard-coding a specific language/locale in user-facing content or configuration can violate language-choice expectations when no opt-in or justification is present.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
78% confidence
Finding

This JSON cache stores the user's name and all article content in Chinese, with no indication that language selection was user-chosen or configurable. For a skill artifact, hard-coding a single locale can violate language/locale policy when it does not offer user choice or document a justified regional constraint.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This JSON file contains natural-language skill/integration instructions that tell users to copy a Chinese-only prompt and register with a Chinese-language handle workflow. Because the file provides no language choice, opt-in, or justification for a locale restriction, it conflicts with the language/locale policy requirement.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This JSON cache contains article titles and summaries almost entirely in Chinese, including promotional/instructional text, with no indication that language choice is optional or user-configurable. For a general-purpose skill data file, hard-coding one language across the content can violate language/locale policy when users are not offered an explicit opt-in or alternative locale.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill documents cache creation, cache reuse, and cache clearing, but does not explicitly warn that invoking these operations writes to and deletes local files. While the impact is limited to local skill state, silent modification of local data can surprise users and may matter in sensitive environments where feed history or cache artifacts should not persist.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

This JSON cache stores all article titles and summaries in Chinese and includes a Chinese-language name parameter, indicating the skill content is effectively fixed to a Chinese locale. For config/data files, this can be a natural-language policy concern when no user choice or region-specific justification is documented in the file.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

This JSON cache is entirely populated with Chinese-language titles and summaries and includes a user-specific name parameter, suggesting the skill may be operating in a single forced language/locale context. Under the policy, forcing a specific language without user opt-in can be a natural-language policy concern when no justification or choice is documented in the file.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

This JSON config contains natural-language values entirely in Chinese, including categories and feed names, which indicates a fixed language/locale behavior. Under the policy rule, forcing a specific language without an explicit user choice or documented justification can be a locale-policy violation.

Content

No source excerpt is available for this finding.