Back to skills
SKILL.md
Web Api Protocol
ASecurityREST/GraphQL/gRPC/WebSocket/网关/HTTP 走私/缓存/请求头专项。当出现 Swagger/开放 API、GraphQL、WebSocket、反向代理/网关、缓存、调试端点时调用。
- 167 stars
- 0 votes
- 0 copies
- 0 views
- Added November 14, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add zhaji2333/CkSKILLS --skill web-api-protocol --agent claude-codeAre you the author of Web Api Protocol?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zhaji2333-web-api-protocol)---
name: web-api-protocol
description: REST/GraphQL/gRPC/WebSocket/网关/HTTP 走私/缓存/请求头专项。当出现 Swagger/开放 API、GraphQL、WebSocket、反向代理/网关、缓存、调试端点时调用。
---
# web-api-protocol — REST/GraphQL/gRPC/WebSocket/网关/HTTP 走私/缓存/请求头专项
## 何时调用
- REST/JSON API/Swagger/OpenAPI
- GraphQL/gRPC/WebSocket
- 反向代理/API 网关/CDN
- 缓存/请求头/Host
- 调试端点/actuator/console
## 30 秒分诊
1. 先导出接口清单(Swagger/JS/GraphQL introspection/wsdl)
2. 全方法测试:GET/POST/PUT/PATCH/DELETE/OPTIONS
3. BOLA:换 id/租户做跨主体差分
4. 协议层:走私/缓存/Host 看前后端解析差异
## 首枪顺序
- Swagger/`/openapi.json` → 全接口 + 隐藏参数
- BOLA:同接口换 id/tenant 拿他人对象
- GraphQL:introspection、字段级越权、批量查询
- WebSocket:未授权订阅/消息越权/CSWSH
- HTTP 走私:CL.TE/TE.CL、分块体绕过 WAF
- 缓存欺骗:个人页加 `.css`/`;.jpg` 后缀偷会话页
- Host 头:重置链接/密码找回指向你的域
- CRLF/响应头注入;HPP 参数污染
## 知识库索引(按需开小块,禁通读)
| 文件 | 用途 | 大小 |
|---|---|---|
| `knowledge/http-smuggling-test.md` | HTTP 走私 | 0.7KB |
| `knowledge/cache-poisoning-test.md` | 缓存投毒/欺骗 | 0.6KB |
| `knowledge/graphql-test.md` | GraphQL | 9.9KB |
| `knowledge/websocket-test.md` | WebSocket | 0.5KB |
| `knowledge/http-host-header-test.md` | Host 头攻击 | 11.8KB |
| `knowledge/api-gateway-test.md` | API 网关 | 10.0KB |
| `knowledge/api-protocol-security-02-二、REST-API-测试要点.md` | REST 测试要点 | 0.6KB |
| `knowledge/crlf-injection-test.md` | CRLF 注入 | 0.4KB |
其余 28 个知识块(按标题搜,禁止通读):`ls knowledge/`;原始清单见 `../../../docs/MIGRATION.md`。
## 相关
- `web-auth-access` / `web-waf-bypass` / `web-recon`
Files in this skill
- SKILL.md
- knowledge/api-gateway-test.md
- knowledge/api-protocol-security-01-一、API-接口类场景表-全景.md
- knowledge/api-protocol-security-02-二、REST-API-测试要点.md
- knowledge/api-protocol-security-03-三、GraphQL-专项.md
- knowledge/api-protocol-security-04-四、WebSocket-专项.md
- knowledge/api-protocol-security-05-五、HTTP-走私-协议层-O类.md
- knowledge/api-protocol-security-06-六、资源消耗-DoS-P类.md
- knowledge/api-protocol-security-07-七、验证要点.md
- knowledge/cache-poisoning-test-p1-r1.md
- knowledge/cache-poisoning-test-p1-r2.md
- knowledge/cache-poisoning-test-p1.md
- knowledge/cache-poisoning-test-p2.md
- knowledge/cache-poisoning-test-p3.md
- knowledge/cache-poisoning-test.md
- knowledge/crlf-injection-test.md
- knowledge/email-header-injection-test.md
- knowledge/ghost-bits-cast-test-p1.md
- knowledge/ghost-bits-cast-test-p2.md
- knowledge/ghost-bits-cast-test-p3.md
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.