Back to skill

Security audit

X Comment Bot

Security checks for vulnerabilities and agentic risk

Overview

This skill is for automated X/Twitter engagement, but it gives an agent authority to post public replies from a logged-in account without confirmation and includes ambiguous like/follow-up behavior.

Install only if you are comfortable with an agent using a logged-in X/Twitter profile to choose posts and publish replies automatically. Review the like-action ambiguity and disable or tightly control the optional follow-up tracking unless you explicitly want persistent engagement history and revisits.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (8)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill explicitly mandates fully automated commenting and direct sending without asking for confirmation, which is dangerous because it performs irreversible public posting actions on a user's social account. In context, this increases the chance of reputational harm, policy violations, or posting unwanted content if topic selection or generated text is mistaken.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The inline documentation is self-contradictory about whether the skill likes tweets, which creates ambiguity in a high-risk domain involving authenticated account actions. Ambiguous execution docs can cause an agent to select the more permissive path and perform actions the user did not intend, especially when paired with the skill's default auto-send behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill positioning section explicitly describes the skill as automatically finding content, liking it, composing a reply, and sending it, while the manifest says comment-only. This kind of scope contradiction is dangerous because downstream agents may follow the broader behavioral description and perform unintended social actions on a logged-in user account without clear consent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

该技能在描述中用“去 X 时间线上找几条技术帖子评论”“帮我在 X 推荐页发几条技术评论”等自然语言作为触发示例,但没有给出明确的触发边界、排除条件或固定调用短语。对于 markdown 文件,这会造成何时应自动调用该 skill 的范围不清,增加意外触发的风险。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest repeatedly states the skill should only publish comments and must not perform likes. However, the documented implemented capabilities explicitly say it can click like/reply buttons, which broadens the described interaction behavior beyond comment-only operation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

文档规定“中文推文→中文评论,其他语言→英文评论”,属于预设的语言/locale 策略。根据规则,若技能强制特定语言而未提供用户选择或 opt-in,则构成自然语言政策问题。

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The optional tracking feature stores persistent interaction history and drives future follow-up behavior via cron-like revisits, extending the skill beyond one-off commenting into ongoing profiling and automated engagement. This is risky because it creates durable behavioral records tied to other users and can lead to repeated autonomous actions without fresh user awareness or consent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The workspace persistence of interaction records is implemented without any warning, consent, retention limit, or privacy controls. That is dangerous because it quietly creates a local dossier of social interactions and enables future automated engagement based on stored behavioral history.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.