Mercury Framework is an educational scaffold for security researchers and pentesters.
It provides a modular, plugin-friendly CLI and harmless simulated device components so contributors can learn about workflows safely in isolated labs and emulators.
Author: voltsparx
Contact: voltsparx@gmail.com
IMPORTANT: This repository contains ONLY harmless simulation code and benign network demos. It does NOT include implants, malware, or tools for unauthorized access. Use only in authorized test environments, with explicit consent, and in accordance with laws and organizational policies.
Quick start
- Create a Python virtual environment and install:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e .- Run the CLI:
python run.pyWhat this scaffold provides
- A menu-driven CLI with three rotating banner designs.
- A
mercury.simulated_devicemodule with harmless stubs (fake SMS, fake gallery, fake camera feed, device info). - Benign local-network demo modules for learning network flows.
- CONTRIBUTING, SECURITY, and RESPONSIBLE_USE guidance to maintain safe, ethical usage.
- A set of safe plugin templates for Android, Windows, macOS, Linux, network and forensic simulations under
mercury_plugins/templates/. - A sandbox example (Dockerfile) under
sandbox/to run plugin subprocesses in a container for isolated testing. - A manifest validation script
tools/check_manifests.pyand a CI workflow stub that validates manifests and runs tests. - Lab setup guidance in
LAB_SETUP.mddescribing isolated VMs, Android AVD setup, and consent checklists.
Packaging & Installers
- Platform installer scripts are included under
scripts/:scripts/build_windows_installer.ps1— creates a distributable ZIP andinstall.ps1helper for Windows.scripts/build_msi.ps1— WiX-based MSI builder (requires WiX Toolset on Windows).scripts/build_debian.sh— build a.debpackage on Debian/Ubuntu hosts.scripts/build_arch.sh— prepare PKGBUILD and optionally runmakepkgon Arch.scripts/build_macos_installer.sh— macOS.pkgand.dmgcreator (requires Xcode CLT).
See INSTALL.md for detailed instructions on building and installing per-platform packages.
Responsible use & license
- This project is provided under the MIT license. By using this software you accept responsibility to use it only for lawful, authorized research and testing.
- See
RESPONSIBLE_USE.mdandSECURITY.mdfor guidelines and contact policy.
UI and plugin templates
- Use
Pluginsfrom the CLI to discover local plugin folders undermercury_plugins/. - Copy the templates in
mercury_plugins/templates/to create new safe plugins. Every plugin must includemanifest.jsonand declarenetwork_policyandresponsible_use.
CI and manifest checks
- The CI workflow runs
tools/check_manifests.pyto ensure all plugins include required fields. Plugins that lack required metadata will fail CI.
Screenshot (terminal)
Mercury Framework (safe educational scaffold)
Learn, build, defend.
Select an option:
1) Simulated device (view fake SMS, gallery, camera)
2) Benign network demos (local echo)
3) Plugins directory (list available plugins)
4) About / Responsible Use
5) Exit
Enter choice number:
Contributing
Contributions are welcome. Please read CONTRIBUTING.md and follow the repository's safety rules.