spectra-audit

Analyze git diffs for security vulnerabilities and misuse-prone patterns.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/zooroy/appt-system --skill spectra-audit-zooroy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spectra-audit
Source: https://github.com/zooroy/appt-system/tree/main/.agents/skills/spectra-audit
Command: npx skills add https://github.com/zooroy/appt-system --skill spectra-audit-zooroy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spectra-Audit helps teams identify and correct security sharp edges introduced in a code change by analyzing the current git diff for insecure patterns, dangerous defaults, and misuse-prone interfaces.

Core Features & Use Cases

  • Three-adversary security diff review: Runs a parallel analysis focused on malicious configuration risks, unsafe copy-paste defaults, and confused parameter/API usage.
  • Two operating modes: Provides a full standalone workflow for diffs and a condensed checklist for continuous implementation guardrails via apply mode.
  • Actionable fixing and severity: Consolidates findings, classifies severity (Critical/High/Medium/Low), and applies fixes when feasible or skips likely false positives.

Quick Start

Run the audit as a standalone command to analyze the current git diff for security foot-guns and propose fixes with severity classification.

Frequently Asked Questions about spectra-audit

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

FAQPage Schema
How do I review a git diff for security vulnerabilities and dangerous defaults?

A git diff security audit analyzes configuration, defaults, and interface semantics through adversarial lenses to identify insecure patterns, unsafe copy-paste defaults, and confused API usage in security-critical logic like authentication and crypto configuration.

What are misuse-resistant interfaces in secure code review?

Misuse-resistant interfaces prevent dangerous defaults and confused parameter usage in security-critical logic. You need misuse resistance analysis when modifying authentication, validation, or cryptography configuration to catch insecure patterns introduced during code changes.

Can I run an automated security audit continuously during implementation?

You can run a security audit continuously during implementation using a condensed checklist mode. This provides continuous implementation guardrails alongside the full standalone diff workflow, classifying finding severity and proposing fixes for insecure patterns.

Does a security diff review classify vulnerability severity and propose fixes?

A security diff review consolidates findings, classifies vulnerability severity as Critical, High, Medium, or Low, and proposes actionable fixes. It skips likely false positives to focus on real security foot-guns introduced in the code change.

What is the best way to find insecure crypto configuration in a pull request?

The best way to find insecure crypto configuration in a pull request is analyzing the diff with an adversarial approach focused on malicious configuration risks, unsafe defaults, and confused API usage, consolidating vulnerabilities into classified severity findings.

When should I not use an adversarial security diff analysis?

Adversarial security diff analysis is not suited for non-code changes or when modifying non-security-critical logic. It targets insecure configuration, dangerous defaults, and misuse-prone interfaces, skipping likely false positives outside authentication, validation, and crypto configuration scopes.