security-scan
Skill2 starsChanged 5 months agoMITView on GitHub
Scan your AntiGravity Agent configuration (.agents/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks AntiGravity.md, settings.json, MCP servers, hooks, and agent definitions.
- Reads credentials
- Installs packages
49 other projects use a version of this, 15 of them edited.
Adopted by
Most recently taken up by
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- openai/codex-securitytheir own version, first seen Oct 2, 2026
- 5throck/ai-workspace-standardstheir own version, first seen Sep 26, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use springboot-security, django-security and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FaisalAlqarniSkillspringboot-security
Spring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.
Also in 5 projects that use this
johnrtiptonSkilldjango-security
This skill should be used when conducting security reviews, auditing Django applications, hardening security settings, implementing OWASP Top 10 protections, managing secrets, or ensuring multi-tenant security isolation. Provides automated security auditor that scans settings, code, dependencies, and multi-tenant configurations with auto-fix capabilities.
Also in 5 projects that use this
JamkrisSkillsecurity-bounty-hunter
Hunt for exploitable, bounty-worthy security issues in repositories. Focuses on remotely reachable vulnerabilities that qualify for real reports instead of noisy local-only findings.
Also in 3 projects that use this
Microsoft AzureSkilliterative-retrieval
Max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation. Use when spawning sub-agents to complete scoped work.
Also in 5 projects that use this
InfopibeSkillcontinuous-agent-loop
Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.
Also in 3 projects that use this
xiaobei930Skillsearch-first
Research-before-coding workflow: systematically search existing solutions before custom implementation. Use when introducing new libraries, tools, or solving unfamiliar problems.
Also in 5 projects that use this
Other versions49 projects use a version of this.
Word for word · 0
None found.
Edited · 15
- loulanyue/awesome-claude-notes★ 27275% same
- tpavanipradeep/everything-claude-code★ 13475% same
- templetongroup/radiant★ 11373% same
- Jamkris/everything-gemini-code★ 8774% same
- jiten-singh-shahi/salesforce-claude-code★ 1714% same
- woxiangyangzhimao/skills★ 1471% same
- FaisalAlqarni/sp-ecc★ 940% same
- Infopibe/everything-claude-code★ 875% same
- jdanigo/hydraia★ 875% same
- ashutoshrathi0909-oss/everything-claude-code★ 175% same
5 more not listed
Wrote their own version · 34
- openai/codex-security★ 11ksame name
- openai/plugins★ 7.3ksame name
- xu-xiang/everything-claude-code-zh★ 2ksame name
- codewithmukesh/dotnet-claude-kit★ 750same name
- aws-samples/sample-agent-skills-for-builders★ 51same name
- drvoss/everything-copilot-cli★ 47same name
- simoncorry/foundry★ 39same name
- ProxiBlue/claude-skills★ 17same name
- 5throck/ai-workspace-standards★ 16same name
- Ray0907/security-scan★ 16same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- architecture-decision-recordsSkill
- biblioteca-de-promptsSkill
- cloning-protocolSkill
- continuous-learning-v2Skill
- converting-to-gohighlevelSkill
- docker-patternsSkill
- e2e-testingSkill
- fastapi-patternsSkill
- git-workflowSkill
- nextjs-turbopackSkill
- postgres-patternsSkill
- qa-pre-flightSkill
- react-patternsSkill
- react-performanceSkill
- security-reviewSkill
- ultimate-debuggerSkill
- verification-loopSkill
- vite-patternsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
After modifying .agents/settings.json, AntiGravity.md, or MCP configs
- Distinctive: line 16
Before committing configuration changes
- Distinctive: line 17
When onboarding to a new repository with existing AntiGravity Agent configs
- Very specific: line 49
Run against the current project's .agents/ directory:
- Distinctive: line 89
Never modify manual-only suggestions
- Distinctive: line 93
Run the adversarial three-agent pipeline for deeper analysis:
- Distinctive: line 121
Add to your CI pipeline:
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Scan Skill
Audit your AntiGravity Agent configuration for security issues using AgentShield.
When to Activate
- Setting up a new AntiGravity Agent project
- After modifying
.agents/settings.json,AntiGravity.md, or MCP configs - Before committing configuration changes
- When onboarding to a new repository with existing AntiGravity Agent configs
- Periodic security hygiene checks
What It Scans
| File | Checks |
AntiGravity.md | Hardcoded secrets, auto-run instructions, prompt injection patterns |
settings.json | Overly permissive allow lists, missing deny lists, dangerous bypass flags |
mcp.json | Risky MCP servers, hardcoded env secrets, npx supply chain risks |
hooks/ | Command injection via interpolation, data exfiltration, silent error suppression |
agents/*.md | Unrestricted tool access, prompt injection surface, missing model specs |
Prerequisites
AgentShield must be installed. Check and install if needed:
# Check if installed
npx monster-antigravity-agentshield --version
# Install globally (recommended)
npm install -g monster-antigravity-agentshield
# Or run directly via npx (no install needed)
npx monster-antigravity-agentshield scan .Usage
Basic Scan
Run against the current project's .agents/ directory:
# Scan current project
npx monster-antigravity-agentshield scan
# Scan a specific path
npx monster-antigravity-agentshield scan --path /path/to/.agents
# Scan with minimum severity filter
npx monster-antigravity-agentshield scan --min-severity mediumOutput Formats
# Terminal output (default) — colored report with grade
npx monster-antigravity-agentshield scan
# JSON — for CI/CD integration
npx monster-antigravity-agentshield scan --format json
# Markdown — for documentation
npx monster-antigravity-agentshield scan --format markdown
# HTML — self-contained dark-theme report
npx monster-antigravity-agentshield scan --format html > security-report.htmlAuto-Fix
Apply safe fixes automatically (only fixes marked as auto-fixable):
npx monster-antigravity-agentshield scan --fixThis will:
- Replace hardcoded secrets with environment variable references
- Tighten wildcard permissions to scoped alternatives
- Never modify manual-only suggestions
Opus 4.6 Deep Analysis
Run the adversarial three-agent pipeline for deeper analysis:
# Requires ANTHROPIC_API_KEY
export ANTHROPIC_API_KEY=your-key
npx monster-antigravity-agentshield scan --opus --streamThis runs:
- Attacker (Red Team) — finds attack vectors
- Defender (Blue Team) — recommends hardening
- Auditor (Final Verdict) — synthesizes both perspectives
Initialize Secure Config
Scaffold a new secure .agents/ configuration from scratch:
npx monster-antigravity-agentshield initCreates:
settings.jsonwith scoped permissions and deny listAntiGravity.mdwith security best practicesmcp.jsonplaceholder
GitHub Action
Add to your CI pipeline:
- uses: affaan-m/agentshield@v1
with:
path: '.'
min-severity: 'medium'
fail-on-findings: trueSeverity Levels
| Grade | Score | Meaning |
| A | 90-100 | Secure configuration |
| B | 75-89 | Minor issues |
| C | 60-74 | Needs attention |
| D | 40-59 | Significant risks |
| F | 0-39 | Critical vulnerabilities |
Interpreting Results
Critical Findings (fix immediately)
- Hardcoded API keys or tokens in config files
Bash(*)in the allow list (unrestricted shell access)- Command injection in hooks via
${file}interpolation - Shell-running MCP servers
High Findings (fix before production)
- Auto-run instructions in AntiGravity.md (prompt injection vector)
- Missing deny lists in permissions
- Agents with unnecessary Bash access
Medium Findings (recommended)
- Silent error suppression in hooks (
2>/dev/null,|| true) - Missing PreToolUse security hooks
npx -yauto-install in MCP server configs
Info Findings (awareness)
- Missing descriptions on MCP servers
- Prohibitive instructions correctly flagged as good practice
Links
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

