NutriSport: Command for Claude Code

.claude/commands/security-audit.md

security-audit is a command for Claude Code from satanyakiv/NutriSport. It costs 0 tokens per session (225 once invoked), scanned A, original, MIT.

A report-only security review for a Kotlin mobile project based on the OWASP Mobile Top 10, a list of common mobile security risks. It scans the project and groups findings by severity.

In plain words
What is it for?
Use it to audit the whole app or focus on one OWASP category, such as secrets, then receive findings and suggested patches as diffs.
Why use it?
It helps identify security weaknesses and possible exposed secrets without changing the code.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

This is satanyakiv/NutriSport's own configuration. It tells Claude Code how to work on NutriSport itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything NutriSport configures →

Reuse

Borrowing it

Nothing to install: this file belongs to satanyakiv/NutriSport. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/satanyakiv/NutriSport/main/.claude/commands/security-audit.md
Clone the repo
git clone --depth 1 https://github.com/satanyakiv/NutriSport

Made for: Claude Code.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/satanyakiv/nutrisport/security-audit.svg)](https://agentmods.dev/commands/satanyakiv/nutrisport/security-audit)
Your own site
<a href="https://agentmods.dev/commands/satanyakiv/nutrisport/security-audit"><img src="https://agentmods.dev/badge/commands/satanyakiv/nutrisport/security-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 225 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.00225
Opus 5 $0.00000 $0.00112
Sonnet 5 $0.00000 $0.00045
Haiku 4.5 $0.00000 $0.00022

Measured 7d ago against content hash 35472b036958, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

security-audit 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 7d 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.

.claude/commands/security-audit.md · 20 lines

What it actually says

Read .claude/agents/security-kotlin.md

OWASP Mobile Security Audit

$ARGUMENTS

Launch the security-kotlin agent to perform a full OWASP Mobile Top-10 security audit of the NutriSport project.

Use the Agent tool with subagent_type="general-purpose" to spawn the security audit agent. Pass the full contents of .claude/agents/security-kotlin.md as instructions.

The agent must:

  1. Follow all 11 steps from the audit process in security-kotlin.md
  2. Scan all modules: domain, network, database, shared/utils, shared/ui, feature/*, androidApp, analytics
  3. Produce a structured severity report (Critical → Info) with OWASP mapping
  4. Mask any real secret values in the output (show only first 4 chars + ...XXXX)
  5. Never modify files — report only, patches as diffs in the report

If $ARGUMENTS specifies a category (e.g., "M1", "M3", "secrets"), limit the audit to that category only.

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. 7d ago First seen · 20 lines · 0 tokens per session scan A 35472b036958

Subscribe to this mod's changes

security-audit is a command published in the GitHub repository satanyakiv/NutriSport (11 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 225 tokens. 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-30.