competition-graphql-rpc-drift
Skill này làm gì
Công cụ này so sánh cách một hệ thống tự mô tả hoạt động (contract) với cách nó thực sự hoạt động (handlers). Nó tìm ra các khác biệt, như thao tác ẩn hoặc đã lỗi thời, để bạn hiểu hệ thống rõ hơn.
Khi nào nên dùng
- ✓Khi bạn muốn tìm các thao tác GraphQL hoặc RPC không nên tồn tại.
- ✓Để so sánh điều client mong đợi với những gì server thực sự làm.
- ✓Khi điều tra xem mã được tạo để tương tác với hệ thống có bị lỗi thời không.
Liên kết skill
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“So sánh contract GraphQL với các handler đang chạy để tìm thao tác ẩn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trước hết, công cụ thu thập thông tin về cách hệ thống được thiết kế để hoạt động (contract). Sau đó nó quan sát cách hệ thống thực sự phản hồi các yêu cầu. Cuối cùng, nó so sánh hai thứ để tìm ra các điểm không khớp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Competition Graphql Rpc Drift
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the hard part is matching declared contracts with live handlers to find hidden, stale, or privileged operations.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Collect the declared contract surface first: schema, manifest, generated client, persisted query map, or OpenAPI spec.
- Record actual request shapes, operation names, variables, method, path, and auth context before mutating anything.
- Compare declared contract, generated client behavior, and live handler behavior side by side.
- Preserve one accepted operation and one drifted or hidden operation with the smallest delta.
- Reproduce the smallest contract-to-handler mismatch that proves the decisive branch.
Workflow
1. Map The Declared Contract Surface
- Record GraphQL schema, introspection output, persisted query ids, RPC manifests, generated clients, or OpenAPI documents that define the intended surface.
- Note versioned endpoints, client-only guards, hidden enums, optional fields, and operation naming conventions.
- Keep document source and generation path tied to the observed requests.
2. Prove Live Handler Behavior
- Capture the real request and response pairs, including operation name, variables, headers, cookies, and status.
- Compare client-side validation, schema expectations, and live handler normalization or fallback behavior.
- Record hidden operations, stale fields, undocumented methods, or handler-only branches that still execute.
3. Reduce To The Decisive Drift Path
- Compress the result to the smallest sequence: declared contract -> actual request -> handler branch -> resulting capability.
- State clearly whether the decisive drift lives in generated client assumptions, persisted query mapping, schema version skew, RPC manifest mismatch, or handler-side hidden logic.
- If the task shifts into generic JWT, OAuth, or queue behavior after acceptance, hand off to the tighter specialized skill.
Read This Reference
- Load
references/graphql-rpc-drift.mdfor the contract checklist, live-handler checklist, and evidence packaging.
What To Preserve
- Schemas, manifests, generated clients, persisted query ids, operation names, and version markers
- One accepted and one drifted request pair that proves the mismatch
- One minimal contract-to-handler sequence that reaches the decisive effect
Câu hỏi thường gặp
“Contract” trong ngữ cảnh này là gì?
Đó là mô tả chính thức về cách một hệ thống (như API) nên hoạt động, bao gồm dữ liệu nó nhận và trả về.
“Handlers” là gì?
Đây là các phần mã của hệ thống thực sự xử lý các yêu cầu đến.
“Drift” nghĩa là gì?
“Drift” nghĩa là có sự khác biệt giữa contract (cách hệ thống nên hoạt động) và hành vi thực tế (cách nó đang hoạt động).
Chi tiết
Mô tả gốc của tác giả
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for GraphQL schemas, persisted queries, RPC manifests, generated clients, OpenAPI drift, hidden operations, and contract-to-handler mismatches. Use when the user asks to inspect GraphQL or RPC requests, compare client contracts to live handlers, recover hidden operations, trace generated clients, or explain how schema or
Độ phổ biến
- Sao GitHub
- 42k
- Vị trí xếp hạng
- #6430
- Giấy phép
- MIT
- Cập nhật
- 22/9/2026
Bình luận
- …
Thêm skill từ kho mã này
competition-ad-certificate-abuse
42kGiúp agent phân tích các cuộc tấn công nhắm vào hệ thống chứng chỉ số. Tìm hiểu cách chứng chỉ có thể bị lạm dụng để giành quyền truy cập.
competition-agent-cloud
42kGiúp agent phân tích các thách thức bảo mật trong hệ thống AI và đám mây. Tìm hiểu cách prompt, công cụ và đám mây có thể bị khai thác.
competition-android-hooking
42kGiúp agent điều tra các ứng dụng Android. Phân tích cách ứng dụng hoạt động bên trong và cách chúng có thể bị sửa đổi hoặc khai thác.
competition-browser-persistence
42kGiúp agent phân tích cách website lưu thông tin trên trình duyệt của bạn. Điều tra cookie và dữ liệu khác để hiểu cách phiên đăng nhập hoạt động.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.