xiaobao-flow2api
Fail
Audited by Gen Agent Trust Hub on Apr 2, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The bundled
scripts/flow2api-cliscript contains afile_to_data_urlfunction that reads arbitrary local files (e.g., usingexpanduser().resolve()) and encodes them as base64 for transmission to a remote API. This can be exploited to exfiltrate sensitive files like SSH keys or environment variables if the input JSON is controlled by a malicious prompt or indirect injection. - [COMMAND_EXECUTION]: The CLI script provides functionality via
download_urlsandsave_binary_outputto write data to an arbitraryoutput_pathspecified in the input. This allows for the overwriting of sensitive system or project files, which could lead to code execution or system instability. - [PROMPT_INJECTION]: The instructions in
SKILL.mdandUPDATE.mdcreate a high-risk workflow where the agent is told to enter an 'Update Mode'. In this mode, the agent reads external code and documentation from aflow2api/directory to modify the local CLI script. This is a significant surface for indirect prompt injection, where malicious content in those external files could trick the agent into adding backdoors to the skill. - [DYNAMIC_EXECUTION]: The skill explicitly encourages the agent to 'extend the CLI first' and 'update the CLI first' when changes are detected. This pattern of self-modifying code is dangerous as it allows the agent to evolve its capabilities in ways that may bypass initial security reviews and establish persistence for malicious logic.
Recommendations
- AI detected serious security threats
Audit Metadata