loc-catalog
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests external data from the Library of Congress JSON API, creating a surface for indirect prompt injection.
- Ingestion points: The
searchandget_itemmethods inscripts/loc_api.pyprocess external data retrieved fromloc.gov. - Boundary markers: Data is processed as structured JSON, and the agent is provided with clear schemas for interpretation, though the content itself is not wrapped in specific security delimiters.
- Capability inventory: The skill performs network GET requests to the official LOC API and includes instructions for using the
ghCLI for issue reporting to the author's repository. - Sanitization: The
_path_segmenthelper function validates input used in URL construction to prevent directory traversal attacks during item lookups. - [SAFE]: The skill follows security best practices for external API integration. It uses the standard Python library for networking, implements robust error handling with exponential backoff for retries, and strictly limits its operations to the intended primary purpose of library catalog search.
Audit Metadata