protocolsio-integration

Pass

Audited by Gen Agent Trust Hub on Sep 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests protocol data, steps, and comments from the protocols.io API which could contain malicious instructions.
  • Ingestion points: Data is fetched via scripts/protocols_read.py from the official protocols.io REST API.
  • Boundary markers: SKILL.md (Operating Contract #7) and references/discussions.md explicitly instruct the agent to treat remote content as untrusted data and never follow instructions found within.
  • Capability inventory: The skill possesses file-writing capabilities (write_private_bytes) and network read access (request_bytes).
  • Sanitization: The skill implements robust sanitization in scripts/_common.py (clean_text, sanitize_untrusted) and scripts/validate_protocol_json.py to bound strings, remove control characters, and validate JSON structures against a conservative local schema.
  • [DATA_EXFILTRATION]: The skill handles sensitive authentication tokens (PROTOCOLS_IO_ACCESS_TOKEN) but includes extensive protections to prevent exfiltration.
  • Evidence: scripts/_common.py and scripts/plan_write_request.py implement automatic redaction of keys containing 'secret', 'token', 'authorization', or 'signature'.
  • Mitigation: Network requests in scripts/_common.py use a custom NoRedirectHandler to prevent credentials from being leaked to other origins via HTTP redirects. All requests are strictly allowlisted to *.protocols.io domains.
  • [COMMAND_EXECUTION]: The skill executes Python scripts to perform its tasks, which is standard behavior.
  • Mitigation: Risk is mitigated by _path_inside_cwd in scripts/_common.py, which prevents the skill from accessing files outside the current working directory or following symlinks.
  • [REMOTE_CODE_EXECUTION]: While the skill downloads content from protocols.io, it does so using standard library tools and treats all downloaded content as data for parsing, not as executable code.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:29 PM