tia-csharp-common
Pass
Audited by Gen Agent Trust Hub on Aug 16, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a reference guide for the Siemens TIA Portal Openness API. The provided C# snippets follow industry-standard practices for this specific proprietary framework.
- [DYNAMIC_EXECUTION]: The skill provides code for a standard
AssemblyResolveevent handler that usesAssembly.LoadFromto load DLLs from a path retrieved from the Windows Registry (HKLM). This is a documented requirement for standalone TIA Openness applications to locate assemblies in the Siemens installation directory. The implementation includes a safety check to ensure only assemblies starting with the 'Siemens.Engineering.' namespace are loaded. - [COMMAND_EXECUTION]: The skill describes methods for project modification, hardware configuration, and block deletion. While these are powerful operations, they are the primary purpose of the API. The skill includes a dedicated 'Destructive-operation safety' section mandating the use of
ExclusiveAccess,Transaction, and explicitCommitOnDispose()calls to prevent accidental data loss. - [INDIRECT_PROMPT_INJECTION]: The skill documents API calls for importing external data (e.g., XML/CAx imports). While this represents a potential attack surface if the agent were to process untrusted files, the skill provides appropriate guidance on session isolation and validation (compile checks) to mitigate risks associated with automated project modifications.
Audit Metadata