Chuyển đến nội dung
Skillpedia
Bảo mật42k · #6430

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

  1. Collect the declared contract surface first: schema, manifest, generated client, persisted query map, or OpenAPI spec.
  2. Record actual request shapes, operation names, variables, method, path, and auth context before mutating anything.
  3. Compare declared contract, generated client behavior, and live handler behavior side by side.
  4. Preserve one accepted operation and one drifted or hidden operation with the smallest delta.
  5. 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.md for 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

repo: zhaoxuya520/reverse-skill

Độ 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự