Proof of BugProof of Bug
EngagementsLeaderboard
Back to Explore
AdvancedCPI & Composability
Program isactive

Relay

A cross-program router that proxies CPI calls to whitelisted programs. The whitelist enforcement might not be airtight.

anchorcpiroutersolana

Max Points

50 PTS

Live Since

Apr 20, 2026

Last Updated

Apr 29, 2026

Difficulty

Advanced

Overview

Relay is a proxy program designed to route cross-program invocations to a set of approved target programs. It takes a program ID and instruction data from the caller, validates against a whitelist, and forwards the call.

The architecture looks solid, but the validation has a gap. If you can find it, you can route calls to programs that were never meant to be reachable.

Background

CPI-based architectures are increasingly common in Solana — routers, aggregators, and intent-based protocols all rely on forwarding calls. When a program invokes another program with its own authority, the trust boundary is critical.

This is an advanced challenge that requires understanding CPI mechanics and program ID validation.

PoC Required
Submit Report
Rewards
Max reward50PTS
CategoryCPI & Composability
DifficultyAdvanced
Tags
anchorcpiroutersolana
Source
advanced-01-arbitrary-cpi
v1.0.0
Stats
Submissions0
Accepted0
Total rewarded0 PTS