security-baseline
Install secure-development basics for non-toy repos. Use when a repo needs secret scanning, dependency vulnerability checks, auth/session conventions, input validation guidance, safe environment varia
SKILL.mdskills/security-baseline/SKILL.md
GitHubSecurity Baseline
Purpose
Add a pragmatic security floor that agents can follow and validate.
Inspect First
- env files,
.gitignore, auth/session code, input boundaries, dependency manifests, CI, deployment docs, and existing security docs
Procedure
Protect secrets.
- Ensure real
.envfiles are ignored. - Keep
.env.examplecomplete and non-secret. - Add secret scanning guidance or scripts.
- Ensure real
Define secure coding conventions.
- Auth/session helpers.
- Input validation at boundaries.
- Error handling that avoids leaking secrets.
Add checks.
- Create target repo
scripts/security-checkwhere useful. - Use
scripts/security_baseline_check.pyfor lightweight baseline inspection. - Coordinate dependency vulnerability checks with
dependency-governance.
- Create target repo
Document review.
docs/security/baseline.mddocs/security/review-checklist.md
Validation
- Run
./scripts/security-checkwhen present. - Confirm
.env.examplehas no real secrets. - Confirm
.gitignoreprotects local env files.
Completion Criteria
- Security expectations are documented, checkable, and visible in review.