lov-skill-add-case
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/add_case_with_session.pyusessubprocess.run()to execute a secondary script (share_session.py) for session uploading. The path to this script is resolved via environment variables (LOV_SHARE_SESSION_SKILL_DIR), hardcoded default locations, or a user-provided argument. - [DYNAMIC_EXECUTION]:
scripts/add_case_with_session.pyperforms dynamic loading of a local helper script (add_case.py) at runtime usingimportlib.util.module_from_spec. This is used to share validation logic between the main workflow and the standalone mutation script. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted JSON data provided in user-initiated workflows to generate public skill cases, presenting a potential injection surface.
- Ingestion points:
scripts/add_case.pyreads JSON input from standard input or local file paths provided during execution. - Boundary markers: The workflow relies on explicit user confirmation markers rather than technical prompt delimiters.
- Capability inventory: The skill has capabilities to write files (
cases/cases.json) and execute shell commands. - Sanitization: The skill includes defensive code in
scripts/add_case.pythat uses regular expressions to detect and block secrets (API keys, Authorization headers, Private Keys) and absolute user filesystem paths from being included in the generated output. - [EXTERNAL_DOWNLOADS]:
scripts/verify_public_case.pyusesurllib.request.urlopento perform network operations. These are used to fetch public case registries and verify the existence of artifacts on the vendor's official website and whitelisted code repositories.
Audit Metadata