implementing-api-gateway-security-controls
Implements security controls at the API gateway layer including authentication enforcement, rate limiting, request validation, IP allowlisting, TLS…
Skill by pinkpixel-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pinkpixel-dev-implementing-api-gateway-security-controls
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, cloud, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
implementing-api-gateway-security-controls- Description
- Implements security controls at the API gateway layer including authentication enforcement, rate limiting, request validation, IP allowlisting, TLS termination, and threat protection. The engineer configures API gateways (Kong, AWS API Gateway, Azure APIM, Apigee) to act as a centralized security enforcement point that validates, throttles, and monitors all API traffic before it reaches backend services. Activates for requests involving API gateway security, API management security, gateway authentication, or centralized API protection.
- License
- Apache-2.0
- Instructions
- 437 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (4)
- LICENSE
- SKILL.md
- api-reference.md · references/
- agent.py · scripts/
SKILL.md (first lines)
# Implementing API Gateway Security Controls
## When to Use
- Deploying a centralized authentication and authorization layer for microservice APIs
- Implementing rate limiting, throttling, and quota management across all API endpoints
- Configuring request/response validation against OpenAPI specifications at the gateway level
- Setting up TLS termination, mutual TLS, and certificate management for API traffic
- Integrating WAF rules with the API gateway to block injection, XSS, and known attack patterns
**Do not use** as the sole security layer. API gateways provide defense in depth but backend services must also validate authorization and input.
## Prerequisites
- API gateway platform selected and deployed (Kong, AWS API Gateway, Azure APIM, or Apigee)
- OpenAPI/Swagger specifications for all backend APIs
- TLS certificates for the gateway domain
- Identity provider (IdP) configured for OAuth2/OIDC (Okta, Auth0, Azure AD)
- Monitoring and logging infrastructure (CloudWatch, Datadog, ELK)
- Backend service endpoints registered and reachable from the gateway
## Workflow
### Step 1: Kong Gateway Security Configuration
```yaml
# kong.yml - Declarative Kong configuration with security plugins
_format_version: "3.0"
services:
- name: user-service
url: http://user-service:8080
routes:
- name: user-api
paths:
- /api/v1/users
methods:
- GET
- POST
- PUT
- PATCH
- DELETE
strip_path: false
plugins:
# 1. Authentication: JWT validation
- name: jwt
config:
uri_param_names:
- jwt
header_names:
- Authorization
claims_to_verify:
- exp
maximum_expiration: 3600 # Max 1 hour token TTL
# 2. Rate Limiting
- name: rate-limiting
config:
minute: 60
hour: 1000
policy: redis
redis_host: redis
redis_port: 6379
fault_tolerant: true
hide_client_headers: false
limit_by: credential # Per-user, not per-IP
# 3. Request Size Limiting
- name: request-size-limiting
config:
allowed_payload_size: 1 # 1 MB max
size_unit: megabytes
# 4. IP Restriction (admin endpoints)
- name: ip-restriction
service: admin-service
config:
allow:
- 10.0.0.0/8
- 172.16.0.0/12
# 5. Bot Detection
- name: bot-detection
config:
deny:
- "sqlmap"
- "nikto"
- "nmap"
- "masscan"
# 6. CORS Configuration
- name: cors
config:
origins:
- "https://app.example.com"
methods:
- GET
- POST
- PUT
- PATCH
- DELETE
headers:
- Authorization
- Content-Type
credentials: true
max_age: 3600
# 7. Response Transformer - Remove sensitive headers
- name: response-transformer
config:
remove:
headers:
- X-Powered-By
- Server
add:
headers:
- "X-Content-Type-Options: nosniff"
- "X-Frame-Options: DENY"
- "Strict-Transport-Security: max-age=31536000; includeSubDomains"From pinkpixel-dev/skills-collection-2, Apache-2.0.
More from pinkpixel-dev/skills-collection-2
- 0.459score
implementing-alert-fatigue-reduction
pinkpixel-dev
Implements strategies to reduce SOC alert fatigue by tuning detection rules, consolidating duplicate alerts, implementing risk-based alerting, and measuring…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-application-whitelisting-with-applocker
pinkpixel-dev
Implements application whitelisting using Windows AppLocker to restrict unauthorized software execution on endpoints, reducing attack surface from malware…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-attack-surface-management
pinkpixel-dev
Implements external attack surface management (EASM) using Shodan, Censys, and ProjectDiscovery tools (subfinder, httpx, nuclei) for asset discovery…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-aws-nitro-enclave-security
pinkpixel-dev
Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-macie-for-data-classification
pinkpixel-dev
Implement Amazon Macie to automatically discover, classify, and protect sensitive data in S3 buckets using machine learning and pattern matching for PII…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-attack-path-analysis-with-xm-cyber
pinkpixel-dev
Deploy XM Cyber's continuous exposure management platform to map attack paths, identify choke points, and prioritize the 2% of exposures that threaten…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aes-encryption-for-data-at-rest
pinkpixel-dev
AES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-config-rules-for-compliance
pinkpixel-dev
Implementing AWS Config rules for continuous compliance monitoring of AWS resources, deploying managed and custom rules aligned to CIS and PCI DSS frameworks…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-iam-permission-boundaries
pinkpixel-dev
Configure IAM permission boundaries in AWS to delegate role creation to developers while enforcing maximum privilege limits set by the security team.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-anti-phishing-training-program
pinkpixel-dev
Security awareness training is the human layer of phishing defense.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aqua-security-for-container-scanning
pinkpixel-dev
Deploy Aqua Security's Trivy scanner to detect vulnerabilities, misconfigurations, secrets, and license issues in container images across CI/CD pipelines and…
SkillDFreshness: D★ 4Claude Code +9 - 0.455score
implementing-anti-ransomware-group-policy
pinkpixel-dev
Configures Windows Group Policy Objects (GPO) to prevent ransomware execution and limit its spread.
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Mar 29, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from pinkpixel-dev
- 0.534score
adhd
pinkpixel-dev
Parallel divergent ideation for coding agents.
SkillCFreshness: C★ 9Claude Code +9 - 0.470score
3d-web-experience
pinkpixel-dev
You bring the third dimension to the web.
SkillDFreshness: D★ 9Claude Code +9 - 0.459score
implementing-aws-nitro-enclave-security
pinkpixel-dev
Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-attack-surface-management
pinkpixel-dev
Implements external attack surface management (EASM) using Shodan, Censys, and ProjectDiscovery tools (subfinder, httpx, nuclei) for asset discovery…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-application-whitelisting-with-applocker
pinkpixel-dev
Implements application whitelisting using Windows AppLocker to restrict unauthorized software execution on endpoints, reducing attack surface from malware…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-alert-fatigue-reduction
pinkpixel-dev
Implements strategies to reduce SOC alert fatigue by tuning detection rules, consolidating duplicate alerts, implementing risk-based alerting, and measuring…
SkillDFreshness: D★ 4Claude Code +9
Cite this page
implementing-api-gateway-security-controls skill. Agent Mart. https://agentmart.dev/skills/pinkpixel-dev-implementing-api-gateway-security-controls (last updated 2026-10-24)