Api protocol security

From mtecoYY/ai-baike · View interactive version

Api protocol security is an AI agent skill from the GitHub repository mtecoYY/ai-baike. 当目标存在REST/GraphQL/gRPC/WebSocket接口、Swagger/OpenAPI文档、调试端点(actuator/console)、旧版本API、内部接口、微服务网关,或需要测试HTTP走私、DoS、速率限制时调用。负责API全方法测试、BOLA越权、GraphQL深度攻击、协议层漏洞挖掘。

How to use this skill

Skill file

api-protocol-security — API 与协议层安全专项深度挖掘

何时调用(触发条件)

一、API/接口类场景表(全景)

| 场景 | 漏洞类型 | 挖掘要点 |

|---|---|---|

| REST API | 越权/注入/信息泄露 | 全方法测试(GET/POST/PUT/DELETE/PATCH) |

| GraphQL | 内省泄露/深度攻击/批量查询 | __schema查询、嵌套查询DoS、别名批量 |

| gRPC | 反序列化/未授权 | protobuf解析、接口鉴权 |

| WebSocket | 鉴权缺失/注入/越权 | 连接无token验证、消息可伪造 |

| 接口文档(Swagger/OpenAPI) | 敏感接口泄露 | /swagger-ui /api-docs暴露 |

| 调试接口 | 未授权访问/RCE | /actuator /debug /console |

| 旧版本接口 | 鉴权缺失/逻辑差异 | /api/v1旧版本未下线 |

| 内部接口外泄 | 未授权/敏感操作 | 内部RPC接口可公网访问 |

二、REST API 测试要点

三、GraphQL 专项

四、WebSocket 专项

五、HTTP 走私 / 协议层(O类)

六、资源消耗 DoS(P类)

七、验证要点

八、修复建议

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.