Skip to main content

Workflows Patterns

Guides users on implementing durable workflows for multi-step processing and data pipelines using Cloudflare Workflows.

Install this skill

or
48/100

Security score

The Workflows Patterns skill was audited on May 15, 2026 and we found 22 security issues across 3 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 65

Template literal with variable interpolation in command context

SourceSKILL.md
65const path = `documents/${documentId}.txt`;
medium line 116

Template literal with variable interpolation in command context

SourceSKILL.md
116`articles/${articleId}.json`,
medium line 245

Template literal with variable interpolation in command context

SourceSKILL.md
245id: `ingest-${articleId}`,
high line 311

Template literal with variable interpolation in command context

SourceSKILL.md
311- `store-${articleId}` (bad - step names should be static)
medium line 390

Template literal with variable interpolation in command context

SourceSKILL.md
390await this.env.STORAGE.delete(`temp/${workflowId}`);
low line 66

Access to .env file

SourceSKILL.md
66await this.env.STORAGE.put(path, content);
low line 72

Access to .env file

SourceSKILL.md
72const result = await this.env.DATABASE
low line 115

Access to .env file

SourceSKILL.md
115await this.env.ARTICLES_BUCKET.put(
low line 126

Access to .env file

SourceSKILL.md
126await this.env.DATABASE
low line 143

Access to .env file

SourceSKILL.md
143await this.env.DATABASE
low line 155

Access to .env file

SourceSKILL.md
155const result = await this.env.AI.run('@cf/baai/bge-base-en-v1.5', {
low line 168

Access to .env file

SourceSKILL.md
168await this.env.VECTOR_INDEX.upsert(vectors);
low line 187

Access to .env file

SourceSKILL.md
187const chunkSize = this.env.DEFAULT_CHUNK_SIZE || 500;
low line 188

Access to .env file

SourceSKILL.md
188const overlap = this.env.DEFAULT_CHUNK_OVERLAP || 100;
low line 324

Access to .env file

SourceSKILL.md
324await this.env.VECTOR_INDEX.upsert(vectors);
low line 327

Access to .env file

SourceSKILL.md
327await this.env.VECTOR_INDEX.insert(vectors);
low line 341

Access to .env file

SourceSKILL.md
341const result = await this.env.AI.run(model, { text: batch });
low line 355

Access to .env file

SourceSKILL.md
355const existing = await this.env.DATABASE
low line 375

Access to .env file

SourceSKILL.md
375this.env.DATABASE.prepare('...').run(),
low line 376

Access to .env file

SourceSKILL.md
376this.env.STORAGE.put('...', data)
low line 390

Access to .env file

SourceSKILL.md
390await this.env.STORAGE.delete(`temp/${workflowId}`);
low line 406

External URL reference

SourceSKILL.md
406- Cloudflare Workflows documentation: https://developers.cloudflare.com/workflows/
Scanned on May 15, 2026
View Security Dashboard
Installation guide →