AGENT SKILL

secure-defaults-check

Use when checking that a project or change follows secure defaults before committing or deploying.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
secure-defaults-check
triggers
[ "user", "model" ]
description
Use when checking that a project or change follows secure defaults before committing or deploying.

02 资源文件 1

03 SKILL.md 正文

Secure Defaults Check

Automated checklist for secure defaults. Catches common security mistakes before they reach production.

When to use

  • Before committing code that touches secrets, endpoints, or infrastructure.
  • Before deploying to production.
  • When setting up a new project.
  • When the user asks for a security check.

Checklist

Check What to verify
.env in .gitignore Secrets are not committed.
.env.example exists Template for required env vars.
No hardcoded secrets No API keys, passwords, or tokens in code.
No public S3/URLs Storage and endpoints are not publicly accessible.
No unauthenticated endpoints All endpoints require auth or have a documented exception.
Destructive actions confirmed DELETE, DROP, TRUNCATE require explicit confirmation.
Passwords hashed No plaintext passwords; use standard hashing (bcrypt, argon2).
No custom crypto Use standard libraries, not homemade encryption.
Dependencies updated No known vulnerable dependencies.
Logs sanitized No secrets or PII in logs.

Process

Before commit/deploy
  → Run secure-defaults-check
  → If any check fails: fix or document exception
  → If all pass: proceed

Example

# Check for hardcoded secrets
grep -r "api_key\|password\|secret" --include="*.py" --include="*.ts" .

# Check .gitignore
grep -q "^\.env$" .gitignore || echo "FAIL: .env not in .gitignore"

# Check for public S3 URLs
grep -r "s3\.amazonaws\.com" --include="*.py" --include="*.ts" .

Anti-patterns

  • Committing .env or secrets.
  • Creating public endpoints without auth.
  • Using custom crypto or plaintext passwords.
  • Skipping confirmation for destructive actions.
  • Logging secrets or PII.

Cross-skills

  • security-audit - deeper review after this check passes.
  • verification-before-completion - use as final gate before claiming done.
  • project-setup - includes this check in new project scaffolding.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0