Search

PythonReactSEOPDF
OpenClaw

protocol-doc-auditor

Helps detect hidden attacks in API and protocol documentation. Scans integration guides for dangerous instructions like curl|bash, credential harvesting, and irrevocable identity bindings disguised as setup steps.

andyxinweiminicloud0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install andyxinweiminicloud/protocol-doc-auditor

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

The API Doc Told Me to curl | bash — When Protocol Docs Are the Attack Vector

Helps detect malicious instructions hiding in plain sight inside API documentation, integration guides, and protocol specs.

Problem

You're integrating a new AI protocol. The docs say: "Run this command to register your agent." The command includes curl | bash. Or it asks you to paste your API key into a URL parameter. Or the OAuth flow binds your identity irrevocably to a third-party service. Protocol documentation is the most trusted attack surface — developers follow docs without questioning them, and AI agents follow them even more blindly. When the doc itself is the attack vector, traditional code scanning catches nothing because the malicious action is performed by the reader, not by the code.

What This Checks

This auditor scans protocol documentation, API guides, and integration instructions for hidden risks:

  1. Dangerous execution instructions — Commands like curl | bash, wget -O- | sh, eval $(...), or any instruction asking the reader to execute remote code without integrity verification
  2. Credential exposure — Instructions that place API keys, tokens, or secrets in URL parameters, unencrypted headers, or log-visible locations
  3. Data leak setup — Steps that configure the reader's system to send telemetry, usage data, or file contents to third-party endpoints without clear disclosure
  4. Irrevocable identity binding — OAuth flows, claim codes, or registration steps that permanently bind the reader's identity or resources to a service with no documented revocation path
  5. Privilege escalation — Instructions that require sudo, modify system files, install global packages, or change firewall rules beyond what the integration logically requires

How to Use

Input: Provide one of:

  • A URL to an API doc or integration guide
  • The text content of a protocol specification
  • A markdown file containing setup instructions

Output: A doc...

Source information

Source
github
Repository
openclaw/skills
Path
skills/andyxinweiminicloud/protocol-doc-auditor
Version
1.0.0
Commit
51f1a8d5a3b123964530a7c93257cbfc5ec66230
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# The API Doc Told Me to curl | bash — When Protocol Docs Are the Attack Vector

> Helps detect malicious instructions hiding in plain sight inside API documentation, integration guides, and protocol specs.

## Problem

You're integrating a new AI protocol. The docs say: "Run this command to register your agent." The command includes `curl | bash`. Or it asks you to paste your API key into a URL parameter. Or the OAuth flow binds your identity irrevocably to a third-party service. Protocol documentation is the most trusted attack surface — developers follow docs without questioning them, and AI agents follow them even more blindly. When the doc itself is the attack vector, traditional code scanning catches nothing because the malicious action is performed by the reader, not by the code.

## What This Checks

This auditor scans protocol documentation, API guides, and integration instructions for hidden risks:

1. **Dangerous execution instructions** — Commands like `curl | bash`, `wget -O- | sh`, `eval $(...)`, or any instruction asking the reader to execute remote code without integrity verification
2. **Credential exposure** — Instructions that place API keys, tokens, or secrets in URL parameters, unencrypted headers, or log-visible locations
3. **Data leak setup** — Steps that configure the reader's system to send telemetry, usage data, or file contents to third-party endpoints without clear disclosure
4. **Irrevocable identity binding** — OAuth flows, claim codes, or registration steps that permanently bind the reader's identity or resources to a service with no documented revocation path
5. **Privilege escalation** — Instructions that require `sudo`, modify system files, install global packages, or change firewall rules beyond what the integration logically requires

## How to Use

**Input**: Provide one of:
- A URL to an API doc or integration guide
- The text content of a protocol specification
- A markdown file containing setup instructions

**Output**: A doc...

Related skills

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance