Langsung ke konten
Skillpedia
Keamanan42k · #6430

competition-graphql-rpc-drift

Fungsinya

Tool ini membandingkan cara sebuah sistem menyatakan cara kerjanya (contract) dengan cara kerja sebenarnya (handlers). Tool ini menemukan perbedaan, seperti operasi tersembunyi atau yang sudah usang, agar Anda bisa lebih memahami sistem tersebut.

Kapan dipakai

  • ✓Saat Anda ingin menemukan operasi GraphQL atau RPC yang seharusnya tidak ada.
  • ✓Untuk membandingkan apa yang diharapkan client dengan apa yang sebenarnya dilakukan server.
  • ✓Saat menyelidiki apakah kode hasil generate untuk berinteraksi dengan sistem sudah usang.

Link skill

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Bandingkan contract GraphQL dengan handler yang sedang berjalan untuk menemukan operasi tersembunyi.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Pertama, tool ini mengumpulkan informasi tentang bagaimana sistem seharusnya bekerja (contract). Kemudian, tool ini mengamati bagaimana sistem sebenarnya merespons permintaan. Terakhir, tool ini membandingkan keduanya untuk menemukan ketidaksesuaian.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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
Pertanyaan umum

Apa yang dimaksud 'contract' dalam konteks ini?

Itu adalah deskripsi resmi tentang cara sebuah sistem (seperti API) seharusnya bekerja, termasuk data apa yang diterima dan dikembalikannya.

Apa itu 'handlers'?

Itu adalah bagian dari kode sistem yang benar-benar memproses permintaan yang masuk.

Apa arti 'drift'?

'Drift' berarti ada perbedaan antara contract (cara seharusnya) dan perilaku sebenarnya (cara yang terjadi).

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
42k
Peringkat
#6430
Lisensi
MIT
Diperbarui
22/9/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa