flashcards
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches KaTeX CSS and JavaScript assets from the well-known
cdn.jsdelivr.netCDN. This occurs inmain.pywhen local versions of the library are not detected in the environment. This is standard behavior for including open-source libraries in web-based projects. - [COMMAND_EXECUTION]: The
scripts/install.shfile executes standard shell commands to install dependencies listed inrequirements.txt. It includes a check for externally managed environments and may use the--break-system-packagesflag, which is a common (though aggressive) method for ensuring Python packages are installed on newer Linux distributions. - [INDIRECT_PROMPT_INJECTION]: The skill processes JSON data generated by external AI models. While
main.pyincludes aformatAnswerForExamfunction that performs basic HTML escaping (e.g., for<,>, and&), the resulting HTML is rendered usinginnerHTML. This creates a theoretical surface for DOM-based XSS if a user processes a JSON file containing malicious scripts. However, since the output is a local HTML file intended for the user's personal study environment, the risk is negligible. - Ingestion points:
convert_json_to_flashcardsreads a user-specified JSON file. - Boundary markers: The data is expected in a structured JSON schema, providing natural separation from instructions.
- Capability inventory: The skill writes a single local HTML file and optionally exports a CSV; no network exfiltration or system modification capabilities are present in the core script.
- Sanitization: The script performs basic escaping of HTML special characters within the
formatAnswerForExamJavaScript function inside the generated HTML.
Audit Metadata