Back to skill

Security audit

LGD Three Laws Auditor(LGD 三律合规自检器)

Security checks for vulnerabilities and agentic risk

Overview

This local self-assessment tool behaves as described, although its permission declarations need correction.

Use --system for text input, or supply only an answer file you intend the tool to read. Restrict access to that file and avoid granting unused write or network tools. The permission declarations are inconsistent and should not be treated as sandbox guarantees. Scores reflect a self-reported rubric, not independent certification. Inspection resolved the scanner's material coverage gaps.

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
  • 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 (2)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The manifest declares filesystem access disabled while advertising a local-file --answers input and allowing Read, Write, Bash, and WebFetch tools. This inconsistent permission contract could lead users or agent hosts to authorize behavior under an inaccurate no-filesystem assumption; the documented audit purpose explains the read but does not resolve the permission violation.

Content

No source excerpt is available for this finding.

The --answers mode reads a local file despite filesystem access being explicitly disabled in the manifest.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The --answers branch directly opens a caller-supplied local path without checking an approved input boundary, despite the declared filesystem prohibition. If execution has ambient filesystem privileges, this permits reads outside the advertised permission contract; the code does not demonstrate network exfiltration or a bypass of an enforced sandbox.

Content

No source excerpt is available for this finding.