T09 · Insecure Skill Coding Practices
- Location
scripts/test_persist_apis.py- Finding
Persistence tests can erase pre-existing strategy state without confirmation
- Content
View full analysis
Impact
Pre-existing keys in gmquant_test_bucket can be erased, and an existing deletable another_bucket_xyz can be removed entirely. The persistence documentation states that backtest and live modes share a bucket's data, so running tests in a backtest workflow does not itself protect retained strategy state.
