skills/egorfedorov/slot-casino-game-developer-skills-for-stake-engine/book-generator/Gen Agent Trust Hub
book-generator
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted external data that can influence agent behavior and lead to information disclosure.
- Ingestion points: The agent is instructed to read and process
index.jsonand the subsequent book and weight files (e.g.,books_*.jsonl,lookUpTable_*.csv) referenced within it. - Boundary markers: There are no explicit instructions or boundary markers provided to the agent to treat the contents of these data files as untrusted or to ignore any embedded instructions or malicious paths.
- Capability inventory: The provided validation script
scripts/check_books_package.pyreads files and outputs findings; specifically, its error handling mechanisms (such asparse_int) can echo literal string content from the files into its output summary. - Sanitization: The script uses
Path.resolve()for path handling but lacks directory sandboxing or path validation. This allows a maliciousindex.jsonto point to sensitive system files (e.g., using../syntax), which the script will then attempt to read and potentially leak via error messages. - [EXTERNAL_DOWNLOADS]: The skill requires a specific external dependency for certain file operations.
- Evidence: The script
scripts/check_books_package.pyattempts to dynamically import thezstandardPython package to handle compressed.zstfiles. This is a well-known and standard library for Zstandard compression. - [COMMAND_EXECUTION]: The skill provides and encourages the execution of a local Python script to perform its primary function.
- Evidence:
SKILL.mdprovides explicit command templates for runningpython3 scripts/check_books_package.pywith user-supplied path arguments.
Audit Metadata