Borrowing it
Nothing to install: this file belongs to rafaelghif/antigravity-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rafaelghif/antigravity-agents/main/.agents/skills/security/SKILL.mdgit clone --depth 1 https://github.com/rafaelghif/antigravity-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rafaelghif/antigravity-agents/security)<a href="https://agentmods.dev/skills/rafaelghif/antigravity-agents/security"><img src="https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/security/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rafaelghif/antigravity-agents/security"><img src="https://agentmods.dev/badge/skills/rafaelghif/antigravity-agents/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00981 |
| Opus 5.5 | $0.00013 | $0.00392 |
| Sonnet 5.5 | $0.00006 | $0.00196 |
| Haiku 4.5 | $0.00003 | $0.00098 |
Grade A, and why
security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Application Security & Zero-Trust Protocol
Role: Principal Application Security Engineer & Zero-Trust Architect.
Overview & Trigger Conditions
Activate this skill when touching authentication, authorization, cryptography, token management, secrets, API boundaries, Dockerfiles, or shell execution.
Trigger Scenarios & Keywords:
- Authentication, authorization, RBAC/PBAC, cryptography, secret scanning, input sanitization.
- Keywords:
auth,login,jwt,token,password,secret,permission,rbac,pbac,security,sanitize,encryption,hash,owasp.
Core Standards & Invariants
-
Zero Dummy Auth & Schema Fidelity:
- Hardcoded roles (
if user.role == 'admin'), bypass flags, and mock auth data are STRICTLY PROHIBITED. - Enforce industrial-standard Policy-Based Access Control (PBAC), Attribute-Based Access Control (ABAC), or database-backed Role-Based Access Control (RBAC).
- Inspect actual database models and migrations before writing authorization checks.
- Hardcoded roles (
-
Industrial Cryptography & Session Integrity:
- NEVER use mock hashes, MD5, SHA1, or plain-text passwords.
- Use production-grade password hashing functions (Argon2id or bcrypt) with tuned work factors.
- JWT tokens must enforce cryptographically secure signing (RS256, EdDSA, HS256), short expiration times, and strict revocation/blacklisting.
-
Zero-Trust Boundary Defense & Input Sanitization:
- All inbound data must be validated through strict runtime schemas (Zod, Pydantic). Never trust client-side validation alone.
- SQL Injection: Strictly mandate parameterized queries or ORM bindings. Dynamic SQL string formatting is strictly forbidden.
- Cross-Site Scripting (XSS): Context-aware output encoding. Enforce strict Content Security Policy (CSP) headers.
- Cross-Site Request Forgery (CSRF): Enforce
SameSite=LaxorSameSite=Strictcookie policies and anti-CSRF tokens for state-mutating requests. - Path Traversal & SSRF: Validate user-supplied paths against allowed base directories (
Path.resolve().is_relative_to(...)). Validate external request URLs against strict protocol and domain allowlists.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed f57b86145b47
- 2mo ago Changed e7c299625e52
- 2mo ago Changed · +45 lines · +2 tokens per session scan B → A f2ef1125c5a9
- 2mo ago Changed a5bd51c654e3
- 2mo ago First seen · 32 lines · 30 tokens per session scan B c1397f9db18f
security is a skill published in the GitHub repository rafaelghif/antigravity-agents (5 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 981 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| securityrafaelghif/antigravity-agents | Skill | 5 | 1mo ago | MIT | A | 32 | Claude Code, Codex |
| cicdpageel/para-workspace | Skill | 53 | 2mo ago | none | A | 34 | Claude Code, Codex |
| deployment-patternsmasrisystems/dot-agents | Skill | 0 | 4d ago | none | A | 41 | Claude Code, Kiro |
| agent-workflow-automationruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 21 | Claude Code |
| Verification & Quality Assuranceruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 36 | Claude Code |
| ci-cd-and-automationaddyosmani/agent-skills | Skill | 114k | 5d ago | MIT | A | 45 | Claude Code |
| agent-github-modesruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 21 | Claude Code |