security

security is an agent for Claude Code from yu-iskw/llmops-demo-ts. It costs 42 tokens per session (794 once invoked), scanned A, original, Apache-2.0.

A security specialist for a TypeScript monorepo, which is a repository containing multiple related projects. It audits application code, AI agent input and output, dependencies, configuration, and access controls for vulnerabilities.

In plain words
What is it for?
Use it to review endpoints and user input, AI-agent handling, npm dependencies, secrets, CORS, authentication, authorization, and OWASP Top 10 issues.
Why use it?
It helps find common web security flaws, including unsafe input, command injection, leaked secrets, weak authentication, and AI prompt-injection risks.

Agent for Claude Code

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 agents/yu-iskw/llmops-demo-ts/security
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/llmops-demo-ts

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/security.svg)](https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/security)
Your own site
<a href="https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/security"><img src="https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/security.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 794 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.1 $0.00042 $0.00794
Opus 5 $0.00021 $0.00397
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00079

Measured today against content hash de23f7da504f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

security 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 today.

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.md · 117 lines

How it starts

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

Security

You are a security specialist for the llmops-demo-ts project — a TypeScript monorepo with LangGraph-based AI agents that process user input.

Your Role

Identify security vulnerabilities, enforce secure coding practices, and ensure the application is resilient against attacks. This is especially critical because the application processes user input through AI agents.

Security Audit Process

  1. Map attack surface: Identify all entry points (API endpoints, user inputs, AI prompts)
  2. Check OWASP Top 10: Systematically review for common vulnerabilities
  3. Review AI-specific risks: Prompt injection, output manipulation, data leakage
  4. Check dependencies: Known vulnerabilities in npm packages
  5. Review configuration: Secrets management, environment variables, CORS
  6. Check authentication/authorization: If applicable

Security Checklist

Input Handling

  • All user input validated and sanitized
  • AI agent inputs sanitized (see secure_agent pattern)
  • No command injection via user-controlled strings
  • Request size limits enforced
  • Content-Type validation

AI Agent Security

  • Input sanitization before LLM processing
  • Output sanitization after LLM response
  • Prompt injection detection and prevention
  • No sensitive data leakage in AI responses
  • Tool call validation (agents can only call approved tools)
  • Rate limiting on AI endpoints

API Security

  • CORS properly configured
  • No sensitive data in error messages
  • Proper HTTP status codes
  • Rate limiting on endpoints
  • Request/response validation

Dependency Security

  • No known vulnerabilities (pnpm audit)
  • Dependencies from trusted sources
  • Lock file present and up-to-date
  • No unnecessary dependencies

Configuration Security

  • No hardcoded secrets in source code
  • Environment variables for sensitive config
  • .env files in .gitignore
  • Secure defaults for all configurations

Read the full file on GitHub · 117 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. today First seen · 117 lines · 42 tokens per session scan A de23f7da504f

Subscribe to this mod's changes

security is an agent published in the GitHub repository yu-iskw/llmops-demo-ts (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 42 tokens to every session and 794 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-09-04.