Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

bitget-wallet-ai-lab/bitget-wallet-skill
main @ 920044e
4
Fixes
0
CVEs
MEDIUM
Peak severity
33.3%
Coverage
Highlights
Information Disclosure: 3 prior fixes. Scrutinize any change in this area.
scripts/order_make_sign_send.py: most-fixed (2 issues). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Information Disclosure: Wallet private keys were historically passed directly via command-line arguments, exposing sensitive credentials to local process listings (e.g., ps aux). While a file-based input mechanism was introduced to mitigate this, developers must ensure no legacy argument-parsing paths still accept plaintext keys.
Information Disclosure: Decryption failures and error handling routines logged raw, sensitive wallet API responses to stderr. Any similar error path handling API integrations or key decryption must use strict output filtering to avoid leaking secrets in logs.
Logic Error: The lack of transaction-size enforcement in payment utilities exposed user wallets to excessive draining. Enforcing hard safety limits at the payload generation stage is critical for all transaction-signing scripts.