Security gate

From jmagly/aiwg · View interactive version

Security gate is an AI agent skill from the GitHub repository jmagly/aiwg. Enforce minimum security criteria before iteration close or release

How to use this skill

Skill file

Security Gate (SDLC)

Criteria

Output

Rolling audit log

.aiwg/security/audit.md is the single append-only rollup of security activity in this project. Humans read it first; downstream agents continue to consume the structured per-area artifacts. Both views are maintained.

After running the gate, append a block in this exact format (create .aiwg/security/audit.md if it does not exist; create the .aiwg/security/ directory if missing):

---

## [YYYY-MM-DD HH:MM] security-gate — <gate name or scope>

**Source:** security-gate
**Scope:** <artifact path or release identifier under review>
**Verdict:** <pass | fail | conditional>

### Findings rolled up

- **[severity] location** — description. Confirmation quote: `<source snippet>`. Remediation: <action>.
- ...

### References

- Structured artifact: `security-gate-report.md`
- Related: <issue or commit reference if applicable>

The same schema is used by security-auditor for its findings. Do not rewrite or truncate prior entries — append only.

After appending, log an audit entry to .aiwg/activity.log per the activity-log rule.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.