ab-test-analysis
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python's
subprocessmodule inscripts/ab_test_stats.pyandscripts/check_prerequisites.pyto check for the presence of theae-clitool and to manage a private virtual environment for Python dependencies likescipyandnumpy. These operations are limited to environment verification and dependency management for the skill's primary analytical purpose. - [REMOTE_CODE_EXECUTION]: The skill implements an automated installation of standard scientific libraries (
scipy,numpy) into a private virtual environment usingpipif they are missing from the system. This is a common pattern for analytical tools to ensure statistical functions are available and does not involve downloading arbitrary or untrusted scripts. - [DATA_EXPOSURE]: The skill interacts with the
ae-clitool to read experiment metadata and run ad-hoc queries on a project. It explicitly follows a read-only access model for project data and does not hardcode or exfiltrate credentials. Sensitive paths (like SSH or AWS keys) are not accessed. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted experiment data (column names, metric values) from the analytics platform. It mitigates injection risks by converting metric values to numbers (
int/float) before processing and by escaping all strings (experiment names, hypothesis text, metric names) before they are rendered into the final HTML report using a dedicated_e()escaping function inscripts/generate_report.py. - [OBFUSCATION]: Analysis of
scripts/ab_test_stats.pyshows that statistical constants (coefficients for Acklam inverse-normal approximation) are stored usingfloat.fromhex()to ensure cross-platform precision and avoid triggering false positives in scanners that flag long runs of digits as IDs. This is a defensive coding practice rather than malicious obfuscation.
Audit Metadata