Legal Compliance Checker

Pass

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze external, potentially untrusted content such as legal contracts, privacy policies, and regulatory updates. This establishes a vulnerability surface where instructions embedded within these documents could attempt to influence the agent's behavior.
  • Ingestion points: Untrusted text enters the context through the review_contract method and general document analysis instructions provided in SKILL.md.
  • Boundary markers: The skill does not define specific delimiters or instructions for the agent to ignore embedded commands within the documents it processes.
  • Capability inventory: While the skill does not request specific tool permissions in the frontmatter, the provided code defines logic for automated risk scoring and generating compliance recommendations based on input text.
  • Sanitization: No input validation, escaping, or sanitization logic is present for the external documents being processed.
  • [DYNAMIC_EXECUTION]: The skill includes Python classes (PrivacyPolicyGenerator, ContractReviewSystem) that define the logic for its compliance checking and risk assessment functions. These serve as static templates for the agent to generate or execute logic for legal analysis.
  • [COMMAND_EXECUTION]: The workflow documentation in SKILL.md includes a shell script block (bash) intended for monitoring regulatory changes, although it currently contains only descriptive comments rather than executable commands.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 29, 2026, 04:43 PM