My First Blockchain Bug Bounty Investigation: What a Duplicate Report Taught Me About Security Research
The author suspected that a blockchain node's Engine API payload validation might not enforce the address denylist, allowing a validator to accept a payload containing a transaction to a denylisted address. A local test showed the behaviour, but the report was closed as a duplicate of an existing finding.
Cybersecurity
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context: what the target and the feature are
The investigation centred on the Circle ar*-**de repository, a blockchain node implementation written in Rust. The feature under scrutiny was address-denylist enforcement: the node is supposed to refuse transactions that involve denylisted addresses. The researcher's question was whether that refusal is applied consistently across every path by which a transaction can reach execution, and specifically whether the Engine API path enforces it the same way the transaction pool does.
The relevant components in the repository were:
crates/exec****n-validationcrates/exec***n-configcrates/exec****n-txpoolcrates/e**crates/e**-*odecrates/exe****on-e2e
Each plays a different role in validation, configuration, transaction processing, execution, or testing. The lesson the author draws from this is that understanding a vulnerability usually means following data across several components rather than reading one function in isolation.
Setup
The work was done in an Ubuntu environment running through Windows Subsystem for Linux (WSL). The tooling was Cargo, Rust's build system and package manager, used to list and run the repository's end-to-end tests. The proof of concept was an end-to-end test involving a producer node and a validator node, built with AI assistance. No specific versions, accounts or credentials are given in the report.
Finding it
The starting hypothesis was stated plainly: could a transaction targeting a denylisted address be accepted through the Engine API even though transaction-pool validation checks denylisted addresses?
To answer it, the author first examined the denylist implementation and its use during transaction validation. Transaction-pool validation called is_denylisted() and checked the relevant transaction addresses, including the sender and recipient. The implementation also handled EIP-7702 authorization authorities.
The author then explored the EVM execution path and the Engine API validation logic. One function examined was:
execute_transaction_without_commit()
In the code path inspected, that function checked the remaining block gas before executing a transaction through:
self.evm.transact(tx_env)
No equivalent denylist check was found directly in that function. That raised the possibility of an enforcement gap.
The author is careful about the distinction between a suspicious code path and a proven vulnerability: a check absent from one function might be enforced elsewhere, so the whole execution path has to be understood before drawing conclusions.
Exploitation
Step 1: establish what the existing tests actually show
Rather than relying only on static reading, the author used the repository's end-to-end tests. First, list the available tests in the selected test target:
cargo test -p arc-execution-e2e --test e2e -- --list
Then run the denylist-related tests:
cargo test -p arc-execution-e2e --test e2e denylist -- --nocapture
And the EIP-7702 denylist test:
cargo test -p arc-execution-e2e --test e2e eip7708_denylist -- --nocapture
The relevant existing tests passed. That established that the existing test cases behaved as expected, but not that every possible transaction-processing path enforced the denylist. As the author puts it, a passing test proves that a particular test passed under its tested conditions; it does not prove the entire system is secure.
Step 2: build a local proof of concept
The next step was to test the suspected behaviour in a controlled local environment. With AI assistance, the author wrote an end-to-end test involving a producer node and a validator node. The test examined whether a transaction targeting a denylisted address could be included in an execution payload produced by one node and then accepted through another node's Engine API.
The general process was:
- Configure a recipient address as denylisted.
- Set up different denylist exclusion configurations for the producer and validator.
- Submit a transaction through the producer.
- Obtain an execution payload.
- Submit that payload through the validator's Engine API.
- Examine the returned payload status.
- Check the resulting transaction receipt.
Step 3: fix the test recipient and rerun
The first recipient chosen for the test corresponded to a test-only panic precompile, and the payload-building process evicted the transaction. The author changed the recipient to a normal address and reran the test. The modified test passed in the local environment.
That result was evidence about the behaviour of the specific configuration and execution path being tested. It was not proof that a live network was vulnerable: the result depended on the test setup, and the security implications still needed careful evaluation. The author is also explicit that AI assisted with the investigation and test construction, and that instructions were followed at the time that were not fully understood.
Step 4: submit
The report was submitted to HackerOne with these details:
- Title: Engine API Payload Validation May Bypass Address Denylist Enforcement
- Asset:
cir****in/ar*-**de - Weakness category: Incorrect Authorization (CWE-863)
- Submitted severity: Medium, CVSS 5.3
The report described the suspected difference between transaction-pool denylist enforcement and execution-payload validation, and argued that a validator could accept a payload containing a transaction targeting a denylisted address.
Step 5: the duplicate decision
The report was closed as a duplicate of existing report #4034*.** The triager identified the same underlying issue: a denylist enforcement gap that could allow validator nodes to accept execution payloads containing transactions targeting denylisted addresses when supplied by a Byzantine block proposer.
A duplicate decision does not mean the technical investigation was worthless or that the suspected behaviour was invalid. It means the report did not establish a new, separately reportable finding.
Root cause
The suspected root cause is an asymmetry in enforcement: the transaction pool validates addresses against the denylist via is_denylisted(), covering sender, recipient and EIP-7702 authorization authorities, while the execution path inspected, execute_transaction_without_commit(), checked remaining block gas and then called self.evm.transact(tx_env) without an equivalent denylist check in that function. The suspected consequence is that a payload supplied by a Byzantine block proposer could carry a transaction to a denylisted address past the validator's Engine API validation. The author does not claim to have proven where the missing enforcement should sit, only that the check was not present in the function inspected and that the whole path must be traced before concluding.
Impact
If the gap is real, a validator node could accept an execution payload containing a transaction that targets a denylisted address, when that payload is supplied by a Byzantine block proposer. The author submitted this as Medium severity, CVSS 5.3, under Incorrect Authorization (CWE-863). The report hedges the impact: the local test demonstrated behaviour for one configuration and execution path, not that a live network was vulnerable, and the security implications still needed evaluation. The triager identified the existing finding as covering the same underlying issue.
Fix
The report does not describe any fix or code change.
Variants to test
- Other validation entry points. Look for functions that call
self.evm.transact(tx_env)or equivalent execution primitives without a preceding denylist check. A positive result is a path where a denylisted sender, recipient or EIP-7702 authority reaches execution. - Asymmetric node configuration. Repeat the producer/validator split with different denylist exclusion settings on each node. A positive result is a payload accepted by the validator that the producer's own pool would have rejected.
- EIP-7702 authorization authorities. The pool checks authorities as well as sender and recipient; test whether the execution path does the same. A positive result is a transaction whose authority is denylisted but which still executes.
- Test-only precompiles and special addresses. The author hit a panic precompile that caused the transaction to be evicted during payload building; check whether other special addresses behave differently between pool validation and payload validation.
- Novelty check before submission. Review known issues, documentation, previous disclosures and relevant reports where programme policy permits. A positive result here is finding an existing report that covers the same behaviour, which saves the duplicate.
What the author would do differently
The closing lessons are about method rather than a single bug: start from a clear security hypothesis about a specific property and how the system is meant to enforce it; trace the complete execution path, including whether another component performs the same validation and whether the check runs before or after execution; design tests around explicit claims, stating expected behaviour, observed behaviour, assumptions and security consequences; verify impact independently, including whether a security boundary or protocol requirement is actually violated and whether an attacker can realistically trigger it; investigate novelty before submitting; and learn the code rather than merely following commands. AI, in this account, is most useful when it helps the researcher understand a problem rather than telling them what to do next. The author has continued examining the repository, including the Engine API validator and patterns such as unwrap() and expect() in Rust, without yet establishing another vulnerability.
What happened, in plain words
A security researcher decided to try bug bounty hunting for the first time. A bug bounty is a scheme where a company pays people for telling it about security problems in its software, instead of suing them or ignoring them. The researcher picked a blockchain project, read its source code, formed a theory about a possible weakness, built a small test on their own computer, and sent a report to the bug bounty platform HackerOne. The platform replied that the same problem had already been reported by someone else, so the report was closed as a duplicate.
This article walks through that whole journey slowly, for someone who has never done any of it. It explains what a blockchain node is, what an API is, what a denylist is, what a test is, and why a report can be technically correct and still earn nothing. The point is not the bug. The point is the method: how to read unfamiliar code, how to check your own assumptions, and how to use AI tools without letting them do your thinking for you.
1. Starting with a large Rust codebase
The researcher worked on the Circle ar*-**de repository. A repository (often shortened to repo) is a folder of source code, plus its full history of changes, usually hosted on a service like GitHub. This one is a blockchain node implementation written in Rust. Rust is a programming language known for being fast and for catching certain kinds of mistakes before the program even runs.
A blockchain node is a computer program that participates in a blockchain network. A blockchain is a shared ledger, a list of records that many independent computers keep copies of and agree on. Each of those computers runs a node. Nodes talk to each other, pass around new transactions (requests to move value or change state), and agree on which ones are valid. If one node accepts something the others reject, the network can disagree about the state of the ledger, which is a serious problem.
The researcher worked in an Ubuntu environment running through Windows Subsystem for Linux (WSL). Ubuntu is a version of Linux, an operating system like Windows or macOS. WSL lets you run Linux inside Windows, so you can use Linux tools without wiping your machine. This matters because most developer tools assume a Linux-like environment.
Before hunting for a bug, the researcher tried to understand the code. That is the equivalent of reading the manual before opening the machine. The relevant parts of the repository were:
crates/exec****n-validationcrates/exec***n-configcrates/exec****n-txpoolcrates/e**crates/e**-*odecrates/exe****on-e2e
A crate, in Rust, is a package of code: a bundle of files that does one job and can be used by other code. Think of it like a drawer in a filing cabinet. Each drawer here handles a different concern: checking whether things are allowed (validation), holding settings (config), managing the queue of pending transactions (txpool), execution, the node itself, and end-to-end tests. The asterisks in the names are redactions, hiding parts of the real names.
The lesson drawn here is simple but important: a security weakness usually lives in the space between components, not inside one function. If you only read one drawer, you will miss the fact that another drawer is supposed to be doing the same check.
2. Investigating address-denylist enforcement
The feature under investigation was address-denylist enforcement. A denylist (also called a blocklist) is a list of things that are not allowed. Here it is a list of blockchain addresses. An address is like a bank account number: a string that identifies where value can be sent or held. If an address is on the denylist, the node is supposed to refuse any transaction that involves it, whether as the sender (the person sending) or the recipient (the person receiving).
The researcher's question was precise: could a transaction targeting a denylisted address be accepted through the Engine API even though transaction-pool validation checks denylisted addresses?
Two terms need unpacking. An API (Application Programming Interface) is a defined way for one program to talk to another. Think of a restaurant menu: you do not walk into the kitchen, you order from the menu, and the kitchen returns a dish. The Engine API is the menu that blockchain software uses to talk to a node's execution engine, the part that actually runs transactions. The transaction pool (txpool) is the waiting room where transactions sit before they are picked up and executed. When you submit a transaction, it goes into the pool, gets checked, and later gets bundled into a block.
So the question is: the waiting room checks the denylist, but does the kitchen? If a transaction arrives by a different door (the Engine API) rather than through the waiting room, is it still checked?
To answer it, the researcher read the denylist implementation and how it is used during transaction validation. Transaction-pool validation called is_denylisted() and checked the relevant transaction addresses, including the sender and recipient. The implementation also handled EIP-7702 authorization authorities.
EIP-7702 is a change to the Ethereum protocol (Ethereum is the best-known blockchain that runs general-purpose programs). It lets an ordinary account temporarily behave like a smart contract, a program that lives on the blockchain. An authority, in this context, is the account that signs off on that arrangement. So the pool was checking three things: who is sending, who is receiving, and who authorised the special arrangement. That is thorough.
Then the researcher looked at the EVM execution path and the Engine API validation logic. The EVM, or Ethereum Virtual Machine, is the part of the node that actually runs the code inside transactions. One function examined was:
execute_transaction_without_commit()
A function is a named block of code that does one job. The name here is descriptive: it executes a transaction without committing, meaning it runs the transaction to see what would happen, but does not permanently record the result. It is like doing a dry run of a recipe without serving the dish.
In the code path inspected, that function checked the remaining block gas before executing a transaction through:
self.evm.transact(tx_env)
Gas is a unit that measures how much computational work a transaction costs. Every block has a limit on how much gas it can contain, so a node must check that there is enough gas left before running another transaction. self.evm.transact(tx_env) is the actual call that runs the transaction on the EVM. self refers to the object the function belongs to, evm is the virtual machine, transact is the operation, and tx_env is the transaction environment, the bundle of details describing the transaction.
No equivalent denylist check was found directly in that function. That is the suspicious part. The waiting room checked the list; the kitchen, at least in this function, did not appear to.
But the researcher is careful here, and this is the most important paragraph in the whole article. A check that is missing from one function might be enforced somewhere else. Maybe a caller checks before calling. Maybe a later step checks after. Maybe the Engine API layer checks before it ever reaches this function. You cannot conclude anything from one function in isolation. You have to trace the whole path.
3. Using tests to understand the existing behaviour
Rather than relying only on reading code, the researcher used the repository's end-to-end tests. A test is a small program that checks whether a piece of software behaves as expected. An end-to-end test (often shortened to e2e) runs a whole realistic scenario from start to finish, rather than testing one tiny piece in isolation. Think of it as a full rehearsal of a play rather than a read-through of one scene.
The tool used was Cargo, Rust's build system and package manager. A build system compiles source code into a runnable program and runs its tests. A package manager fetches and organises the libraries the code depends on. Cargo does both for Rust.
First, the researcher listed the available tests in the selected test target:
cargo test -p arc-execution-e2e --test e2e -- --list
Line by line: cargo test is the command that runs tests. -p arc-execution-e2e selects the package (the crate) named arc-execution-e2e, so Cargo does not try to test the whole repository. --test e2e selects the specific test target called e2e. The -- separates Cargo's own options from options passed to the compiled test program. --list tells that program to print the names of its tests instead of running them. The result is a menu of what can be tested.
Then the researcher ran the denylist-related tests:
cargo test -p arc-execution-e2e --test e2e denylist -- --nocapture
Here denylist is a filter: only tests whose names contain that word are run. --nocapture tells the test runner not to swallow the program's printed output, so you can see what the test actually printed. Without it, output is hidden unless a test fails.
And the EIP-7702 denylist test:
cargo test -p arc-execution-e2e --test e2e eip7708_denylist -- --nocapture
This is the same command with a narrower filter, eip7708_denylist, selecting the test that covers the EIP-7702 case. Note that the filter in the command is spelled eip7708_denylist, exactly as in the report.
The relevant existing tests passed. That tells you the existing test cases behave as expected. It does not tell you that every possible path through the system enforces the denylist. As the researcher puts it: a passing test proves that a particular test passed under its tested conditions; it does not prove the entire system is secure. A smoke alarm that beeps when you press the button proves the alarm works when pressed, not that it will detect a fire in every room.
4. Building a local proof of concept
The next step was to test the suspected behaviour in a controlled local environment. A proof of concept (PoC) is a small demonstration that shows a suspected problem is real. It is the difference between saying "this door looks flimsy" and actually opening it. A local environment means everything runs on your own machine, not on a live network, so nothing real is affected.
With AI assistance, the researcher wrote an end-to-end test involving a producer node and a validator node. In blockchain terms, a producer (also called a block proposer) is the node that assembles transactions into a block. A validator is a node that checks the block and decides whether to accept it. Splitting the roles lets you test what happens when one node builds something and another node receives it.
The test examined whether a transaction targeting a denylisted address could be included in an execution payload produced by one node and then accepted through another node's Engine API. An execution payload is the bundle of transactions and results that one node hands to another for validation. It is the parcel being passed between the two nodes.
The general process was:
- Configure a recipient address as denylisted.
- Set up different denylist exclusion configurations for the producer and validator.
- Submit a transaction through the producer.
- Obtain an execution payload.
- Submit that payload through the validator's Engine API.
- Examine the returned payload status.
- Check the resulting transaction receipt.
In plain words: put an address on the banned list, tell the two nodes slightly different things about that list, send a transaction to the banned address through the first node, take the parcel it produces, hand that parcel to the second node, and see whether the second node says yes or no. A receipt is the record a node produces after a transaction runs, showing whether it succeeded.
During this process, the researcher hit a problem. The first recipient chosen for the test corresponded to a test-only panic precompile, and the payload-building process evicted the transaction. A precompile is a built-in operation in the EVM that runs faster than ordinary code. The original only says the recipient corresponded to a test-only panic precompile. Because the transaction hit that address, the node threw it out (evicted it) while building the payload. The test was not measuring what the researcher wanted.
The fix was simple: change the recipient to a normal address and rerun the test. The modified test passed in the local environment.
That result was evidence about the behaviour of the specific configuration and execution path being tested. It was not proof that a live network was vulnerable. The result depended on the test setup, and the security implications still needed careful evaluation. This is the difference between "I made it happen in my kitchen" and "it happens in every restaurant in the country".
The researcher is also explicit that AI assisted with the investigation and test construction, and that instructions were followed at the time that were not fully understood. That honesty matters, and it becomes the theme of the later sections.
5. Submitting the report
The report was submitted to HackerOne with these details:
- Title: Engine API Payload Validation May Bypass Address Denylist Enforcement
- Asset:
cir****in/ar*-**de - Weakness category: Incorrect Authorization (CWE-863)
- Submitted severity: Medium, CVSS 5.3
An asset, in bug bounty language, is the specific piece of software or service the programme has agreed to pay for findings in. The redacted string cir****in/ar*-**de identifies it. A weakness category is a label for the kind of mistake. CWE-863 is the Common Weakness Enumeration entry for Incorrect Authorization, meaning the software does not correctly check whether someone is allowed to do something. Severity is a rough measure of how bad the problem is. CVSS is the Common Vulnerability Scoring System, a standard 0 to 10 scale; 5.3 is in the middle, which is why the researcher submitted it as Medium.
The report described the suspected difference between transaction-pool denylist enforcement and execution-payload validation, and argued that a validator could accept a payload containing a transaction targeting a denylisted address.
6. The duplicate decision
The report was closed as a duplicate of existing report #4034*.** A duplicate means someone else already reported the same underlying issue. The triager, the person at the platform who reads incoming reports and decides what to do with them, identified the same underlying issue: a denylist enforcement gap that could allow validator nodes to accept execution payloads containing transactions targeting denylisted addresses when supplied by a Byzantine block proposer.
Byzantine is a term from distributed systems. It describes a participant that does not just fail but actively misbehaves, sending different things to different people. A Byzantine block proposer is therefore a node that builds a block dishonestly. The concern is that such a node could slip a transaction to a denylisted address past a validator that trusts the payload.
A duplicate decision does not mean the technical investigation was worthless or that the suspected behaviour was invalid. It means the report did not establish a new, separately reportable finding. In bug bounty terms, being first matters as much as being right.
7. Root cause
The suspected root cause is an asymmetry in enforcement. The transaction pool validates addresses against the denylist via is_denylisted(), covering sender, recipient and EIP-7702 authorization authorities. The execution path inspected, execute_transaction_without_commit(), checked remaining block gas and then called self.evm.transact(tx_env) without an equivalent denylist check in that function.
The suspected consequence is that a payload supplied by a Byzantine block proposer could carry a transaction to a denylisted address past the validator's Engine API validation. The researcher does not claim to have proven where the missing enforcement should sit, only that the check was not present in the function inspected and that the whole path must be traced before concluding.
8. Impact
If the gap is real, a validator node could accept an execution payload containing a transaction that targets a denylisted address, when that payload is supplied by a Byzantine block proposer. The researcher submitted this as Medium severity, CVSS 5.3, under Incorrect Authorization (CWE-863). The report hedges the impact: the local test demonstrated behaviour for one configuration and execution path, not that a live network was vulnerable, and the security implications still needed evaluation. The triager identified the existing finding as covering the same underlying issue.
9. Fix
The report does not describe any fix or code change.
10. Variants to test
- Other validation entry points. Look for functions that call
self.evm.transact(tx_env)or equivalent execution primitives without a preceding denylist check. A positive result is a path where a denylisted sender, recipient or EIP-7702 authority reaches execution. - Asymmetric node configuration. Repeat the producer/validator split with different denylist exclusion settings on each node. A positive result is a payload accepted by the validator that the producer's own pool would have rejected.
- EIP-7702 authorization authorities. The pool checks authorities as well as sender and recipient; test whether the execution path does the same. A positive result is a transaction whose authority is denylisted but which still executes.
- Test-only precompiles and special addresses. The researcher hit a panic precompile that caused the transaction to be evicted during payload building; check whether other special addresses behave differently between pool validation and payload validation.
- Novelty check before submission. Review known issues, documentation, previous disclosures and relevant reports where programme policy permits. A positive result here is finding an existing report that covers the same behaviour, which saves the duplicate.
11. What the author would do differently
The closing lessons are about method rather than a single bug. Start from a clear security hypothesis about a specific property and how the system is meant to enforce it. Trace the complete execution path, including whether another component performs the same validation and whether the check runs before or after execution. Design tests around explicit claims, stating expected behaviour, observed behaviour, assumptions and security consequences. Verify impact independently, including whether a security boundary or protocol requirement is actually violated and whether an attacker can realistically trigger it. Investigate novelty before submitting. And learn the code rather than merely following commands.
AI, in this account, is most useful when it helps the researcher understand a problem rather than telling them what to do next. The researcher has continued examining the repository, including the Engine API validator and patterns such as unwrap() and expect() in Rust, without yet establishing another vulnerability. Those two patterns are common Rust ways of handling a value that might be missing; they are worth studying because mishandling them can cause a program to crash.
Glossary
- Address: a string that identifies an account on a blockchain, like a bank account number.
- API (Application Programming Interface): a defined way for one program to talk to another, like a menu in a restaurant.
- Asset: the specific piece of software or service a bug bounty programme has agreed to pay for findings in.
- Authority (EIP-7702): the account that signs off on letting an ordinary account temporarily behave like a smart contract.
- Block: a bundle of transactions recorded together on a blockchain.
- Blockchain: a shared ledger kept and agreed on by many independent computers.
- Bug bounty: a scheme where a company pays people for reporting security problems in its software.
- Build system: software that compiles source code into a runnable program and runs its tests.
- Byzantine: describing a participant in a distributed system that actively misbehaves rather than merely failing.
- Cargo: Rust's build system and package manager.
- Crate: a package of Rust code that does one job and can be used by other code.
- CVSS (Common Vulnerability Scoring System): a standard 0 to 10 scale for how bad a security problem is.
- CWE-863: the Common Weakness Enumeration entry for Incorrect Authorization, meaning the software does not correctly check whether someone is allowed to do something.
- Denylist (blocklist): a list of things that are not allowed, here blockchain addresses.
- Duplicate: a report describing a problem that has already been reported.
- End-to-end test (e2e): a test that runs a whole realistic scenario from start to finish.
- Engine API: the defined way blockchain software talks to a node's execution engine.
- EIP-7702: a change to the Ethereum protocol letting an ordinary account temporarily behave like a smart contract.
- EVM (Ethereum Virtual Machine): the part of a node that actually runs the code inside transactions.
- Execution payload: the bundle of transactions and results one node hands to another for validation.
- Function: a named block of code that does one job.
- Gas: a unit measuring how much computational work a transaction costs.
- HackerOne: a bug bounty platform where researchers submit reports to companies.
- Local environment: everything running on your own machine, not on a live network.
- Node: a computer program that participates in a blockchain network.
- Package manager: software that fetches and organises the libraries code depends on.
- Panic precompile: a special test address in the EVM that deliberately causes the program to stop with an error.
- Precompile: a built-in operation in the EVM that runs faster than ordinary code.
- Producer (block proposer): the node that assembles transactions into a block.
- Proof of concept (PoC): a small demonstration showing a suspected problem is real.
- Receipt: the record a node produces after a transaction runs, showing whether it succeeded.
- Repository (repo): a folder of source code plus its full history of changes.
- Rust: a programming language known for speed and for catching certain mistakes before the program runs.
- Severity: a rough measure of how bad a security problem is.
- Smart contract: a program that lives on a blockchain.
- Test: a small program that checks whether software behaves as expected.
- Transaction: a request to move value or change state on a blockchain.
- Transaction pool (txpool): the waiting room where transactions sit before being executed.
- Triager: the person at a bug bounty platform who reads incoming reports and decides what to do with them.
- Ubuntu: a version of the Linux operating system.
- Validator: a node that checks a block and decides whether to accept it.
- Weakness category: a label for the kind of mistake a report describes.
- WSL (Windows Subsystem for Linux): a way to run Linux inside Windows.