| Version | Security support |
|---|---|
| 1.0.x stable | Yes |
| 0.5.x and earlier | No live-execution support; critical disclosure review only |
Report suspected vulnerabilities privately to research@asr-lab.online.
Include:
- affected version and commit;
- operating system and Python version;
- minimal reproduction;
- expected and observed behavior;
- impact assessment;
- whether broker credentials, order routing or capital may be affected.
Do not publish exploit details, credentials, deployment certificates, broker account identifiers or live endpoints before coordinated review.
ASRQuant does not intentionally persist broker credentials. Production credentials must be provided by a secret manager or protected environment variables. Never store them in source code, notebooks, .env files committed to Git, reports, audit payloads or support tickets.
The deployment certificate signing key must be separate from broker credentials and contain at least 32 bytes of entropy. It must not be stored beside the certificate.
Live mode requires all of the following:
- a signed and unexpired
DeploymentCertificate; - matching package version, broker, account fingerprint, risk-policy hash and capital limit;
- at least two named approvers in the certificate;
ASRQUANT_LIVE_TRADING=ENABLEDin the controlled deployment environment;- broker credentials;
- a persistent kill switch;
- a durable audit store;
- pre-trade risk approval.
Direct live-adapter construction is rejected.
The release workflows are designed to include:
- protected source review;
- multi-platform tests;
- static analysis;
- dependency vulnerability scanning;
- secret scanning;
- CodeQL;
- SBOM generation;
- Trusted Publishing to PyPI;
- GitHub artifact provenance attestations.
Users should verify release provenance before deploying live-capable artifacts.
For any suspected compromise involving live execution:
- activate the persistent kill switch;
- cancel open orders through the broker interface;
- verify positions and cash directly with the broker;
- revoke broker credentials and certificate keys as appropriate;
- preserve audit, broker and market-data evidence;
- open an incident record;
- do not resume until reconciliation, root-cause analysis and fresh approval are complete.
See docs/operations_runbook.md and THREAT_MODEL.md.