المصدر الإنجليزي — الترجمة قيد الانتظار — الإنجليزية
في هذه الصفحة

Security

Secrets

  • Secrets live in the settings DB / secret store — never in live.yaml,

never committed (INV-010). Provider URLs/keys are redacted in health endpoints and logs ([REDACTED_SECRET]).

  • scripts/ci/scan_secrets.py fails CI on secret-shaped strings in

source/config/docs.

  • Diagnostics export (nexus export-diagnostics) is sanitized by contract —

never contains secrets.

Scanning (CI)

CodeQL (SAST), Trivy (containers/FS), OSV dependency scanning, lockfile-diff, secret scan — see CI architecture.

Trust boundaries

BoundaryRule
broker ↔ engineIMT5Port adapters only; account-identity fail-safe at connect
research/learning ↔ executionzero order authority (INV-002); shadow never mutates execution
observability ↔ tradingincidents/forensics are diagnostic-only
Telegramread-only outbound (INV-010)
provider gateLLM/AI services bounded: rate limits, circuit breaker, auto-disable; can never touch trading

Trading-specific safety

The full risk surface (clamps, circuit breaker, kill switch, LIVE confirmation, account fail-safe) is documented in First-Run Safety — safety is a runtime property, not a document.

Reporting

This repository is proprietary (see README); security contact goes through the repository owner.