akshare-data
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/akshare_query.pyis designed to automatically download and install theaksharePython package from a remote mirror if it is not already present in the execution environment. Evidence: Theensure_aksharefunction usespipto install the package fromhttps://pypi.tuna.tsinghua.edu.cn/simple. - [COMMAND_EXECUTION]: The skill executes shell commands to manage dependencies, which involves spawning a subprocess. Evidence:
subprocess.check_callis used withinscripts/akshare_query.pyto run thepip installcommand. - [DYNAMIC_EXECUTION]: The skill uses dynamic function dispatching and module loading at runtime. This allows it to call any function within the
aksharelibrary based on input arguments. Evidence: The script usesimportlib.import_moduleto check for the library andgetattr(ak, func_name)to dynamically resolve and call functions based on user-supplied command-line arguments. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from numerous external financial web services and APIs. This creates a vector for indirect prompt injection where malicious content in the fetched data could attempt to manipulate the agent. 1. Ingestion points: Financial data returned by
akshareAPI calls inscripts/akshare_query.py. 2. Boundary markers: None identified in the script logic or markdown instructions. 3. Capability inventory: The skill has the ability to execute subprocesses (viapip) and write data to the local file system (viato_csv). 4. Sanitization: No sanitization or validation of the content returned from external APIs is performed before it is processed or displayed by the agent.
Audit Metadata