workers-best-practices
Pass
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands using
npm,tar, andnpxfor environment setup and code validation. Specifically, it usesnpm packandtarto manage type definitions andnpxto run development tools liketsc,eslint, andoxlint. - [EXTERNAL_DOWNLOADS]: The skill performs external downloads of the official
@cloudflare/workers-typespackage and retrieves documentation directly fromdevelopers.cloudflare.com. These downloads target official Cloudflare resources and are consistent with the skill's primary purpose. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface due to the ingestion of untrusted data from external documentation and user-provided Workers code.
- Ingestion points: Fetches content from
developers.cloudflare.comand reads user source code and configuration files. - Boundary markers: The instructions lack explicit delimiters or instructions for the agent to ignore embedded commands within the fetched external content.
- Capability inventory: The agent is authorized to execute shell commands (
npm,tar,npx) as part of its review and validation workflow. - Sanitization: There is no mention of sanitizing or validating the content of the external documentation or user code before it is processed by the agent.
Audit Metadata