security-checklist – skill Bảo mật cho agent AI
Rà soát kiến trúc trong phạm vi xác định theo các kiểm soát dựa trên bằng chứng: mạng, định danh, dữ liệu, bí mật, phụ thuộc và ứng phó sự cố.
Cài skill security-checklist bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-checklist-c48d6.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /security-checklist – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-checklist-c48d6.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $security-checklist – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-checklist-c48d6.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /security-checklist – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/security-checklist-c48d6.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /security-checklist – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
MONOPOLY — Security Hardening Checklist
When to Use
- Use this skill when the task matches this description: Review a scoped architecture against evidence-based network, identity, data, secrets, dependency and incident-response controls.
Network Security
- [ ] All services inside private VPC; only LB/API GW exposed publicly
- [ ] Security groups follow least-privilege (deny all, allow specific ports/CIDRs)
- [ ] NACLs as secondary defense layer
- [ ] WAF enabled with OWASP top 10 ruleset
- [ ] DDoS protection (Cloudflare / AWS Shield Standard minimum)
- [ ] VPN or Private Link for inter-service communication in multi-region
Authentication & Authorization
- [ ] Token lifetimes, renewal and revocation follow a threat model; sample lifetimes are not universal requirements
- [ ] OAuth 2.0 / OIDC for third-party auth
- [ ] MFA enforced for admin accounts
- [ ] RBAC or ABAC for authorization
- [ ] No secrets in JWT payload (use opaque references)
- [ ] Token revocation strategy (Redis blocklist or short TTL)
API Security
- [ ] Rate limiting at API gateway (per user, per IP, per endpoint)
- [ ] Input validation and sanitization on all endpoints
- [ ] SQL injection prevention (parameterized queries, ORM)
- [ ] XSS prevention (output encoding, CSP headers)
- [ ] CSRF protection (SameSite cookies, CSRF tokens)
- [ ] CORS matches the trust model; private credentialed APIs differ from public non-credentialed resources
- [ ] HTTP security headers (HSTS, X-Frame-Options, X-Content-Type-Options)
Data Security
- [ ] Encryption in transit (TLS 1.2+ everywhere, TLS 1.3 preferred)
- [ ] Encryption at rest (AES-256 for DBs, S3 SSE)
- [ ] PII data identified, minimized, and encrypted at field level where needed
- [ ] Database backups encrypted
- [ ] No sensitive data in logs (PII, passwords, tokens, card numbers)
Secrets Management
- [ ] No secrets in code or environment variables in plain text
- [ ] Secrets manager in use (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager)
- [ ] Secrets rotation automated
- [ ] IAM roles for service-to-service auth (not static credentials)
Supply Chain & Dependencies
- [ ] Dependency scanning (Snyk, Dependabot, npm audit)
- [ ] Container image scanning (Trivy, ECR scanning)
- [ ] Pin dependency versions in production
- [ ] SBOM (Software Bill of Materials) generated for compliance
Incident Response
- [ ] Audit logs for all admin actions and data access
- [ ] Alerting on anomalous access patterns
- [ ] Incident response runbook documented
- [ ] Breach assessment and notification process matches the applicable jurisdiction, trigger, recipient and legal timeframe
- [ ] Regular penetration testing scheduled
Compliance (as applicable)
- [ ] GDPR: lawful basis, transparency, rights, retention and lawful transfer safeguards where applicable
- [ ] PCI-DSS: establish card-data scope and current storage, masking, encryption and sensitive-authentication-data restrictions
- [ ] HIPAA: if health data — encryption, audit logs, BAA with vendors
- [ ] SOC 2 Type II: access control, availability, confidentiality evidence
Example
User request:
> Review this Monopoly implementation against its security checklist and report each failed control with evidence.
Limitations
- This is a reference document and may not cover all edge cases. Always verify architectures before production.
This checklist is not certification, legal advice or permission to apply controls. Verify current primary standards and actual architecture before marking compliance; a WAF, ORM, token or encrypted database does not prove the corresponding control. Do not force every cloud product onto a smaller system. Link each finding to exact revision, reachable risk and observed evidence.
Skill liên quan
- security-compliance-compliance-check – Bạn là chuyên gia tuân thủ, am hiểu các yêu cầu pháp lý cho hệ thống phần mềm như GDPR…
- security-requirement-extraction – Suy ra yêu cầu bảo mật từ mô hình mối đe dọa và bối cảnh kinh doanh. Dùng khi chuyển mối…
- security-scanning-security-dependencies – Bạn là chuyên gia bảo mật, chuyên phân tích lỗ hổng dependency, tạo SBOM và bảo mật…
- security-scanning-security-hardening – Điều phối quét bảo mật và tăng cường bảo mật nhiều lớp trên ứng dụng, hạ tầng và các…
- security-scanning-security-sast – Kiểm thử bảo mật tĩnh (SAST) để phân tích lỗ hổng trong mã nguồn trên nhiều ngôn ngữ và…
- semgrep-rule-creator – Tạo rule Semgrep tùy chỉnh để phát hiện lỗ hổng bảo mật, lỗi và mẫu code. Dùng khi viết…
- sharp-edges – Rà soát các API bảo mật dễ bị dùng sai, cấu hình mặc định, giao diện mật mã và trải…
- skill-audit – Khung rà soát trước khi cài đặt cho các skill của AI agent: kiểm tra toàn bộ nội dung…