Back to skill

Security audit

contract-review

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this contract-review skill suspicious because scanners report an undisclosed API-key configuration change and gateway restart, as well as a missing disclosure before sending contracts to an external service.

Treat this as a review decision, not a claim of malicious intent. Before installing, consider whether you trust the reported API-key and gateway changes; also confirm where contract documents are sent and whether you are authorized to share them. The scan covered all five listed components, but noted two unresolved references, so its evidence has caveats.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

所提供代码仅执行配置变更和服务重启,没有读取合同、识别风险、提取原文证据或生成审查报告。虽然配置 API 密钥可能属于准备步骤,但此代码未展示其与合同审查功能的关联,且直接修改配置并重启网关的行为未在声明中体现,构成实质性不匹配。

Content

No source excerpt is available for this finding.

The mandatory contract-analysis workflow lacks a warning that contract contents and business context will be sent to an external service.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The mandatory workflow does not explicitly require informing the user that contract contents and business context will be processed by an external provider or confirming authorization for that disclosure. Although the platform and API integration are visible, contracts can contain confidential commercial terms and personal information, so permission to review a document should not automatically be treated as permission to upload it.

Content

No source excerpt is available for this finding.

Contract upload instructions omit a warning about sending potentially confidential documents to an external service.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The multipart request uploads the complete contract file to an external API without an accompanying confidentiality warning or authorization prerequisite. HTTPS protects transport but does not prevent disclosure to the service operator, which matters because contracts frequently contain restricted business information and personal data.

Content

No source excerpt is available for this finding.