competition-graphql-rpc-drift
Qué hace
Esta herramienta compara cómo dice un sistema que funciona (contrato) con cómo funciona realmente (handlers). Encuentra diferencias, como operaciones ocultas o desactualizadas, para entender mejor el sistema.
Cuándo usarla
- ✓Cuando quieras encontrar operaciones de GraphQL o RPC que no deberían existir.
- ✓Para comparar lo que espera el cliente con lo que el servidor hace realmente.
- ✓Cuando investigues si el código generado para interactuar con el sistema está desactualizado.
Link de la skill
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Compara el contrato de GraphQL con los handlers en funcionamiento para encontrar operaciones ocultas.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero, reúne información sobre cómo se supone que es el sistema (contrato). Después, observa cómo responde realmente a las peticiones. Por último, compara ambas cosas para encontrar las discrepancias.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
- 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
Preguntas frecuentes
¿Qué es un "contrato" en este contexto?
Es la descripción oficial de cómo debe funcionar un sistema (como una API), incluyendo qué datos acepta y qué datos devuelve.
¿Qué son los "handlers"?
Son las partes del código del sistema que procesan realmente las peticiones que llegan.
¿Qué significa "drift"?
"Drift" significa que hay una diferencia entre el contrato (cómo debería ser) y el comportamiento real (cómo es).
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 42 mil
- Posición en el ranking
- #6430
- Licencia
- MIT
- Actualizada
- 22/9/2026
Comentarios
- …
Más skills de este repositorio
competition-ad-certificate-abuse
42 milAyuda a tu agente a analizar ataques a sistemas de certificados digitales. Investiga cómo se pueden usar mal los certificados para obtener acceso.
competition-agent-cloud
42 milAyuda a tu agente a analizar problemas de seguridad en sistemas de IA y en la nube. Investiga cómo se pueden explotar los prompts, las herramientas y la nube.
competition-android-hooking
42 milAyuda a tu agente a investigar aplicaciones Android. Analiza cómo funcionan por dentro y cómo podrían modificarse o explotarse.
competition-browser-persistence
42 milAyuda a tu agente a analizar cómo las webs guardan información en tu navegador. Investiga las cookies y otros datos para entender cómo funcionan las sesiones.
Skills parecidas
reverse-engineer-anything
422 milAyuda a tu agente a revisar apps y paquetes ya publicados para explicar sus funciones, comparar versiones o guiar una reconstrucción, usando la herramienta REA.
1password
394 milAyuda a tu agente a instalar la CLI de 1Password, iniciar sesión y leer o inyectar secretos sin imprimir sus valores en el chat.
healthcheck
394 milAyuda a tu agente a auditar el ordenador o servidor que ejecuta OpenClaw en busca de riesgos de seguridad, como SSH, cortafuegos, actualizaciones y copias de seguridad, y después sugerir arreglos seguros.