security-awareness

security-awareness is a skill for Claude Code from gendigitalinc/sage. It costs 39 tokens per session (890 once invoked), scanned C, original, Apache-2.0.

Security guidance for coding agents covering command execution, web addresses, credentials, downloaded files, and software supply-chain risks.

In plain words
What is it for?
Use it when running commands, fetching URLs, managing credentials, downloading files, or reviewing package names.
Why use it?
It helps prevent command injection, malware execution, accidental data loss, and unsafe handling of untrusted content.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code; built for openclaw; mentions OpenCode.

Part of the sage plugin — 1 skill, 1 hook shipped together

Good fit Use it when running commands, fetching URLs, managing credentials, downloading files, or reviewing package names.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gendigitalinc/sage/security-awareness
Install

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.

Any agent
npx skills add gendigitalinc/sage --skill security-awareness
Clone the repo
git clone --depth 1 https://github.com/gendigitalinc/sage

Made for: Claude Code.

Or install sage, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

Wrote 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.

agentmods badge for security-awareness

README.md
[![agentmods](https://agentmods.dev/badge/skills/gendigitalinc/sage/security-awareness/github.svg)](https://agentmods.dev/skills/gendigitalinc/sage/security-awareness)
Your own site
<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.

agentmods 80×15 button for security-awareness

Your own site · 80×15
<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>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 890 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 4 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash 726e76296b26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.
skills/security-awareness/SKILL.md · 75 lines

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 source or . 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=, and shred can 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., colourama vs colorama).
  • 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 .env files, 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.

Read the full file on GitHub · 75 lines

Changes

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.

  1. 11d ago First seen · 75 lines · 39 tokens per session scan C 726e76296b26

Subscribe to this mod's changes

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.

Related

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…

sanity-io/agent-toolkit · 164 tokens

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…

spencermarx/open-code-review · 178 tokens

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…

sanity-io/agent-toolkit · 84 tokens

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…

sanity-io/agent-toolkit · 90 tokens

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…

fcakyon/phd-skills · 97 tokens

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".

fcakyon/phd-skills · 63 tokens