cordis-plugin-development
Warn
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill's primary purpose is the generation and execution of dynamic JavaScript code. It uses the
cordis_definetool to register plain JavaScript function bodies for bothcode.hostandcode.clientenvironments, which are then executed at runtime via thecordis_runtool. - [COMMAND_EXECUTION]: Host-side plugins are granted access to highly sensitive system capabilities. The documentation explicitly lists
bash,subprocess, andpty(pseudo-terminals) as available services that can be inspected and used, allowing the agent to execute arbitrary shell commands and manage system processes. - [DATA_EXFILTRATION]: The skill facilitates access to sensitive platform and session data, including conversation snapshots, session history, and workspace lists. Additionally, it references a
webservice for networking requirements on the host, which provides a pathway for external data transmission. - [INDIRECT_PROMPT_INJECTION]: The skill defines a framework that is vulnerable to indirect prompt injection through the following surface area:
- Ingestion points: Untrusted data enters the plugin context through
Eventpayloads,Slotprops, and incomingUserrequests. - Boundary markers: The instructions lack definitions for delimiters or warnings to ignore instructions embedded within external data.
- Capability inventory: The plugin environment allows for powerful side effects including
fs(filesystem) access and shell command execution (bash). - Sanitization: There are no explicit requirements for sanitizing, escaping, or validating external content before it is utilized within the plugin's logic.
Audit Metadata