# `rebate_info` and `rebate_manager` are unable to sign the CPI call due to an incorrect implementation of the `seeds` function

RebateManager and RebateInfo seeds() omit the bump, so PDA signing of CPI fails, blocking claim_rebate_fee and withdraw and locking tokens.

- Payout: Audit contest
- Severity: high
- Program: Woofi Solana Deployment
- Found by: g
- Disclosed: 2024-08-26
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2024-08-woofi-solana-deployment-judging/issues/29
- Library page: https://bugbountylibrary.com/r/sherlock%3A2024-08-woofi-solana-deployment%3AH-1
- Tags: area:web3 domain:web3 impact:funds-loss kind:contest platform:sherlock sev:high tech:solidity technique:source-review vuln:accounting-error vuln:business-logic

**Target:** Solana Anchor program PDA seeds / CPI signer
**Root cause:** seeds() returns only the seed phrase without the canonical bump, so the derived PDA does not match the account and cannot sign CPI calls.
**Steps:**
1. Read `rebate_manager::seeds()` returning `[REBATEMANAGER_SEED, quote_token_mint]` and `rebate_info::seeds()` returning `[REBATEINFO_SEED, rebate_manager, rebate_authority]`
2. Note neither includes the bump byte required for `invoke_signed` PDA signing
3. Call `claim_rebate_fee` or `withdraw` which require the rebate PDA to sign a CPI transfer
4. CPI signing fails, reverting the instruction and locking tokens in the vault
**How found:** Code review of the seeds() helper against Solana PDA signing requirements; noticed the bump was absent from the seed array.
**Insight:** When auditing Anchor programs, verify every seeds() helper used for invoke_signed includes the stored canonical bump; a missing bump silently breaks all CPI signing paths and can lock funds.

