Back to skill

Security audit

liuli-jinshan-bridge

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because its setup sends OAuth authorization codes through a shared external callback, and several bundled scripts were only partially inspected.

Consider avoiding installation until you can verify that the OAuth callback is controlled and access to authorization codes is protected, and that the credential-directory override is understood. The review is based on incomplete analysis: five of eight components were only partially inspected.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (9)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/dbsheet_schema.cjs <file_id>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. 先 `dbsheet_schema.cjs` 读结构,确认 sheet_id 与字段名;

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/dbsheet_record_create.cjs <file_id> <sheet_id> '<主字段名>' '<值>'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
3. 再 `dbsheet_record_create.cjs` 写一行(或按需求扩展批量/查询);

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/wps_auth.cjs --selftest

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The OAuth setup routes users' authorization codes through a shared external callback without warning about the trust implications.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The setup directs users to register an externally operated OAuth callback that receives authorization codes, stores them for 15 minutes, and provides a retrieval endpoint without explaining its access controls or trust implications. This exposes sensitive authorization material to the callback operator and potentially other parties if retrieval is inadequately protected; code redemption generally also requires the client secret, limiting the consequences of code exposure alone.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · references/setup.md (reported line 37)May include surrounding context.

| refresh_token | 长效刷新令牌(脚本自动轮换维护) |

bash
mkdir -p ~/.config/wps-openapi && chmod 700 ~/.config/wps-openapi
# 由各凭据以 600 写入;切勿 echo 明文到对话/日志

The documented credential-source restriction is contradicted by an environment-controlled directory override.

Low
Category
Excessive Agency
Confidence
97% confidence
Finding

L03 states that credentials are read only from ~/.config/wps-openapi/, but L10 allows WPS_OPENAPI_DIR to replace that location. Consequently, the credential reads at L12 and L33 can load client secrets and refresh tokens from a different directory, contrary to the documented credential-source restriction.

Content

No source excerpt is available for this finding.