protocolsio-integration
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes remote data from protocols.io (such as protocol text and user comments) which could potentially contain malicious instructions.
- Ingestion points: Remote content is fetched via REST API calls in
scripts/protocols_read.py. - Boundary markers: The
SKILL.mdfile andreferences/discussions.mdexplicitly instruct the agent to treat remote content as untrusted data and never obey instructions embedded within it. - Capability inventory: The skill includes tools for network reading (
request_bytesinscripts/_common.py) and private local file writing (write_private_bytesinscripts/_common.py). - Sanitization: All remote data is processed through
sanitize_untrustedinscripts/_common.py, which redacts secret-like keys, bounds recursion depth, and truncates long strings. Control characters are also removed viaclean_text. - [SAFE]: The skill implements extensive security best practices to protect the user environment.
- Credential Safety: The skill strictly manages the
PROTOCOLS_IO_ACCESS_TOKEN. It provides a validator (scripts/validate_auth_config.py) that checks for the token's presence without exposing its value, and it enforces redaction of credentials from all JSON outputs and plans. - Network Restrictions: The
request_bytesfunction inscripts/_common.pyimplements an HTTPS-only allowlist for official protocols.io domains. It also uses a customNoRedirectHandlerto prevent bearer tokens from being leaked during HTTP redirects. - File System Protection: The
_path_inside_cwdfunction inscripts/_common.pyprovides robust protection against directory traversal attacks. Output files, such as exported PDFs, are created with restrictive (0600) permissions to ensure they are only readable by the owner. - Mutation Planning: Destructive operations (updates, deletions, publications) are routed through
scripts/plan_write_request.py, which generates a dry-run plan for user review instead of executing the mutation directly.
Audit Metadata