Secure Code Guardian
Jeffallan/claude-skills
Guides secure implementation of authentication, authorization, input validation and security headers, with password hashing, parameterized queries and OWASP Top 10 checks.
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 api-security-checklist --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .claude/skills/api-security-checklist && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .claude/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklistType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 api-security-checklist --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .agents/skills/api-security-checklist && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .agents/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 api-security-checklist --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .cursor/skills/api-security-checklist && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .cursor/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/16-fullstack-webapp/.claude/skills/api-security-checklist--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 api-security-checklist --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .gemini/skills/api-security-checklist && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .gemini/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 api-security-checklistInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .github/skills/api-security-checklist && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .github/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill api-security-checklist -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 api-security-checklist --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/16-fullstack-webapp/.claude/skills/api-security-checklist .opencode/skills/api-security-checklist && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "api-security-checklist" agent skill from https://github.com/revfactory/harness-100/tree/main/en/16-fullstack-webapp/.claude/skills/api-security-checklist into .opencode/skills/api-security-checklist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-security-checklist", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
api-security-checklistWalks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
A table maps each OWASP API Security Top 10 risk, such as broken object-level authorization, broken authentication and server-side request forgery, to a check question and a defense, so an agent implementing an endpoint can confirm each one rather than guess. It is explicitly scoped to API design and defense code, not penetration testing or WAF configuration.
Authentication guidance covers JWT settings such as access and refresh token lifetimes, signing algorithm choice, httpOnly cookie storage, and a password policy built on bcrypt or Argon2id with a failed-attempt lockout. Authorization patterns continue into role-based access control for enforcing who can call which endpoint.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
API Security Checklist loads about 1.7k tokens when it runs. Until then it costs about 129 tokens; SKILL.md has 570 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 570 words, ~1,652 tokens.
.claude/skills/api-security-checklist/SKILL.md (or your agent's skills folder).An OWASP-based security checklist, authentication patterns, and defense code guide that the backend-dev agent uses during API development.
backend-dev — Applies this skill's security checklist directly to API implementation.
| Rank | Vulnerability | Check Item | Defense |
|---|---|---|---|
| A1 | BOLA (Broken Object Level Authorization) | Can another user's resources be accessed? | Verify object ownership at every endpoint |
| A2 | Broken Authentication | Weak passwords, unlimited login attempts? | bcrypt hashing, Rate Limit, MFA |
| A3 | Broken Object Property Level Authorization | Are fields that should be hidden exposed? | Filter fields via response DTOs |
| A4 | Unrestricted Resource Consumption | Can mass requests crash the server? | Rate Limiting, enforce pagination |
| A5 | Broken Function Level Authorization | Can regular users call admin APIs? | RBAC middleware |
| A6 | Server-Side Request Forgery (SSRF) | Can external URL input access internal resources? | URL whitelist, block internal IPs |
| A7 | Security Misconfiguration | Debug mode exposed, default accounts? | Separate production config, inspect headers |
| A8 | Lack of Protection from Automated Threats | Can normal APIs be called in abnormal sequences? | State machine validation, server-side business rules |
| A9 | Improper Asset Management | Unused APIs, old versions exposed? | API inventory, version deprecation policy |
| A10 | Unsafe Consumption of APIs | Are external API responses blindly trusted? | Validate external responses, set timeouts |
| Item | Recommended Setting |
|---|---|
| Access Token Expiry | 15-30 minutes |
| Refresh Token Expiry | 7-14 days |
| Algorithm | RS256 (asymmetric) or HS256 (symmetric) |
| Storage | httpOnly + secure + sameSite cookie |
| Payload | Minimal info only (userId, role) — no PII |
| Renewal Strategy | Silent Refresh or Rotation |
Role definitions: admin, manager, user, viewer
Permission mapping:
admin → *.* (full access)
manager → resource.create, resource.read, resource.update
user → resource.create (own), resource.read (own)
viewer → resource.read (public)Request → [Rate Limit] → [Auth: JWT verification] → [Authorization: role check] → [Input Validation] → Handler| Validation Item | Method | Tool |
|---|---|---|
| Type Validation | Schema validation | Zod, Joi, class-validator |
| Length Limits | Min/max length | Schema min/max |
| Pattern Matching | Email, URL, phone | Regex + libraries |
| Range Validation | Number range, date range | min/max values |
| Enumeration | Allowed value list | enum type |
| SQL Injection | Parameterized queries | ORM (Prisma, TypeORM) |
| XSS | HTML escaping | DOMPurify (client), server escape |
| Path Traversal | Path normalization | path.resolve + whitelist |
| File Upload | Type/size validation | MIME type + magic number verification |
| Header | Value | Purpose |
|---|---|---|
Strict-Transport-Security | max-age=31536000; includeSubDomains | Force HTTPS |
X-Content-Type-Options | nosniff | Prevent MIME sniffing |
X-Frame-Options | DENY or SAMEORIGIN | Prevent clickjacking |
Content-Security-Policy | default-src 'self' | Prevent XSS |
X-XSS-Protection | 0 (replaced by CSP) | Legacy |
Referrer-Policy | strict-origin-when-cross-origin | Limit referrer info |
Permissions-Policy | camera=(), microphone=() | Restrict browser features |
| Environment | Setting |
|---|---|
| Development | origin: 'http://localhost:3000' |
| Production | origin: ['https://example.com'] — specify domains |
| Forbidden | origin: '*' + credentials: true — security risk |
Required settings:
methods: Allow only necessary methodsallowedHeaders: Only necessary headerscredentials: Set to true only when cookies are neededmaxAge: Preflight caching (86400 seconds)| Target | Limit | Implementation |
|---|---|---|
| Auth endpoints | 5 req/min/IP | IP-based |
| General API | 100 req/min/user | Token-based |
| File upload | 10 req/hour/user | Token-based |
| Unauthenticated API | 30 req/min/IP | IP-based |
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1609459200
Retry-After: 60 (on 429 response){
"error": {
"code": "VALIDATION_ERROR",
"message": "Input is invalid",
"details": [
{"field": "email", "message": "Please enter a valid email"}
]
}
}| Data Type | Storage | Transmission | Logging |
|---|---|---|---|
| Passwords | bcrypt hash only | HTTPS only | Never |
| API Keys | Environment variables | Header (Authorization) | Masked (first 4 chars only) |
| PII | Encrypted (AES-256) | HTTPS only | Masked |
| Credit Cards | Tokenized (delegate to payment provider) | Payment provider SDK | Never |
| Sessions/Tokens | httpOnly cookie | HTTPS only | Never |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/16-fullstack-webapp/.claude/skills/api-security-checklist of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
API Security Checklist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| API Security Checklist this skillrevfactory/harness-100 | 1.3k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Secure Code GuardianJeffallan/claude-skills | 12k | — | ~1.8k | Automated safety check: Pass | MIT | |
| API Security Designvinayaklatthe/microsoft-security-skills | 175 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Hunt APIEncod3d-Sec/TORCH | 329 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Cloudflare Workers Securitysecondsky/claude-skills | 227 | — | ~1.9k | Automated safety check: Pass | MIT | |
| API Security EngineerFerroxLabs/wayland | 608 | — | ~3.1k | Automated safety check: Pass | Apache-2.0 |
Jeffallan/claude-skills
Guides secure implementation of authentication, authorization, input validation and security headers, with password hashing, parameterized queries and OWASP Top 10 checks.
vinayaklatthe/microsoft-security-skills
Guidance for designing secure APIs on Azure - authentication, authorization, gateway controls, input validation, rate limiting, secret management, and runtime threat detection - aligned to OWASP API…
Encod3d-Sec/TORCH
API attack hunting (REST / GraphQL / gRPC) - BOLA/IDOR, BFLA, mass assignment, excessive data exposure, auth/JWT, introspection + batching, rate-limit abuse.
secondsky/claude-skills
Cloudflare Workers security with authentication, CORS, rate limiting, input validation.
FerroxLabs/wayland
API security expertise covering OWASP API Security Top 10, API authentication and authorization patterns, API key management, rate limiting and throttling, JWT security best practices, OAuth 2.0…
briiirussell/cybersecurity-skills
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023).
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
revfactory/harness-100
A systematic checklist generation engine for compliance audits.
Categories
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design. A table maps each OWASP API Security Top 10 risk, such as broken object-level authorization, broken authentication and server-side request forgery, to a check question and a defense, so an agent implementing an endpoint can confirm each one rather than guess. It is explicitly scoped to API design and defense code, not penetration testing or WAF configuration.
API Security Checklist fits situations like: designing authentication for a new API endpoint; reviewing an API against the OWASP API Security Top 10; setting CORS, CSRF or rate-limiting rules for a backend service.
Run `npx skills add revfactory/harness-100 --skill api-security-checklist -a claude-code`. Or copy the skill folder (en/16-fullstack-webapp/.claude/skills/api-security-checklist in revfactory/harness-100) into .claude/skills/api-security-checklist in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill api-security-checklist -a codex`. Or copy the skill folder (en/16-fullstack-webapp/.claude/skills/api-security-checklist in revfactory/harness-100) into .agents/skills/api-security-checklist in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill api-security-checklist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-security-checklist, .gemini/skills/api-security-checklist, .github/skills/api-security-checklist and .opencode/skills/api-security-checklist in your project.
SKILL.md names no scripts, command-line tools or credentials: API Security Checklist is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
API Security Checklist is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with API Security Checklist: Secure Code Guardian (Jeffallan/claude-skills, 12k stars), API Security Design (vinayaklatthe/microsoft-security-skills, 175 stars), Hunt API (Encod3d-Sec/TORCH, 329 stars) and Cloudflare Workers Security (secondsky/claude-skills, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.