Skip to content

LOW: isRefundSafe check is meaningless — signatures never contain PDA #89

@rz1989s

Description

@rz1989s

File: packages/agent/src/sentinel/refund-guard.ts:14-18
Checks if TX signatures include PDA as substring — base58 signatures never contain PDA strings. Always returns true.
Fix: Check transaction account lists instead, or remove until proper in-flight detection.
Ref: PR #70 audit

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditbugSomething isn't workinglow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions