soc-integrate
Pass
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The MCP server implementation in
mcp_server.pyusessubprocess.runto invoke its internal CLI scriptscripts/soc_integrate.py. The command execution is performed safely by passing arguments as a list and using the current Python executable, which mitigates shell injection risks.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes Verilog source files and JSON configuration data provided by the user or the environment, which constitutes an indirect prompt injection surface. A malicious actor could attempt to embed instructions within hardware design comments or port metadata.\n - Ingestion points: Verilog files are read and parsed in tools like
soc_extract,soc_integrate, andsoc_wrap. JSON port-map configurations are ingested bysoc_updateand theintegratecommand via thescripts/soc_integrate.pyscript.\n - Boundary markers: The skill does not implement specific boundary markers or safety instructions to delimit external content when it is interpolated into the agent's context.\n
- Capability inventory: The skill possesses the ability to perform filesystem writes (e.g., in
soc_integrateandsoc_updatecommands) and execute local scripts via the subprocess module.\n - Sanitization: The skill relies on standard Python libraries (
json,csv) for structured data parsing and uses regular expressions for Verilog port extraction.\n- [DYNAMIC_EXECUTION]: The test suite intests/test_parser.pyutilizes theimportlibmodule to dynamically load and execute thesoc_integrate.pyscript for unit testing. While this is restricted to the development and testing environment, it represents a pattern of runtime code loading.
Audit Metadata