Lorenz

Security

Lorenz threat model, key handling practices, and how to report a vulnerability. The software is experimental and unaudited; not for use with real funds.

Status

This software is experimental and unaudited. Do not use it with real funds. The on-chain program has not been audited and is missing functionality (see programs/README.md).

Threat model (summary)

ThreatMitigationWhere
Settling a losing tradeOn-chain profit floor; tx revertsINVARIANTS I1, I2
Bot drains user fundsScoped delegate; withdrawal is owner-onlyINVARIANTS I4
Oversized positionOn-chain spend capINVARIANTS I3
Hidden/expanding feesFixed, capped, on-chain feeINVARIANTS I5
Runaway automationControl plane can only tighten limits; kill-switchINVARIANTS O3
MisconfigurationStrict typed config rejects unknown keysINVARIANTS O2

Key handling

  • No private keys, mnemonics or live endpoints are committed. .gitignore excludes *.key, *.keypair.json, id.json, .env*.
  • Config types in lorenz-core deliberately never hold signing material; signing happens at the process edge.

Reporting a vulnerability

Please open a private security advisory on the repository rather than a public issue. Include a description, affected component, and reproduction steps.

On this page