tia-python
Fail
Audited by Gen Agent Trust Hub on Jun 26, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: Hardcoded credentials and secrets are present in the provided documentation code examples.
- Evidence: In
references/global_portal.md, the methodsts.set_umac_credentialsandts.encrypt_umac_configuse literal strings"Password123"and"mySecret"as authentication factors. - [EXTERNAL_DOWNLOADS]: The skill provides instructions for downloading software from an external source instead of verified package registries.
- Evidence:
SKILL.mdinstructs the user to download the TIA Scripting library from the Siemens Industry Online Support portal and install it via a local wheel file, which bypasses the integrity checks of standard package managers. - [COMMAND_EXECUTION]: The skill provides shell commands for manual software installation and environment setup.
- Evidence:
SKILL.mdincludes a powershell commandpy -3.12 -m pip install .\siemens_tia_scripting...whlto install the library. - [PROMPT_INJECTION]: The skill has a significant attack surface for indirect prompt injection via project data ingestion.
- Ingestion points: The agent ingests data from PLC program blocks, HMI screens, and tags using methods such as
plc.import_blocksandhmi.import_screensdocumented inreferences/plc.mdandreferences/hmi.md. - Boundary markers: The skill lacks boundary markers or instructions to treat data from imported XML/AML files as untrusted, potentially allowing embedded malicious instructions to influence agent behavior.
- Capability inventory: The library includes capabilities for file system deletion (
delete()), project property modification (set_property()), and establishing network connections to project servers (add_project_server()). - Sanitization: There are no sanitization or validation procedures documented for the content of imported TIA Portal project files.
Recommendations
- AI detected serious security threats
Audit Metadata