studio-security-auth

studio-security-auth is a skill for Claude Code, Codex from mdrideout/junjo. It costs 38 tokens per session (549 once invoked), scanned A, original, Apache-2.0.

A workflow for reviewing or changing authentication boundaries in Junjo AI Studio. Authentication is how software verifies who is allowed to access it, including API keys, session cookies, and service-to-service checks.

In plain words
What is it for?
Use it when working on API-key validation, CORS, session cookies, internal authentication over gRPC, secret handling, or security reviews of this code.
Why use it?
It helps identify security mistakes involving credentials, browser access rules, cookie handling, middleware order, or communication between Studio services.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/mdrideout/junjo/studio-security-auth
Any agent
npx skills add mdrideout/junjo --skill studio-security-auth
Clone the repo
git clone --depth 1 https://github.com/mdrideout/junjo

Made for: Claude Code, Codex.

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 studio-security-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/mdrideout/junjo/studio-security-auth.svg)](https://agentmods.dev/skills/mdrideout/junjo/studio-security-auth)
Your own site
<a href="https://agentmods.dev/skills/mdrideout/junjo/studio-security-auth"><img src="https://agentmods.dev/badge/skills/mdrideout/junjo/studio-security-auth.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00549
Opus 5 $0.00019 $0.00275
Sonnet 5 $0.00008 $0.00110
Haiku 4.5 $0.00004 $0.00055

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

Security

Grade A, and why

studio-security-auth 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 3d 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.

.agents/skills/studio-security-auth/SKILL.md · 63 lines

How it starts

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

Studio Security Auth

Use This Skill When

  • The task changes or reviews API-key validation.
  • The task changes or reviews session cookies, CORS, domain requirements, or authentication middleware ordering.
  • The task changes or reviews internal authentication gRPC between the backend and ingestion.
  • The user asks for a security review of authentication-sensitive code.

Do Not Use This Skill When

  • The task is ordinary subsystem work with no authentication or security impact.
  • The task merely lives near authentication code without changing the trust boundary.

Surface To Inspect

  • apps/studio/backend/app/main.py
  • apps/studio/backend/app/config/settings.py
  • apps/studio/backend/app/features/auth/
  • apps/studio/backend/app/features/internal_auth/
  • apps/studio/ingestion/src/server/auth.rs
  • apps/studio/ingestion/src/backend/client.rs
  • apps/studio/proto/auth.proto
  • tooling/scripts/provision_local_studio.py
  • tooling/scripts/validate_agent_studio_e2e.py

Workflow

  1. Read apps/studio/AGENTS.md. There is no dedicated authentication ADR, so start from current code and tests.
  2. Trace the full trust boundary: caller, credential transport, cache or middleware, backend validation, and failure mode.
  3. Verify fail-closed behavior where it matters.
  4. Prefer concrete threat-model checks over generic security filler.
  5. Inspect active settings and middleware when deployment rules matter.
  6. Pair with studio-backend-python or studio-ingestion-flow when the change crosses those subsystem boundaries.
  7. Local E2E users are explicit setup-API actions, never runtime or migration seeds. apps/studio/TESTING.md owns reset and validation procedures.
  8. For repository-local stack setup, persistent development credentials, or example environment preparation, use junjo-local-development and its owning runbook.

Validation

  • Run the smallest relevant backend or integration tests.
  • Prioritize apps/studio/backend/tests/security/, apps/studio/backend/tests/test_production_settings.py, and apps/studio/backend/app/features/internal_auth/test_*.py.
  • Validate both backend and ingestion when behavior crosses that boundary.

Read the full file on GitHub · 63 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. 3d ago First seen · 63 lines · 38 tokens per session scan A c3941ebe9921

Subscribe to this mod's changes

studio-security-auth is a skill published in the GitHub repository mdrideout/junjo (20 stars, last pushed 4d ago), licensed Apache-2.0. It adds 38 tokens to every session and 549 once invoked, about $0.0002 per session on Opus 5. 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 skills, from other repositories

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

sickn33/agentic-awesome-skills · 24 tokens

dagr-producer

Emit and maintain a dagr run file — a live, contract-valid JSON description of recursive projects, tasks, attempts, gates, evidence, policies, events, and operator-message resolutions that dagr view renders as a DAG. Use when orchestrating agents or tracking multi-step work that a dagr pane should display.

aemrebarut/herdr-dagr · 70 tokens

diataxis-docs-writer

Write or improve software documentation using the Diátaxis framework — four documentation types (tutorials, how-to guides, reference, explanation), each serving a different user need. Use it whenever you're about to write or revise documentation for a finished feature, implementation, API, library, CLI, service, or…

calf-ai/calfkit-sdk · 218 tokens

opensource-guide-coach

Use when a user wants guidance on starting, contributing to, growing, governing, funding, securing, or sustaining an open source project, or asks about contributor onboarding, community health, maintainer burnout, code of conduct, metrics, legal basics, or open source project adoption.

calf-ai/calfkit-sdk · 60 tokens

pytest-coverage

Run pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.

calf-ai/calfkit-sdk · 22 tokens

nika-authoring

Author, check and repair Nika workflows (.nika.yaml files — the workflow language for AI). Use when writing or editing a .nika.yaml file, converting a repeated AI task or prompt chain into a workflow, or when nika check reports NIKA-XXXX findings to fix.

supernovae-st/nika · 60 tokens