skills/quantskills/skill-ah-share-relative-value-montior/ah-share-relative-value-montior/Gen Agent Trust Hub
ah-share-relative-value-montior
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/today_market_scan.pyusessubprocess.run()to orchestrate the execution of internal scripts likefetch_live.pyandscan_snapshot.py. This orchestration is handled using argument lists rather than shell strings, which prevents shell-based command injection. - [EXTERNAL_DOWNLOADS]: The skill fetches financial data from the Hong Kong Monetary Authority (HKMA) public API (
api.hkma.gov.hk) and the vendor's market data service (pandadata.pandaaiquant.com). These are legitimate, purpose-specific endpoints required for the skill's primary functionality. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external APIs and user-provided CSV files. This represents an attack surface where a poisoned data source could attempt to embed instructions. However, the scripts perform strict validation by casting input values to floats or dates, effectively neutralizing any non-numeric payload before it is processed or reported to the agent.
- [DYNAMIC_EXECUTION]: Local script execution is used for workflow management. The agent uses
sys.executableto run local Python scripts with programmatically defined arguments, following a least-privilege approach by not requiring broad shell access.
Audit Metadata