Back to skill

Security audit

Legal Memo Writer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed legal-memo drafting template with no hidden execution, persistence, credential use, or data access behavior.

Install only if you want structured legal memo and clause-drafting assistance. Treat outputs as drafting aids, verify citations independently, and have a qualified attorney or DPO review jurisdiction-specific or high-stakes legal conclusions.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest trigger list is very broad and includes generic terms such as 'brief', 'case law', 'regulation', 'NDA', 'SLA', and 'GDPR', which can cause the skill to be invoked in contexts where the user did not intend formal legal-memo generation. In an agent environment, over-broad routing can misapply a legal-writing skill to adjacent tasks, increasing the risk of irrelevant output, unauthorized handling of sensitive legal/compliance content, or misplaced reliance on templated legal analysis.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.