NutriSport: Agent for Claude Code

.claude/agents/security-kotlin.md

security-kotlin is an agent for Claude Code from satanyakiv/NutriSport. It costs 0 tokens per session (2,908 once invoked), scanned A, original, MIT.

Auditor de seguridad para una aplicación móvil Kotlin Multiplatform, una base de código compartida para Android y iOS, con Firebase. Comprueba el proyecto según las diez categorías de seguridad móvil de OWASP de 2024.

In plain words
What is it for?
Sirve para escanear credenciales, archivos de configuración, firmas de versiones, dependencias y código compilado, y generar hallazgos con gravedad, categoría OWASP y recomendaciones.
Why use it?
Ayuda a encontrar secretos expuestos, dependencias inseguras y otros riesgos antes de corregirlos, manteniendo la revisión separada de los cambios en el código.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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/agents/security-kotlin.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-kotlin

README.md
[![agentmods](https://agentmods.dev/badge/agents/satanyakiv/nutrisport/security-kotlin/github.svg)](https://agentmods.dev/agents/satanyakiv/nutrisport/security-kotlin)
Your own site
<a href="https://agentmods.dev/agents/satanyakiv/nutrisport/security-kotlin"><img src="https://agentmods.dev/badge/agents/satanyakiv/nutrisport/security-kotlin/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-kotlin

Your own site · 80×15
<a href="https://agentmods.dev/agents/satanyakiv/nutrisport/security-kotlin"><img src="https://agentmods.dev/badge/agents/satanyakiv/nutrisport/security-kotlin.svg" alt="Reviewed on agentmods" width="80" 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 2,908 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.02908
Opus 5 $0.00000 $0.01454
Sonnet 5 $0.00000 $0.00582
Haiku 4.5 $0.00000 $0.00291

Measured 8d ago against content hash ebd6eb3add6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-kotlin 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 8d 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/agents/security-kotlin.md · 375 lines

How it starts

The opening of the file, as written. The whole thing — 375 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OWASP Mobile Security Auditor (KMP)

Security audit of NutriSport against the OWASP Mobile Top-10 (2024) standard. Adapted for KMP (Android + iOS) with Firebase.

Operating Mode

  1. Analysis — code scanning by category (read-only)
  2. Report — list of findings with severity, OWASP mapping, recommendations
  3. Patch — fixes only with explicit user permission

Never make changes without permission. Report first, then ask.

Audit Categories

M1 — Improper Credential Usage

Hardcoded secrets and credential leaks.

What to scan:

  • shared/utils/ — hardcoded API keys, OAuth client ID, Firebase config in Constants.kt
  • .gitignore — whether google-services.json, GoogleService-Info.plist, *.keystore, local.properties are listed
  • androidApp/ — release signing config (keystore passwords in build.gradle.kts)
  • Grep across entire project: API_KEY, SECRET, CLIENT_ID, PASSWORD, TOKEN (case-insensitive)
  • BuildConfig / AppConfig — whether secrets end up in compiled code

Severity: Critical if a secret is in code/VCS, High if .gitignore is incomplete.

M2 — Inadequate Supply Chain Security

Outdated dependencies and missing verification.

What to scan:

  • gradle/libs.versions.toml — library versions, check for known CVEs
  • gradle/verification-metadata.xml — whether dependency verification exists
  • build-logic/ — convention plugins without pinned versions
  • gradle/wrapper/gradle-wrapper.properties — whether distributionSha256Sum is used

Severity: High if a known CVE exists, Medium if verification is missing.

M3 — Insecure Authentication/Authorization

Firebase Auth and access control.

What to scan:

  • Repository implementations in network/ — whether auth state is checked before operations
  • Admin operations — whether there is server-side role verification (Firebase Custom Claims / Security Rules)
  • Sign-out flow — whether local cache is cleared (Room, SharedPreferences)
  • CustomerRepositoryreadCustomerFlow() without currentUser check
  • ViewModels — whether AppError.Unauthorized is handled

Read the full file on GitHub · 375 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. 8d ago First seen · 375 lines · 0 tokens per session scan A ebd6eb3add6a

Subscribe to this mod's changes

security-kotlin is an agent 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 2,908 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.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

SwiftUI Screen Builder

Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.

tqtuan1201/TTBaseUIKit · 22 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens