AGENT SKILL
security-hardening
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-04-10
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
Security Hardening Skill
Advanced patterns for auditing and hardening TypeScript/Next.js applications.
Audit Workflow
- Inventory: Map the project using
repo_scan. - Surface Scan: Run
secret_scanto find immediate "leaks". - Supply Chain: Run
dependency_risk_scan(focus on lockfiles). - Configuration: Use
auth_session_auditandsecurity_headers_audit. - Report: Aggregate using
hardening_report.
Hardening Standards
1. Secrets Management
- DO NOT commit
.envfiles. - USE placeholders in code (e.g.,
process.env.STRIPE_KEY). - ROTATE any keys found by the auditor immediately.
2. Cookies & Sessions
httpOnly: trueis mandatory for session cookies.secure: truemust be enabled in production.sameSite: 'lax'or'strict'is preferred.
3. Security Headers
- CSP: Content Security Policy to prevent XSS.
- HSTS: Force HTTPS.
- X-Frame-Options: Prevent Clickjacking.
Tool Usage
secret_scan: Run on every branch merge.dependency_risk_scan: Run weekly or afternpm install.hardening_report: Run before every production release.
04 同仓库更多 Skills
WebApp Architect
Plan, build, refactor, debug, and prepare web applications end-to-end. Activate for greenfield builds, feature additions, architecture reviews, and deployment prep.
★ 0
SEO Growth Auditor
Perform technical and on-page SEO audits, generate schema markup, and produce prioritized action reports. Activate for site launches, ranking improvements, and metadata fixes.
★ 0
GDPR Compliance Copilot
Identify GDPR compliance gaps, map data flows, generate DSAR templates, and prepare privacy policy inputs. Always requires human legal review.
★ 0
webapp-architect
暂无简介
★ 0
seo-auditor
暂无简介
★ 0
gdpr-copilot
暂无简介
★ 0