security-baseline

Identify and score security risks in production code changes.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/askaret/codex-skills --skill security-baseline-askaret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-baseline
Source: https://github.com/askaret/codex-skills/tree/main/.agents/skills/security-baseline
Command: npx skills add https://github.com/askaret/codex-skills --skill security-baseline-askaret

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when changes touch production surfaces (auth, endpoints, data access, CI/CD, dependency changes). Produce a lightweight threat model + actionable checks. Do NOT do broad refactors.

Core Features & Use Cases

  • Lightweight threat model generation focusing on assets, actors, and key threats.
  • Verification checklist spanning AuthN/AuthZ, input handling, output handling, storage & crypto, logging & privacy, dependencies, and CI/CD security.
  • Use Case: apply to a code change in an API gateway to quickly identify potential authz bypass and data exposure risks, then produce prioritized fixes.

Quick Start

Review the changed surface, sketch a minimal threat model, and apply the verification checklist to generate actionable remediation.

Frequently Asked Questions about security-baseline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I assess security risks introduced by code changes to production surfaces?

To assess security risks from production changes, sketch a minimal threat model defining assets, actors, and threats, then apply a verification checklist covering AuthN/AuthZ, input handling, and dependencies to generate actionable remediation.

What is a lightweight threat model for API gateway changes?

A lightweight threat model for API gateway changes identifies key assets, actors, and threats like authorization bypasses and data exposure, providing a concise verification checklist to quickly prioritize and fix security risks.

How do I verify AuthN and AuthZ risks in CI/CD dependency changes?

Verify AuthN/AuthZ and CI/CD permission risks by applying a targeted verification checklist to your dependency changes, ensuring input handling, storage, crypto, and logging privacy meet security baseline requirements.

Does this security baseline require broad refactors of existing code?

No, this security baseline does not require broad refactors. It is designed to evaluate changes touching production surfaces like endpoints and data access, producing a threat model and actionable checks without altering existing architecture.

Can I use this threat model for changes to data access and storage configurations?

Yes, you can use this threat model for data access and storage configuration changes. It specifically evaluates storage and crypto risks alongside output handling and logging privacy to ensure production changes meet security baselines.

What's the best way to score security risks in web service endpoints?

The best way to score security risks in web service endpoints is to define assets and actors, identify key threats, and apply a verification checklist covering input handling and CI/CD permissions to generate prioritized fixes.