handraw-personal-library
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a Python script (
scripts/personal_library.py) to perform resource management tasks such as creating, importing, and synchronizing art definitions. The script is restricted to local file operations and network requests to the official service domain. - [CREDENTIALS_UNSAFE]: The skill accesses local authentication data stored in
~/.handraw-style/community_auth.jsonandcommunity_cookies.txt. This access is intentional and necessary for the synchronization feature with the vendor's service. The script includes a specificSameOriginRedirecthandler to ensure these credentials are never redirected to external or untrusted domains. - [EXTERNAL_DOWNLOADS]: The skill synchronizes art style and layout definitions from
handraw-style.com. All downloads are performed over HTTPS, limited to the vendor's official API paths, and subject to SHA256 checksum verification before being processed. - [INDIRECT_PROMPT_INJECTION]: The skill ingests community-contributed resources which could potentially contain malicious instructions.
- Ingestion points:
import_bundleandimport_definitionmethods inscripts/personal_library.pyprocess external ZIP archives and JSON definitions. - Boundary markers: The
SKILL.mdprovides explicit instructions to the agent to treat resource text strictly as data and never as instructions. The script also enforces a schema version and resource kind validation. - Capability inventory: The script has capabilities to write to the user's home directory (
~/.handraw-style) and the skill root, and to perform network GET requests to the vendor domain. - Sanitization: The implementation includes advanced security checks: path traversal protection (rejecting
..and absolute paths), symlink detection (stat.S_ISLNK), and resource exhaustion protection (strict limits on archive and expanded sizes). JSON output to the mirror directory is escaped for characters like<,\u2028, and\u2029to mitigate injection risks in UI contexts.
Audit Metadata