Back to skill

Security audit

BotStreet自动接单Agent

Security checks for vulnerabilities and agentic risk

Overview

This skill is a real BotStreet task client, but it ships a reusable API credential and instructs agents to use unrelated third-party account passwords.

Review carefully before installing. Do not use the bundled BotStreet credential; it should be revoked and replaced with a user-controlled secret. Avoid allowing this skill to read shared password files or automatically log into unrelated platforms unless each site, account, and action is explicitly approved.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/botstreet.py:16
Finding

Hard-Coded Reusable BotStreet API Credential

Content
View full analysis
dict: """Send an API request.""" url = f"{self.base_url}{endpoint}" headers = { "x-agent-id": self.agent_id, "x-agent-key": self.agent_key, "Content-Type": "application/json" } try: if data: json_data = json.dumps(data).encode('utf-8') req = Request(url, data=json_data, headers=headers, method=method) else: req = Request(url, headers=headers, method=method) with urlopen(req, timeout=30) as response: result = json.loads(response.read().decode('utf-8')) return result ``` ```python parser.add_argument("--agent-key", default=DEFAULT_AGENT_KEY, help="Agent Key") ``` The same reusable secret is disclosed in `SKILL.md:174-176`: ```text Credentials are stored in SECRET.md: - agentId: 167441766587305984 - agentKey: ak-xv1frJKdz9MmIThDNmSLpVP64X5pwFIurEVUzgMSuxib4Ebf ``` ### Technical Analysis A value explicitly identified as the Agent's private API key is embedded in the distributed documentation and executable source. The command-line parser automatically uses it whenever the caller does not supply another key. The request implementation places this credential in the `x-agent-key` header on every API request. Sending an authentication header to the declared BotStreet HTTPS API is necessary for the Skill's functionality; the vulnerability is that the reusable secret is bundled with the Skill and available to every person or process that can read the package. B ...[truncated 2053 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:287
Finding

Overbroad Access to Unrelated Third-Party Account Credentials

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (19)

Ssd 3

Critical
Category
Not specified by scanner
Confidence
100% confidence
Finding

The skill embeds exact secret storage details and live-looking API credentials directly in documentation, which is an immediate and severe secret-handling failure. In context, this is especially dangerous because the same skill can perform authenticated network actions against a live platform, enabling direct misuse of the exposed credentials.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The declared purpose is limited to task search/apply/execute, but the skill also exposes hardcoded credentials, retrieves account profile data, reads notifications, and instructs manual CLI operations. This mismatch hides the true security-sensitive behavior of the skill and can mislead users or policy systems into granting broader trust than warranted.

Content

No source excerpt is available for this finding.

Ssd 4

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The staged review workflow is not a safety control; it operationalizes concealment by requiring removal of AI-generation indicators before submission. In a task-execution skill, this materially increases deception risk and helps users evade platform policies or counterpart expectations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill explicitly forbids disclosure that content is AI-generated and frames removal of AI indicators as a mandatory review step. This is deceptive by design and can be used to misrepresent authorship to platforms, customers, or moderators.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The documentation exposes live-looking API credentials and points to their storage location, which is a direct secret disclosure. Anyone with access to the skill file could use those credentials to impersonate the agent, access account data, perform actions, or drain platform value.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The documentation extends the skill from BotStreet task management into reading credentials for unrelated third-party platforms and automating logins. That materially expands the trust boundary and creates credential-handling and account-access risks outside the stated purpose.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The instructions direct the agent to read stored account credentials and fill third-party login forms, exposing secrets within a natural-language workflow. This increases the attack surface for credential theft, unintended disclosure, and unauthorized account access across external services.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The script hardcodes a default agent ID and agent key, then automatically uses them for authenticated API requests. Anyone who obtains or runs this skill can potentially access and act as that BotStreet agent, including viewing account data, applying for tasks, and submitting deliverables, which is a direct credential exposure and unauthorized account-use risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The README explicitly instructs users to submit proposals and delivery content to BotStreet via apply and deliver, but it does not warn that these commands transmit user-provided text and links to an external service. In an agent skill context, that omission can cause unintended disclosure of sensitive data, reputational harm, or automated posting/submission to third-party platforms without informed consent.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
85% confidence
Finding

The skill declares network-capable behavior and operational commands but does not define any tool scope or permission boundaries. This increases the chance that an agent executes network actions without explicit least-privilege constraints or user awareness.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The description and all documented triggers and workflows are written as Chinese-only instructions for operating the skill, with no indication that users may choose another language or locale. Under the stated policy, forcing a single language without opt-in can be a natural-language policy violation unless the locale restriction is clearly justified.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill claims review is mandatory and cannot be skipped, but this is only documented text and is not enforced by any technical mechanism. Users or agents can still directly invoke apply and deliver commands, making the purported safety gate ineffective.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The external auto-login workflow instructs handling third-party credentials without strong safety warnings, consent boundaries, or secret-minimization guidance. This normalizes risky credential processing and increases the chance of accidental disclosure or misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The document instructs use of an x-agent-key private credential for authentication but provides no warning about secure storage, rotation, redaction, or prohibition on embedding it in prompts, logs, or markdown examples. In a skill ecosystem where files may be inspected, shared, or used to generate requests automatically, this increases the risk of credential leakage and account takeover or unauthorized API actions.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The manifest describes a skill for automatically searching, applying for, and executing BotStreet platform tasks. However, this file documents capabilities for reading notifications, creating posts, and upvoting content, which are social/community features not obviously required to perform task discovery, application, or delivery.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The code silently transmits embedded credentials to a remote service on every authenticated request, without warning the user that a preconfigured account identity is being used. This creates a transparency and secret-handling failure: users may unknowingly operate someone else's account while also propagating already-exposed credentials to the external API.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill includes commands to retrieve agent profile information and notifications in addition to task search, application, and delivery functions. Because these endpoints expose broader authenticated account and social activity data, the skill grants access beyond its stated task-automation purpose, increasing the risk of unnecessary data collection and misuse if the embedded credentials are abused.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

All user-facing instructions and examples are presented only in Chinese, with no indication that the skill supports other languages or that Chinese is required for a region-specific reason. This can violate language/locale policy when a specific language is imposed without user opt-in or documented justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

Docstrings, CLI descriptions, help text, and runtime messages are all presented in Chinese, with no option for users to select another language or opt in to this locale. This is a natural-language policy issue because it imposes a specific language choice across the skill's interface.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.