mx-finance-search
Fail
Audited by Gen Agent Trust Hub on Jun 15, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/get_data.pycontains a hardcoded API key assigned as a default value to theEM_API_KEYvariable:"em_fjFqd4YB6Cqs52LF48XWbMDdLNq6MyNg". This key is used for authentication in theem_api_keyheader when making requests to the Eastmoney service. Hardcoding credentials in source code is a high-risk practice as it can lead to credential leakage if the code is shared or exposed. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes data from an external API and presents it to the agent without proper sanitization or boundary markers.
- Ingestion points: Data is fetched from the Eastmoney API in
scripts/get_data.pyvia the_http_call_search_newsfunction which is called withinquery_financial_news. - Boundary markers: The skill does not implement delimiters or specific instructions to the agent to ignore embedded commands when processing the retrieved financial information.
- Capability inventory: The skill has the capability to write files to the local filesystem using
output_path.write_text(content, encoding="utf-8")inscripts/get_data.py. - Sanitization: There is no evidence of validation, escaping, or filtering of the content retrieved from the external API before it is processed or saved to disk.
Recommendations
- AI detected serious security threats
Audit Metadata