跳到正文
Skillpedia
安全6.5k · #14023

api-overview

它能做什么

这份路由指南帮助识别较新的 API 风格,并指向正确的测试指南。适合检查普通 REST 之外 API 的安全测试人员。

适用场景

  • ✓当服务使用 gRPC、SOAP、WebSocket 或服务器推送事件,而你需要正确的测试指南时。
  • ✓当你想根据服务器的响应判断它使用的是哪种 API 风格时。
  • ✓当授权测试需要为特定协议挑选合适的检查项时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/api/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/api/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“这个应用似乎使用 WebSocket 来实现实时更新。请告诉我应如何安全地测试它?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体通过响应类型和握手信号识别协议,然后加载该风格对应的子指南。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Modern API Attack Category

This is a routing skill. Identify the API protocol then load the matching sub-skill.

Sub-skills

Protocol Sub-skill Wire signature
gRPC grpc HTTP/2 + `application/grpc[+proto
SOAP/WSDL soap-wsdl XML body in text/xml/application/soap+xml, ?wsdl discovery
WebSocket websocket HTTP Upgrade: websocket handshake, then framed binary/text
Server-Sent Events server-sent-events Content-Type: text/event-stream, one-way streaming

Quick fingerprint

# gRPC?
curl -sk -I --http2 https://target/svc | grep -i 'application/grpc'

# SOAP?
curl -sk "https://target/endpoint?wsdl" | head -1   # XML WSDL doc
curl -sk -X POST -H 'Content-Type: text/xml' https://target/endpoint   # 500 with SOAP fault

# WebSocket?
curl -sk -I -H "Connection: Upgrade" -H "Upgrade: websocket" https://target/ws | head -1
# 101 = WS upgrade

# SSE?
curl -sk -i https://target/stream -H "Accept: text/event-stream" | grep 'text/event-stream'

Sibling skills

For REST + GraphQL go to:

  • load_skill("/skills/standard/exploit/web/SKILL.md") — sub-skills graphql, idor, mass-assignment, etc.
常见问题

它如何区分各种协议?

通过响应内容类型和握手信号,例如 WebSocket 升级时的 101 状态码。

它涵盖 REST 和 GraphQL 吗?

这些由另一份指南涵盖,本目录会指向该指南。

什么是服务器推送事件?

它是一种单向流,服务器通过一个持续打开的响应发送更新。

详情

作者的原始描述

Modern API category — gRPC, SOAP/WSDL, WebSocket, Server-Sent Events. Routing skill: identify the API protocol from the response Content-Type or wire format, then load the matching sub-skill.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14023
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能