siigo-pyme-excel
Warn
Audited by Gen Agent Trust Hub on Aug 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/excel-siigo.shgenerates a temporary batch file (.bat) at runtime containing a full command line, which it then executes usingcmd.exe. While the script attempts to escape double quotes, it does not sanitize other shell metacharacters (such as&,|,^,<,>) that might be present in environment variables likeSIIGO_EXEorSIIGO_EMPRESA. This could allow for arbitrary command execution if these variables are maliciously crafted. - [CREDENTIALS_UNSAFE]: The
scripts/excel-siigo.shwrapper writes theSIIGO_CLAVE(user password) in plain text directly into the temporary batch file created on the file system. Although the script contains anrmcommand to delete the file after execution, the sensitive credential remains exposed on disk during the execution window and would persist if the process is terminated prematurely or crashes. - [COMMAND_EXECUTION]: Multiple Python scripts (
scripts/excel-siigo.py,scripts/parse-filepath.py) utilizesubprocess.run()to invoke external binaries likeEXCELSIIGO.exeandcygpath. The paths for these executions are derived from environment variables, creating a risk of unauthorized command execution if the execution environment is compromised. - [DATA_EXPOSURE]: The skill instructions in
SKILL.mdand the implementation inscripts/excel-siigo.pyfacilitate the extraction of sensitive financial and corporate data from the SIIGO Pyme ERP into Excel files. While this is the intended functionality, the skill handles sensitive information such as accounting movements, third-party details, and inventory data without explicit data-handling guardrails for the AI agent. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from
.xlsxfiles. This creates a surface for indirect prompt injection where malicious instructions embedded within spreadsheets could influence the agent's behavior during data aggregation, filtering, or downstream reporting tasks. - Ingestion points: Commands like
scripts/excel-siigo.shthat ingest file paths and the downstream processing of.xlsxfiles viaopenpyxlorpandasas described inSKILL.mdsection 13.3. - Boundary markers: None identified. There are no explicit instructions for the agent to ignore or delimit instructions found within the processed Excel data.
- Capability inventory: The skill possesses capabilities for shell command execution (
subprocess.run,cmd.exe), file system writes (.xlsx,.log,.bat), and credential handling. - Sanitization: The Python wrapper uses argument lists for
subprocess.run(), which provides some protection. However, the Bash wrapper uses string interpolation into a batch file with incomplete sanitization.
Audit Metadata