plugin-doctor
Warn
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The module
_analyze_step_configurable_contract.pydynamically loads and executes Python code from the marketplace directory usingimportlib.util.module_from_spec()andexec_module(). It targetsconfigurable_contract.pylocated within the marketplace tree. Because the marketplace root can be overridden by the user via the--marketplace-rootflag, this allows for the execution of code residing in a user-provided directory. - [COMMAND_EXECUTION]: Several modules, including
_analyze_manage_invocation.py,_analyze_script_call_drift.py, and_analyze_test_conventions.py, usesubprocess.run()to execute shell commands. Specifically,_analyze_test_conventions.pyexecutes arbitrary command strings defined in a JSON registry provided via the--registryargument. - [REMOTE_CODE_EXECUTION]: The analyzer
_analyze_finalize_step_token.pymanipulatessys.pathto importfind_implementorsfrom a dynamic path within the marketplace tree, leading to the execution of code found in the components being analyzed. - [COMMAND_EXECUTION]:
_analyze_manage_invocation.pyand_analyze_script_call_drift.pyexecute audited scripts usingsys.executableto capture their--helpoutput. While this is used for interface validation, it involves running code from the audited environment. - [REMOTE_CODE_EXECUTION]: The
_rule_registry.pymodule usesimportlib.import_module()to dynamically collect descriptors from a long list of internal modules, representing a widespread pattern of dynamic code loading within the skill's own infrastructure.
Audit Metadata