position-sizer

Pass

Audited by Gen Agent Trust Hub on Jun 13, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The test suite in scripts/tests/test_position_sizer.py utilizes the subprocess module to validate the command-line interface of the script. The calls use safe argument lists and the local Python interpreter, presenting no risk of command injection.
  • [DATA_EXFILTRATION]: The skill includes functionality to write JSON and Markdown reports to a local directory (reports/). Analysis confirms that no network capabilities or external transmission mechanisms are present in the code.
  • [SAFE]: The code follows best practices for input validation, ensuring that numerical parameters such as account size and prices are positive and logically consistent (e.g., stop-loss must be below entry for long trades).
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 13, 2026, 10:27 AM
Security Audit — agent-trust-hub — position-sizer