court-sms

Pass

Audited by Gen Agent Trust Hub on Nov 5, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local Python scripts (scripts/download_zxfw.py, scripts/lawyer_config.py) to manage court platform interactions and private configurations. These scripts are self-contained and use the Python standard library.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the download of legal documents from verified official Chinese court services, including zxfw.court.gov.cn, sd.gdems.com, jysd.10102368.com, dzsd.hbfy.gov.cn, and sfpt.cdfy12368.gov.cn. These operations are limited to the skill's primary purpose and use official endpoints.
  • [INDIRECT_PROMPT_INJECTION]: The skill parses untrusted data from SMS messages and URLs provided by the user. While this represents an attack surface, the risk is mitigated by structured parsing logic in references/sms-patterns.json and robust handling of URLs using standard libraries in the provided scripts.
  • Ingestion points: User-provided SMS text and platform URLs (SKILL.md, Step 1).
  • Boundary markers: The agent is instructed to use structured JSON patterns from references/sms-patterns.json to guide parsing.
  • Capability inventory: File system writes (archiving), subprocess calls (internal scripts), and network operations (official court APIs).
  • Sanitization: The Python scripts use urllib.parse for URL validation and regular expressions for filename/title sanitization.
  • [SAFE]: The skill demonstrates high security awareness by implementing private credential management with locked file access, restricted permissions, and clear transparency regarding data storage locations. The use of subprocesses in test files is for standard integration testing of the skill's own CLI components.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 5, 2026, 10:12 PM