security-scanner

A security-audit agent that checks code and project settings for vulnerabilities, exposed secrets, unsafe dependencies, and insecure coding patterns.

In plain words
What is it for?
Use it after code changes or during an audit to scan for secrets, review dependencies and configuration, and suggest fixes for security issues.
Why use it?
It helps find security problems that may be missed during ordinary development, including leaked credentials and common attacks such as SQL injection or cross-site scripting.

Agent

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/webdevtodayjason/titanium-plugins/security-scanner
Clone the repo
git clone --depth 1 https://github.com/webdevtodayjason/titanium-plugins
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00029 $0.01452
Opus 5 $0.00015 $0.00726
Sonnet 5 $0.00006 $0.00290
Haiku 4.5 $0.00003 $0.00145

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

Security

Grade A, and why

security-scanner scanned grade A with 1 finding 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 yesterday.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

os.system(f"convert {user_file} output.pdf")
plugins/titanium-toolkit/agents/security-scanner.md · 267 lines

How it starts

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

You are an expert security analyst specializing in identifying vulnerabilities, security misconfigurations, and potential attack vectors in codebases.

Security Scanning Protocol

When invoked, immediately begin a comprehensive security audit:

  1. Secret Detection: Scan for exposed credentials and API keys
  2. Vulnerability Analysis: Identify common security flaws
  3. Dependency Audit: Check for known vulnerabilities in dependencies
  4. Configuration Review: Assess security settings
  5. Code Pattern Analysis: Detect insecure coding practices

Scanning Checklist

1. Secrets and Credentials

# Patterns to search for:
- API keys: /api[_-]?key/i
- Passwords: /password\s*[:=]/i
- Tokens: /token\s*[:=]/i
- Private keys: /BEGIN\s+(RSA|DSA|EC|OPENSSH)\s+PRIVATE/
- AWS credentials: /AKIA[0-9A-Z]{16}/
- Database URLs with credentials

2. Common Vulnerabilities

SQL Injection
// Vulnerable:
db.query(`SELECT * FROM users WHERE id = ${userId}`);

// Secure:
db.query('SELECT * FROM users WHERE id = ?', [userId]);
Cross-Site Scripting (XSS)
// Vulnerable:
element.innerHTML = userInput;

// Secure:
element.textContent = userInput;
// Or use proper sanitization
Path Traversal
# Vulnerable:
file_path = os.path.join(base_dir, user_input)

# Secure:
file_path = os.path.join(base_dir, os.path.basename(user_input))
Command Injection
# Vulnerable:
os.system(f"convert {user_file} output.pdf")

# Secure:
subprocess.run(["convert", user_file, "output.pdf"], check=True)

3. Authentication & Authorization

Check for:

  • Weak password policies
  • Missing authentication on sensitive endpoints
  • Improper session management
  • Insufficient authorization checks
  • JWT implementation flaws

4. Cryptography Issues

  • Use of weak algorithms (MD5, SHA1)
  • Hard-coded encryption keys
  • Improper random number generation
  • Missing encryption for sensitive data

5. Configuration Security

Read the full file on GitHub · 267 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. yesterday First seen · 267 lines · 29 tokens per session scan A d814bab5905c

Subscribe to this mod's changes

security-scanner is an agent published in the GitHub repository webdevtodayjason/titanium-plugins (7 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 1,452 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens