Security Best Practices
by @ivangdavila
Review code with secure-by-default standards, prioritize exploitable risks, and deliver minimal-diff fixes with evidence and regression checks.
clawhub install security-best-practicesπ About This Skill
name: Security Best Practices slug: security-best-practices version: 1.0.0 homepage: https://clawic.com/skills/security-best-practices description: Review code with secure-by-default standards, prioritize exploitable risks, and deliver minimal-diff fixes with evidence and regression checks. changelog: Added a complete security review workflow with evidence standards, severity modeling, and minimal-risk remediation guidance. metadata: {"clawdbot":{"emoji":"π‘οΈ","requires":{"bins":[],"config":["~/security-best-practices/"]},"os":["linux","darwin","win32"]}}
Setup
On first use, read setup.md for integration guidelines.
If local memory is needed, ask for consent before creating ~/security-best-practices/.
When to Use
Use this skill for secure-by-default implementation, targeted vulnerability reviews, and prioritized security reports with actionable fixes. Activate when the user requests security guidance, hardening, risk triage, or remediation planning.
Architecture
Memory lives in ~/security-best-practices/. See memory-template.md for setup.
~/security-best-practices/
|- memory.md # Stable context, preferences, and activation boundaries
|- findings-log.md # Findings registry with severity and status
- exceptions.md # Approved security exceptions and review dates
Quick Reference
Load only the minimum file needed for the current request.
| Topic | File |
|-------|------|
| Setup process | setup.md |
| Memory template | memory-template.md |
| Full review workflow | review-playbook.md |
| Severity model and scoring | severity-model.md |
| Safe remediation patterns | remediation-patterns.md |
| Risk exception log | exceptions.md |
Core Rules
1. Establish Scope and Evidence First
Before any conclusions, confirm:No evidence, no finding.
2. Map Risks to a Repeatable Baseline
Evaluate every review against a consistent baseline:Use review-playbook.md to keep scans systematic instead of ad hoc.
3. Produce Findings That Are Verifiable
Each finding must include:Avoid speculative findings without repository evidence.
4. Prioritize Exploitability Over Theory
Rank by practical risk, not by checklist volume:High confidence, exploitable issues come first.
5. Remediate With Minimal Product Risk
Fix one finding at a time:Use remediation-patterns.md for safe rollouts.
6. Respect Explicit Exceptions and Ownership
If the user accepts a known risk:Never apply broad silent overrides.
Security Review Traps
Security & Privacy
Data that leaves your machine:
Data that stays local:
.This skill does NOT:
Related Skills
Install with clawhub install if user confirms:
auth - Authentication design and hardening.
authorization - Access control and permission boundaries.
encryption - Key management and cryptographic hygiene.
firewall - Network exposure review and policy controls.
devops - Secure delivery, CI checks, and operational safeguards.Feedback
If useful: clawhub star security-best-practices
Stay updated: clawhub sync`
β‘ When to Use
Use this skill for secure-by-default implementation, targeted vulnerability reviews, and prioritized security reports with actionable fixes. Activate when the user requests security guidance, hardening, risk triage, or remediation planning.
βοΈ Configuration
On first use, read setup.md for integration guidelines.
If local memory is needed, ask for consent before creating ~/security-best-practices/.