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.pyfrom the official protocols.io REST API. - Boundary markers:
SKILL.md(Operating Contract #7) andreferences/discussions.mdexplicitly 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) andscripts/validate_protocol_json.pyto 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.pyandscripts/plan_write_request.pyimplement automatic redaction of keys containing 'secret', 'token', 'authorization', or 'signature'. - Mitigation: Network requests in
scripts/_common.pyuse a customNoRedirectHandlerto prevent credentials from being leaked to other origins via HTTP redirects. All requests are strictly allowlisted to*.protocols.iodomains. - [COMMAND_EXECUTION]: The skill executes Python scripts to perform its tasks, which is standard behavior.
- Mitigation: Risk is mitigated by
_path_inside_cwdinscripts/_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