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.
curl -O https://raw.githubusercontent.com/satanyakiv/NutriSport/main/.claude/agents/security-kotlin.mdgit clone --depth 1 https://github.com/satanyakiv/NutriSportWrote 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/agents/satanyakiv/nutrisport/security-kotlin)<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.
<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>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.00000 | $0.02908 |
| Opus 5 | $0.00000 | $0.01454 |
| Sonnet 5 | $0.00000 | $0.00582 |
| Haiku 4.5 | $0.00000 | $0.00291 |
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.
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
- Analysis — code scanning by category (read-only)
- Report — list of findings with severity, OWASP mapping, recommendations
- 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 inConstants.kt.gitignore— whethergoogle-services.json,GoogleService-Info.plist,*.keystore,local.propertiesare listedandroidApp/— release signing config (keystore passwords inbuild.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 CVEsgradle/verification-metadata.xml— whether dependency verification existsbuild-logic/— convention plugins without pinned versionsgradle/wrapper/gradle-wrapper.properties— whetherdistributionSha256Sumis 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)
CustomerRepository—readCustomerFlow()withoutcurrentUsercheck- ViewModels — whether
AppError.Unauthorizedis handled
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.
- 8d ago First seen · 375 lines · 0 tokens per session scan A ebd6eb3add6a
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.
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…
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.…
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…
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…
SwiftUI Screen Builder
Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.
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…