reverse-engineering-assistant copilot-instructions.md

Coding instructions for ReVa, a Ghidra extension that provides an MCP server for reverse-engineering work. Ghidra is a tool for examining compiled programs, while MCP is a protocol for connecting tools to AI assistants.

In plain words
What is it for?
Use them when developing ReVa, looking up Ghidra APIs, building with Gradle, or running unit and integration tests.
Why use it?
They identify the supported Ghidra and Java versions and show where to find APIs, build the extension, and run its tests.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/cyberkaida/reverse-engineering-assistant/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/cyberkaida/reverse-engineering-assistant

Made for: GitHub Copilot.

Per session 308 This file is loaded in full into every session.
When invoked 308 The same file โ€” it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00308 $0.00308
Opus 5 $0.00154 $0.00154
Sonnet 5 $0.00062 $0.00062
Haiku 4.5 $0.00031 $0.00031

Measured 3d ago against content hash 81a7090ce95f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reverse-engineering-assistant copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories โ€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency โ€” measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md ยท 13 lines

What it actually says

  • This is a Ghidra extensions for Ghidra 12.0 and later called "ReVa", the Reverse Engineering Assistant.
  • The extension provides a Model Context Protocol (MCP) server for Ghidra. The server is implemented in Java and uses the MCP Java SDK.
  • Remember that MCP is in development, so make sure to check the MCP documentation for the latest information.

Some good resources include:

  • The MCP Java SDK

  • Ghidra on GitHub

  • If you want to find a Ghidra API, start from the FlatProgramAPI or the ProgramPlugin API in the Ghidra repo. Use the GitHub tools to search for Ghidra documentation.

  • We don't use a gradle wrapper, so just run gradle in the root directory to build the project. We do have the Java tools installed in VSCode so you can just check for errors with VSCode instead.

  • When writing tests, use the Ghidra test framework. The tests are in the src/test directory. It is easy to run them with gradle test --info and the integration tests with gradle integrationTest --info.

  • You can use standard gradle test filtering to run specific tests with both of the test targets.

  • We target Ghidra 12.0 and later. Note we should use Java 21.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen ยท 13 lines ยท 308 tokens per session scan A 81a7090ce95f

Subscribe to this mod's changes

reverse-engineering-assistant copilot-instructions.md is an instructions file published in the GitHub repository cyberkaida/reverse-engineering-assistant (821 stars, last pushed 8d ago), licensed Apache-2.0. It adds 308 tokens to every session, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.