Repository navigation
Security
Sergey Gerasimov edited this page Oct 22, 2026
·
3 revisions
-
.envis gitignored. -
.git-tokenis gitignored and must never be committed. - Keep both files at mode
600on shared machines. - The repository contains no API key or GitHub token.
- Keys are read from the environment and are never rendered in the UI or written to logs.
- Docker Compose passes the key from the host environment or
.env. -
docker inspectcan expose environment variables; use Docker secrets or a runtime secret manager in production. - Rotate a key immediately if it is exposed.
- Model output is untrusted Markdown.
- Raw HTML from the model is not rendered.
- JSON extraction is tolerant but validated and bounded.
- Invalid output falls back to deterministic local content.
- CodeQL runs on push, pull request, and a weekly schedule.
- Results are uploaded to GitHub Code Scanning.
- The first analysis reported zero alerts.
- CI also builds the Docker image and checks container health.
Open a private security advisory through the repository Security tab. Do not include live credentials in an issue.
DerivLab cannot place orders and does not connect to a broker. Synthetic option chains are not executable quotes. Nothing in the repository is investment advice.
- Dependabot alerts are resolved before a release ships.
- 1.2.0 upgrades Streamlit 1.54.0, PyArrow 23.0.1, and pytest 9.0.3 and requires Python 3.11.
- CI installs the same pinned manifests used by the runtime image.
DerivLab · an educational options & futures strategy emulator · docs verified against v1.2.0 on 2026-10-23 · README · Docs feedback · MIT License · Not investment advice.
Start here
- Home
- Getting Started
- Compatibility & Versions
- Feature Tour
- FAQ
- Documentation & ADRs
- Versioning
- Roadmap
Core systems
- Architecture
- Backtest Engine
- Strategy Library
- AI Agents
- AI Model Guide
- LLM Quality & Safety
- Data Pipeline
- Game Mode
Engineering
- Configuration
- Testing & CI
- Deployment
- Security
- Project Structure
- Troubleshooting
- Glossary
- Release Notes