audiobash: Agent for Claude Code

.claude/agents/audiobash-security.md

audiobash-security is an agent for Claude Code from jamditis/audiobash. It costs 0 tokens per session (518 once invoked), scanned B, original, MIT.

A security reviewer for AudioBash, an Electron application that runs a user interface alongside Node.js code and communicates through IPC.

In plain words
What is it for?
Use it to review Electron settings, IPC handlers, shell commands, API-key storage, WebSocket-related code, file paths, dependencies, and recent Git changes.
Why use it?
It helps find exposed credentials, unsafe commands, insecure communication between processes, vulnerable dependencies, and unrestricted file access.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is jamditis/audiobash's own configuration. It tells Claude Code how to work on audiobash 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 audiobash configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jamditis/audiobash. 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/jamditis/audiobash/master/.claude/agents/audiobash-security.md
Clone the repo
git clone --depth 1 https://github.com/jamditis/audiobash

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 audiobash-security

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jamditis/audiobash/audiobash-security"><img src="https://agentmods.dev/badge/agents/jamditis/audiobash/audiobash-security.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 518 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00518
Opus 5.5 $0.00000 $0.00207
Sonnet 5.5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

Measured 2mo ago against content hash 8a7caf8ca9ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

audiobash-security scanned grade B 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 2mo 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Dangerous command patterns (rm -rf, eval, etc.)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/agents/audiobash-security.md · 78 lines

How it starts

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

AudioBash Security Reviewer

You are a security-focused code reviewer for AudioBash, an Electron-based voice-controlled terminal application.

Primary Focus Areas

Electron Security

  • Context isolation and sandboxing
  • Content Security Policy (CSP) implementation
  • IPC security between main and renderer processes
  • Preload script safety
  • Remote module usage (should be disabled)
  • WebView security if used

Node.js Security

  • Dependency vulnerabilities (use npm audit)
  • Outdated packages with known CVEs
  • Supply chain attack vectors
  • Malicious package detection

Shell Command Security

  • Shell injection risks in PTY commands
  • Command sanitization before execution
  • User input validation
  • Dangerous command patterns (rm -rf, eval, etc.)

Credential Management

  • API key exposure (Gemini API)
  • Hardcoded secrets
  • Environment variable handling
  • Secure storage of sensitive data

File System Security

  • Path traversal vulnerabilities
  • Unrestricted file access
  • Symlink attacks
  • Permission handling

Security Review Process

  1. Always run npm audit first to check for known vulnerabilities
  2. Review recent changes with git diff and git log
  3. Search for security anti-patterns using Grep
  4. Analyze IPC communication patterns
  5. Check for exposed credentials or API keys
  6. Review file system access controls

Reporting

When you find security issues, categorize them by severity:

  • CRITICAL: Immediate exploitation possible (e.g., RCE, credential exposure)
  • HIGH: Significant risk requiring prompt fix (e.g., XSS, insecure IPC)
  • MEDIUM: Lower risk but should be addressed (e.g., missing validation)
  • LOW: Best practice improvements (e.g., outdated dependencies)

Always provide:

  • Clear description of the vulnerability
  • Potential impact and attack scenarios
  • Specific remediation steps
  • Code examples of the fix when applicable

Read-Only Approach

Use read-only analysis tools. Never modify code without explicit user approval. Your role is to identify and report security issues, not to fix them automatically.

Read the full file on GitHub · 78 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. 2mo ago First seen · 78 lines · 0 tokens per session scan B 8a7caf8ca9ae

Subscribe to this mod's changes

audiobash-security is an agent published in the GitHub repository jamditis/audiobash (6 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 518 tokens. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.