BABEF is a research-focused exploit framework targeting a critical signature verification flaw in the bitcoinj library used by Java-based Bitcoin wallet and payment systems.
This project is built around CVE-2026-44714, a vulnerability in bitcoinj’s transaction validation path that can allow spoofed transaction behavior, authentication bypass conditions, and payment-flow manipulation in affected implementations.
THREAT OVERVIEW
This framework explores the impact of the flaw across:
- wallet authentication layers
- transaction verification logic
- payment channel behavior
- downstream services relying on bitcoinj validation
Impact profile
- Attack Vector: Local / Application-level
- Privilege Requirement: Low
- User Interaction: Minimal / None
- Confidentiality: High
- Integrity: High
- Availability: High
ATTACHED COMPONENTS
1. Python Exploit
bitcoinj_spoof.py
- A Python-based proof-of-concept focused on transaction spoofing behavior and vulnerability validation against vulnerable bitcoinj implementations.
2. JavaScript Payload
bitcoinj_hijack.js
- A JavaScript payload designed to simulate payment channel hijack behavior in affected web-facing wallet or payment environments.
bitcoinj_c2.rb
- A Ruby-based command-and-control harness used to model attack orchestration and stolen-funds tracking in a lab environment.
INSTALL & RUN
Requirements
- Python 3.10+
- Node.js 18+
- Ruby 3.0+
- Git
- Access to a vulnerable bitcoinj-backed target environment for authorized testing
git clone https://github.com/Bitcoinjimmy/BABEF.git
cd BABEFpython3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRun the Python exploit:
python3 bitcoinj_spoof.py <target_wallet> <recipient_address> <amount>Example:
python3 bitcoinj_spoof.py 1BoatSLRHtKNngkdXEeobR76b53LETtpyT 1J7mdg5rbQyUHENYdx39WVWK7fs5ZQ7VQ 0.25npm installRun the hijack payload:
node bitcoinj_hijack.jsruby bitcoinj_c2.rbThe project is intended to:
- authentication bypass risk in bitcoinj-backed services
- spoofed transaction injection
- payment channel manipulation
- exploitation pathways in vulnerable wallet stacks
This repo is structured as a red-team / security research showcase and is intended for authorized testing and defensive analysis only.
This repository is for security research, red-team validation, and defensive assessment in environments where such activities are explicitly authorized. Use responsibly and in accordance with applicable law and governance policies. Researcher dontaskmehow is not responsible!
BABEF is a bitcoinj-focused exploitation framework centered on CVE-2026-44714, designed to surface the impact of signature verification weaknesses in wallet and payment systems.