position-sizer

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill performs local mathematical calculations for stock trading risk management (Fixed Fractional, ATR, and Kelly Criterion sizing).
  • [COMMAND_EXECUTION]: The test suite (scripts/tests/test_position_sizer.py) utilizes subprocess.run to verify the CLI functionality of the tool itself. This is a standard development practice for unit testing and does not pose a security risk as it executes the local Python script with controlled arguments.
  • [DATA_EXPOSURE]: The script writes calculation results to a local reports/ directory in JSON and Markdown formats. It does not access sensitive system files or environment variables.
  • [REMOTE_CODE_EXECUTION]: The requirements.txt file is empty, and the code relies exclusively on the Python standard library, avoiding third-party dependency risks.
  • [INDIRECT_PROMPT_INJECTION]: While the skill processes user-supplied financial data, it includes robust input validation (finite float checks and range validation) and does not pass untrusted data into dangerous sinks such as eval() or shell-active commands.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 07:28 PM