Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gendigitalinc/sage --skill security-awarenessgit clone --depth 1 https://github.com/gendigitalinc/sageWrote 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/gendigitalinc/sage/security-awareness)<a href="https://agentmods.dev/skills/gendigitalinc/sage/security-awareness"><img src="https://agentmods.dev/badge/skills/gendigitalinc/sage/security-awareness/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/gendigitalinc/sage/security-awareness"><img src="https://agentmods.dev/badge/skills/gendigitalinc/sage/security-awareness.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.00039 | $0.00890 |
| Opus 5 | $0.00019 | $0.00445 |
| Sonnet 5 | $0.00008 | $0.00178 |
| Haiku 4.5 | $0.00004 | $0.00089 |
Grade C, and why
security-awareness scanned grade C with 4 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 11d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Avoid `chmod 777` — use the minimum permissions needed. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- **Never pipe untrusted content to a shell** (`curl | bash`, `wget | sh`). Always download first, inspect, then execute. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Destructive commands like `rm -rf /`, `mkfs`, `dd if=`, and `shred` can cause irreversible data loss. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Never pipe untrusted content to a shell** (`curl | bash`, `wget | sh`). Always download first, inspect, then execute. How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Awareness
You are working in an environment protected by Sage, a security plugin. Be mindful of these security considerations when executing commands and fetching URLs.
Remote Code Execution
- Never pipe untrusted content to a shell (
curl | bash,wget | sh). Always download first, inspect, then execute. - Avoid
eval()on untrusted input in any language. - Be cautious with
sourceor.commands on remote scripts.
Malware Distribution Vectors
- Executables downloaded from the internet (
.exe,.msi,.bat,.ps1,.scr) should be treated as potentially malicious. - Raw paste sites (pastebin.com/raw, paste.ee/r) are commonly used to host payloads and C2 commands.
- Direct IP address URLs (e.g.,
http://192.168.1.1/payload) may indicate C2 infrastructure.
Command Injection Patterns
- Watch for reverse shell patterns:
/dev/tcp/,nc -e,bash -i >& /dev/. - Destructive commands like
rm -rf /,mkfs,dd if=, andshredcan cause irreversible data loss. - Be wary of download-and-execute chains:
curl ... && chmod +x && ./.
Supply Chain Security
- Verify package names carefully — typosquatting is common (e.g.,
colouramavscolorama). - Check package popularity and maintenance status before installing.
- Prefer pinned versions over latest/wildcard versions.
- Review post-install scripts when possible.
Credential Handling
- Never hardcode secrets, API keys, or passwords in source code.
- Use environment variables or secret managers for sensitive values.
- Never commit
.envfiles, credentials, or private keys to version control. - Be cautious with commands that read or transmit sensitive files (
/etc/passwd,.ssh/,id_rsa).
Safe URL Handling
- Prefer HTTPS over HTTP for all external requests.
- Validate URLs before fetching — check the domain is expected.
- Be cautious with URL redirects that might lead to malicious destinations.
- Don't fetch URLs from untrusted sources without verification.
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.
- 11d ago First seen · 75 lines · 39 tokens per session scan C 726e76296b26
security-awareness is a skill published in the GitHub repository gendigitalinc/sage (300 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 890 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 4 findings (asks for root, downloads and executes remote code, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sanity-best-practices
Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this…
OCR Review-to-Approval Loop
Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…
content-modeling-best-practices
Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other headless CMSes. Use this skill when designing or refactoring content types, deciding field shapes, debating reusable versus…
seo-aeo-best-practices
SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and content optimized for search engines and AI answer surfaces. Use this skill when implementing page SEO, technical SEO, schema markup, international SEO, AI-overview readiness, or improving content…
debug
Evidence-before-action diagnosis of failing ML experiments. Probes the system before guessing causes, process list, dmesg, GPU stats, log scrollback, checkpoint state, then states a hypothesis as a hypothesis and runs a smoke before claiming a root cause. Use when the user asks why a run is failing, diverging, OOMing…
paper-writing
Use when the user wants to write, structure, or revise academic paper sections, improve notation consistency, or refine figures and tables. Triggers on phrases like "write the abstract", "structure the methods", "improve this section", "notation consistency", "figure refinement", or "paper structure".