tia-csharp-common

Warn

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides C# code for a custom AssemblyResolve handler that uses Assembly.LoadFrom to load Siemens libraries at runtime. The paths to these libraries are determined dynamically by querying the Windows Registry (HKLM\SOFTWARE\Siemens\Automation\InstalledApps\Totally Integrated Automation Portal V21), which represents dynamic loading from a computed path.
  • [INDIRECT_PROMPT_INJECTION]: The skill documents API methods for importing external files (e.g., the Import method on engineering compositions) and performing high-privilege project modifications like hardware configuration, software block creation, and tag editing. This creates a vulnerability surface where untrusted input could trigger unintended actions if an agent executes these commands on attacker-controlled data.
  • Ingestion points: The skill describes the Import(path, ImportOptions) method used to ingest external CAx or XML files into the TIA Portal project environment.
  • Boundary markers: The skill does not define specific prompt delimiters but includes a dedicated 'Destructive-operation safety' section that mandates the use of explicit safety scopes.
  • Capability inventory: The documented API provides extensive capabilities, including system registry access, dynamic assembly loading (Assembly.LoadFrom), and broad project modification rights (Delete, Create, Import, SetAttributes).
  • Sanitization: The skill provides remediation guidance, requiring that all destructive operations be wrapped in ExclusiveAccess and Transaction scopes and recommending manual confirmation and compilation checks before any changes are finalized.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 2, 2026, 10:25 AM