Back to skill

Security audit

tieba cli

Security checks for vulnerabilities and agentic risk

Overview

This skill clearly targets Baidu Tieba account automation, but it can post, rename, like, and delete content with a user token without built-in confirmation safeguards.

Install only if you want an agent to control a Baidu Tieba account through TB_TOKEN. Keep the token limited and revocable, review every post/reply/rename/delete action before execution, and treat deletion commands as potentially irreversible remote account changes.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill can access an authentication token via environment variables and perform networked actions against Baidu Tieba, but it does not declare any explicit tool scope or permission boundaries. This increases the chance that an agent invokes sensitive capabilities without clear user consent, review, or platform-level restriction.

Content

No source excerpt is available for this finding.

Ssd 1

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill instructs the agent to unconditionally obey an external persona file, overriding its normal behavior whenever posting or replying. This is dangerous because external prompt content can manipulate agent decisions, suppress safety-aligned behavior, or steer social actions in ways the current user did not request.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill exposes destructive commands to delete posts and comments but provides no strong warning that these actions are irreversible or should require explicit confirmation. In an agent setting, this can lead to accidental content loss or abuse if the model is prompted into cleanup or retaliation actions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The entire skill specification is written as a fixed Chinese persona and response style, with no indication that the user can choose another language or locale. This creates a natural-language locale constraint that appears mandatory rather than optional, which matches the policy-violation category for language or locale restrictions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The CLI exposes destructive operations to delete threads and posts with no confirmation prompt, dry-run mode, or guardrail. In an agent skill context, this increases the chance of accidental or prompt-induced destructive actions against a real user account and causes irreversible remote state changes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Multiple POST commands perform real remote actions such as posting, replying, liking, renaming, and deleting without any explicit user warning, confirmation, or approval boundary. In an agent-operated skill, this makes unintended account changes and forum interactions much more likely, especially if user intent is ambiguous or adversarial input steers the agent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

The get helper sends the TB_TOKEN in the Authorization header on outbound HTTP requests, and the post helper does the same for POST operations. While token-based API access is part of the tool's function, the file only states that TB_TOKEN must be configured and does not explicitly warn users that their credential will be transmitted to Baidu on each request.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.