Back to skill

Security audit

多平台数据聚合

Security checks for vulnerabilities and agentic risk

Overview

The skill is a simple data-aggregation guide, but it publishes a plaintext ClawHub token and does not clearly warn users about real-time third-party platform queries.

Do not install this version until the exposed ClawHub token has been revoked and removed. If using a corrected version, provide credentials through protected runtime configuration, confirm which platforms will be queried, and check that keyword searches and real-time refresh comply with the relevant platform terms and rate limits.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:49
Finding

Plaintext ClawHub Token Exposed in Skill Documentation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 49
Vulnerability Type: Hardcoded credential / plaintext sensitive data
Risk Level: High

Vulnerable Code Snippet

markdown
- 需要 ClawHub token:`clh_dfYBmWi76_VPBJhUkwRoK8BWpQ4m1IV47bAHieANjVA`

Technical Analysis

The skill documentation embeds a credential-shaped ClawHub token directly in plaintext. Any person or process that can access the skill package can extract and attempt to use this token. The repository provides no evidence that the value is an inert placeholder; therefore, it must be treated as potentially valid and compromised.

Storing credentials in documentation bypasses normal secret-management controls and can expose the token through source distribution, repository clones, archives, logs, caches, indexing systems, and repository history.

Attack Path

  1. An attacker obtains read access to the skill package or a copy of its repository.
  2. The attacker opens SKILL.md and extracts the token from line 49.
  3. The attacker submits the token to applicable ClawHub endpoints or tooling.
  4. If the token remains valid, the attacker performs actions allowed by its assigned scope until it expires or is revoked.

No evidence in the audited project establishes that the token is valid or identifies its exact scopes, so successful exploitation and specific downstream permissions cannot be confirmed.

Impact Assessment

If valid, the exposed token may enable unauthorized ClawHub access, impersonation of the token owner, consumption of service quotas, or access to resources authorized for that credential. The precise impact is bounded by the token's server-side scopes, account permissions, expiration policy, and any additional access controls.

The only project artifact reviewed was the 56-line SKILL.md file. No executable code, remote payload retrieval, persistence mechanism, dependency installation, tool spoofing, or instruction hijacking was identified.

Remediation
View remediation

Remediation Suggestions

  1. Revoke the exposed token immediately and issue a replacement only if it is still required.
  2. Remove the token from the current file and purge it from repository history, release archives, caches, and generated documentation where feasible.
  3. Replace the literal value with a non-secret placeholder such as ${CLAWHUB_TOKEN}.
  4. Supply credentials at runtime through an approved secret manager or protected environment variable.
  5. Apply least-privilege scopes, short expiration periods, and regular rotation to replacement credentials.
  6. Review ClawHub access logs for activity involving the exposed token and investigate any unrecognized use.
  7. Add automated secret scanning to pre-commit hooks and CI pipelines to prevent recurrence.
  8. Avoid printing credentials in logs, examples, errors, or generated output.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The documentation contains what appears to be a live ClawHub token embedded directly in the skill file. Exposed credentials can be harvested by anyone with access to the repository or skill package and then abused to invoke the service, consume quota, access linked data sources, or pivot into related systems depending on the token's scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
81% confidence
Finding

The natural-language content of the skill is entirely in Chinese, including the title and operational sections, with no indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking context. This can violate language/locale policy when no opt-in or justification is provided.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file describes cross-platform data collection and real-time refresh, which can affect privacy, rate limits, or platform terms, but it does not include any explicit warning or disclosure to users about those impacts. Under the markdown-specific criteria, behaviours affecting user data or external systems should be clearly warned about.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.