security-engineer

Hardens Cloudflare Workers apps with authentication, input validation, and supply-chain security at the edge.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/cffrank/paperclip-skills-agents --skill security-engineer-cffrank
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-engineer
Source: https://github.com/cffrank/paperclip-skills-agents/tree/main/skills/security-engineer
Command: npx skills add https://github.com/cffrank/paperclip-skills-agents --skill security-engineer-cffrank

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security engineering for Cloudflare Workers applications helps teams harden edge deployments against supply-chain risks, misconfigurations, and insecure endpoints.

Core Features & Use Cases

  • Authentication hardening with Clerk JWT validation and middleware enforcement
  • Input validation, rate limiting, and explicit CORS controls across API routes and edge handlers
  • Threat modeling templates, security checklists, and secure CI/CD practices integrated into development workflows

Quick Start

Inspect and harden your Cloudflare Workers endpoints by validating JWTs, enforcing strict input handling, and applying supply-chain security best practices in CI/CD.

Frequently Asked Questions about security-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Clerk JWTs in Cloudflare Workers middleware?

To validate Clerk JWTs in Cloudflare Workers, you enforce authentication hardening by applying middleware that verifies tokens at the edge before routing requests. This secures endpoints by intercepting unauthenticated traffic early in the request lifecycle.

What is the best way to configure CORS policies for edge handlers?

Configuring CORS policies for edge handlers requires setting explicit cross-origin rules to control resource access. By defining strict origins and headers within your Workers routes, you prevent unauthorized domain requests and secure your API endpoints.

How do I apply rate limiting and input validation to Cloudflare Workers APIs?

You apply rate limiting and input validation to Cloudflare Workers APIs by implementing strict request handling controls at the edge. This mechanism protects routes from abuse by filtering malformed payloads and throttling excessive traffic before backend processing.

Can I use this approach to secure D1 and R2 storage access in Workers?

Yes, you can secure D1 and R2 storage access in Workers by enforcing parameterized database queries and strict secret management. This ensures edge applications interact with bound storage resources safely without exposing underlying data vulnerabilities.

How do I integrate threat modeling and security checklists into CI/CD for Workers?

You integrate threat modeling and security checklists into CI/CD by applying supply-chain security practices to every pull request. This process enforces vulnerability remediation and continuous endpoint hardening throughout your Cloudflare Workers development workflow.