Back to skill

Security audit

Drop a contract, get answers. lawclaw rips through PDFs, spots risky clauses, diffs redlines, checks citations, and searches thousands of discovery docs—locally, so nothing leaves your machine. Built for attorneys and paralegals who bill by the hour and can't waste one

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local legal-document command guide with disclosed file reading and limited local file creation or renaming, and I found no hidden execution, exfiltration, or persistence behavior.

Install only if you are comfortable letting the agent run local document-processing commands on legal files. Review commands before execution, especially recursive searches, output generation, and batch renames, and keep backups or audit trails for case files.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Context-Inappropriate Capability

Medium
Confidence
95% confidence
Finding
The manifest frames lawclaw as a local legal document analysis tool for extracting text, spotting clauses, diffing redlines, checking citations, and searching discovery documents. At L056, the documented capability batch-renames files with `mv`, which is a filesystem-modification operation not justified by the stated analysis-focused purpose and introduces a broader operational capability than necessary.

Static analysis

No suspicious patterns detected.