encryption — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited encryption (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are in AUTONOMOUS MODE. Do NOT ask questions. Audit current encryption state, then implement improvements.
TARGET: $ARGUMENTS
If no arguments provided, perform a full encryption audit and generate an implementation plan. If arguments specify an area (e.g., "password hashing", "TLS", "key rotation"), focus on that area and implement changes.
============================================================ PHASE 0: TECH STACK DETECTION ============================================================
Auto-detect the project's technology stack:
Record the stack — encryption implementation varies significantly by technology.
============================================================ PHASE 1: DATA AT REST ENCRYPTION AUDIT ============================================================
Assess current encryption of stored data:
DATABASE ENCRYPTION:
FIELD-LEVEL ENCRYPTION:
FILE ENCRYPTION:
BACKUP ENCRYPTION:
For each area: current state, gaps, and recommended implementation.
============================================================ PHASE 2: DATA IN TRANSIT ENCRYPTION AUDIT ============================================================
Assess encryption of data in motion:
TLS CONFIGURATION:
rejectUnauthorized: false, NODE_TLS_REJECT_UNAUTHORIZED=0verify=False, ssl._create_unverified_context()InsecureSkipVerify: truews://) connectionsSECURITY HEADERS:
Strict-Transport-Security (HSTS) — present, max-age >= 31536000, includeSubDomainsContent-Security-Policy — restricts resource loadingX-Content-Type-Options: nosniffX-Frame-Options: DENY or SAMEORIGINReferrer-Policy: strict-origin-when-cross-origin or stricterCERTIFICATE PINNING (mobile apps):
NSAppTransportSecurity settings in Info.plistnetwork_security_config.xmlINTERNAL COMMUNICATION:
============================================================ PHASE 3: KEY MANAGEMENT AUDIT AND IMPLEMENTATION ============================================================
Assess and improve cryptographic key management:
CURRENT STATE AUDIT:
KEY ROTATION STRATEGY: Generate a key rotation plan based on the detected stack:
For AWS:
- Use AWS KMS for master keys
- Implement envelope encryption: KMS key → data key → encrypt data
- Enable automatic annual rotation for KMS keys
- Data keys rotated per-session or per-recordFor GCP:
- Use Cloud KMS for master keys
- Enable automatic rotation (90-day recommended)
- Use envelope encryption pattern
- Separate key rings per environmentFor self-hosted / Vault:
- Use HashiCorp Vault Transit secrets engine
- Configure auto-rotation policies
- Implement key versioning for re-encryption
- Set up audit logging for key accessENVELOPE ENCRYPTION IMPLEMENTATION: If the project needs field-level encryption, implement the envelope encryption pattern:
Provide implementation code specific to the detected stack.
============================================================ PHASE 4: PASSWORD HASHING AUDIT ============================================================
Assess password storage security:
ALGORITHM CHECK:
CONFIGURATION CHECK:
SALT CHECK:
MIGRATION PLAN: If the current algorithm is weak, generate a migration plan:
============================================================ PHASE 5: TOKEN AND API KEY SECURITY ============================================================
Assess token generation and API key management:
TOKEN GENERATION:
crypto.randomBytes(32) or equivalent CSPRNGMath.random() for security-sensitive tokensAPI KEY MANAGEMENT:
REFRESH TOKEN SECURITY:
============================================================ PHASE 6: IMPLEMENTATION ============================================================
If the $ARGUMENTS request implementation (not just audit), apply fixes:
For each issue found in Phases 1-5:
Priority order for implementation:
============================================================ SELF-HEALING VALIDATION (max 2 iterations) ============================================================
After producing the security analysis, validate thoroughness:
IF VALIDATION FAILS:
============================================================ OUTPUT ============================================================
Project: [name] Stack: [detected technologies] Date: [date]
| Area | Status | Findings |
|---|---|---|
| Data at Rest | [GOOD/PARTIAL/WEAK/NONE] | N issues |
| Data in Transit | [GOOD/PARTIAL/WEAK/NONE] | N issues |
| Key Management | [GOOD/PARTIAL/WEAK/NONE] | N issues |
| Password Hashing | [GOOD/PARTIAL/WEAK/NONE] | N issues |
| Token Security | [GOOD/PARTIAL/WEAK/NONE] | N issues |
| API Key Security | [GOOD/PARTIAL/WEAK/NONE] | N issues |
[Hardcoded secrets, plaintext passwords, disabled TLS, etc.]
[Ordered list by priority with implementation guidance]
| Priority | Area | Action | Effort | Dependencies |
|---|---|---|---|---|
| P0 | Secrets | Move to env vars | 1 hour | None |
| P1 | Passwords | Upgrade to argon2 | 4 hours | Migration script |
| P2 | PII | Field-level encryption | 1 day | KMS setup |
[List of commits with descriptions of what was implemented]
============================================================ NEXT STEPS ============================================================
After reviewing the encryption audit:
/secure to verify overall security posture after encryption improvements."/soc2 to check Confidentiality (C1) controls with new encryption."/gdpr to verify PII encryption meets compliance requirements."/pentest to verify secrets are no longer exposed."============================================================ SELF-EVOLUTION TELEMETRY ============================================================
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /encryption — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
============================================================ DO NOT ============================================================
Math.random() or non-cryptographic PRNGs.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.