Back to skill

Security audit

Twitter Thread Creation

Security checks for vulnerabilities and agentic risk

Overview

The skill is aimed at Twitter/X thread creation, but its install and helper commands ask users to trust mutable remote code and broad CLI actions.

Install only if you trust inference.sh and are comfortable with its CLI posting to your X account. Prefer manual, version-pinned installation and checksum verification, avoid the curl-to-sh quick start, and treat the optional npx related-skill commands as separate installs requiring separate review.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:14
Finding

Unreviewed Remote Installation Script Executed Directly by the Shell

Content
View full analysis
Remediation
View remediation
//infsh printf '%s %s\n' '' infsh | sha256sum -c - chmod 0755 infsh install -m 0755 infsh "$HOME/.local/bin/infsh" ``` The artifact URL, version, and digest must be real, release-specific values published through trusted release metadata rather than placeholders. ]]>

T08 · Insecure Dependencies

Warning
Location
SKILL.md:255
Finding

Unpinned Third-Party Skill Installation Through npx

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • 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 (7)

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

curl ... | sh executes a remote script directly from the network without prior local inspection, which is a classic supply-chain and remote code execution risk. Even with accompanying claims about checksum verification, users are still instructed to trust and execute whatever the remote endpoint serves at runtime, and those claims themselves should not reduce suspicion.

Content

Scanner excerpt · SKILL.md (reported line 14)May include surrounding context.

Quick Start

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

# Post a tweet
infsh app run x/post-create --input '{

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list is very broad and includes generic social-media phrases, which raises the chance this skill will be invoked in situations not specifically requesting thread creation. Because the skill also documents external actions like posting and research, accidental invocation could lead to unintended network actions or content generation under the wrong context.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The declared purpose is Twitter/X thread creation, but the implementation also performs external research and webpage screenshot capture. This mismatch can cause operators or orchestration systems to grant the skill more trust or broader invocation than warranted, making unintended browsing or data collection more likely.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill includes browser and search capabilities that go beyond simple thread-writing guidance, expanding it into external content retrieval and webpage interaction. This increases attack surface by enabling access to untrusted remote content, which could lead to unsafe data handling, misleading outputs, or unintended interaction with sensitive URLs if invoked broadly.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.