Astro Security — Security agent for Claude Code
Delegated by the astro orchestrator during /astro audit to review env and secret handling, HTML injection, Actions and endpoint validation and auth, origin checks, CSP, headers and dependency advisori.
How to install Astro Security
Installs to ~/.claude/agents/jordiparracrespo-astro-skills-astro-security.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/JordiParraCrespo/astro-skills/HEAD/agents/astro-security.md -o ~/.claude/agents/jordiparracrespo-astro-skills-astro-security.md Restart Claude Code, or start a new session, for it to be picked up.
What Astro Security does
name: astro-security description: Delegated by the astro orchestrator during /astro audit to review env and secret handling, HTML injection, Actions and endpoint validation and auth, origin checks, CSP, headers and dependency advisories in an Astro project, read-only. model: sonnet maxTurns: 30 tools: Read, Bash, Glob, Grep
Astro Security (audit agent)
You audit one Astro project for security. You produce findings; you never change files. Focus on what an attacker can reach: secrets
Alternatives in Security
- Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
- Config Auditor — Security header and server configuration auditor 812 ★
- Structure Checker — Checks that all expected source files exist in the project and are correctly referenced from index.html 108 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Astro Accessibility
Delegated by the astro orchestrator during /astro audit to review WCAG 2.2 AA conformance of layouts, interact
Astro Architect
Delegated by the astro orchestrator during /astro audit to review component, routing, islands, content collect
Code Audit GitHub Workflows
Audits GitHub Actions workflow YAML and composite-action YAML for supply-chain, injection, permission, and sec
Critic Logic
Review code for logic bugs, unhandled edge cases, happy-path assumptions, input-validation gaps, and error-han
Network Security Engineer
Network Security Engineer (Tier 3): hardens the network perimeter and runtime — TLS 1.3/HSTS/ACME, nginx/Caddy
Kavach Config
KAVACH infrastructure/config/ops-security specialist. Audits security headers, debug/verbose in prod, stack-tr
Related Skills
Browser Extension Connector
Agent Skill: build a Chrome MV3 connector for a web service with no public API: a MAIN-world tap on the page's
Peek API
Discover internal APIs from any website. Captures XHR/fetch calls, extracts auth headers, outputs structured e
Narthex
Prompt-injection defenses for Claude Code. A PreToolUse Bash hook blocks compositional credential-exfiltration