openapi-hardener
OfficialSecure your API contracts with robust schema validation.
Authorapisec-inc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents security vulnerabilities and data leaks by ensuring API schemas (OpenAPI, JSON Schema, Zod, etc.) are strictly defined, preventing mass assignment, data exposure, and injection attacks.
Core Features & Use Cases
- Schema Hardening: Enforces constraints like
additionalProperties: false,requiredfields, and data type validation. - Vulnerability Prevention: Mitigates OWASP API3:2023 (Broken Object Property Level Authorization) and other schema-related risks.
- Use Case: When defining an API endpoint for user creation, this Skill ensures that only permitted fields are accepted as input and that sensitive fields like
passwordHashare never returned in the response.
Quick Start
Use the openapi-hardener skill to review and tighten the provided OpenAPI specification for security.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: openapi-hardener Download link: https://github.com/apisec-inc/apisec-skills/archive/main.zip#openapi-hardener Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.