publish-plan
Warn
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
json_getfunction inscripts/publish.shusesnode -eto evaluate code strings via thenew Functionconstructor. This is used as a lightweight alternative tojqfor parsing Cloudflare CLI output. - Evidence:
const v=new Function("j","return "+process.argv[1])(JSON.parse(s))inscripts/publish.sh. - [PRIVILEGE_ESCALATION]: The skill includes instructions to programmatically change Cloudflare R2 bucket permissions to enable public access using the
--forceflag, which lowers the security posture of the cloud storage. - Evidence:
cf r2 buckets domains managed update plans --enabled true --forceinSKILL.mdandscripts/publish.sh. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to publish content that could be influenced by untrusted external data during the plan creation phase, potentially leading to the public exposure of unintended information.
- Ingestion points: The HTML file content passed as the first argument to
scripts/publish.sh. - Boundary markers: None. The instructions do not specify delimiters or warnings for the agent to ignore instructions embedded within the data it is turning into HTML.
- Capability inventory: File upload via
cf r2 objects put, network verification viacurl, and dynamic JSON processing vianode -e. - Sanitization: No sanitization or validation of the HTML content is performed prior to the public upload.
- [COMMAND_EXECUTION]: The skill relies on the execution of shell scripts and the external
cfCLI tool to perform its primary functions. - Evidence: Execution of
scripts/publish.shwhich wraps severalcf r2commands.
Audit Metadata