Back to skill

Security audit

Agent Code No.7 Legal Hunter

Security checks for vulnerabilities and agentic risk

Overview

This is a China-focused legal research prompt skill with no code execution, persistence, credential use, or hidden data handling.

Install this only if you want assistance with Chinese legal research. Treat outputs as research support, verify cited laws and case status against authoritative current sources, and do not rely on it as formal legal advice.

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
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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 (2)

Natural-Language Policy Violations

Medium
Confidence
95% confidence
Finding
The entire skill description, usage instructions, and system prompt are written exclusively in Chinese and position the agent as operating within a Chinese legal-research workflow. There is no indication that users may choose another language or locale, which constitutes a natural-language locale constraint without opt-in.

Natural-Language Policy Violations

Low
Confidence
83% confidence
Finding
The package description is written entirely in Chinese and labels the skill as a legal research tool without indicating any user-selectable language or locale option. This can imply a fixed language experience, which falls under language/locale policy concerns when no opt-in or alternative is documented.

Static analysis

No suspicious patterns detected.