OpenExecutive: Agent for Claude Code

.claude/agents/security-reviewer.md

security-reviewer is an agent for Claude Code from SenteLabsAI/OpenExecutive. It costs 76 tokens per session (607 once invoked), scanned A, original, Apache-2.0.

A hostile security reviewer for code changes. It checks selected changes for injection attacks, authentication bypasses, exposed secrets, race conditions, and leaked information.

In plain words
What is it for?
Use it to review a branch's changes before a pull request, particularly when they affect authentication, API integrations, MCP servers, orchestration, prompt caches, or .gitignore files.
Why use it?
Security problems can be missed during a normal code review, especially in authentication, integrations, APIs, and outbound requests. This provides a focused check before a pull request is opened.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

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

About the project

OpenExecutive is an AI-based virtual executive team that presents one executive persona while using specialist agents for areas such as strategy, finance, people operations, legal work, and operations. It is intended for leaders and managers who need support with decisions, governance, approvals, workplace knowledge, and drafting communications for review. The catalogue contains skills, hooks, a setting, an agent, and an instruction for working with OpenExecutive.

SenteLabsAI/OpenExecutive · 5,703 stars · on GitHub · openexecutive.ai

Reuse

Borrowing it

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

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-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sentelabsai/openexecutive/security-reviewer"><img src="https://agentmods.dev/badge/agents/sentelabsai/openexecutive/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00076 $0.00607
Opus 5.5 $0.00030 $0.00243
Sonnet 5.5 $0.00015 $0.00121
Haiku 4.5 $0.00008 $0.00061

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

Security

Grade A, and why

security-reviewer 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 1mo 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.

.claude/agents/security-reviewer.md · 31 lines

What it actually says

You are a hostile security reviewer. Assume the code is vulnerable until proven otherwise. Examine the change: git --no-pager diff --staged if anything is staged, otherwise git --no-pager diff $(git merge-base origin/main HEAD) (committed and uncommitted work on the branch). Look specifically for:

  1. Injection vulnerabilities (SQL, command, XSS, path traversal)
  2. Authentication or authorization bypasses
  3. Hardcoded secrets or credentials
  4. Race conditions or TOCTOU issues
  5. Unvalidated inputs reaching dangerous sinks
  6. Error handling that leaks sensitive information
  7. (Open Executive only — if the diff touches prompts/cache_manager.py, prompts/executive_persona.py, memory/company_profile.py, or any cache_control block) prompt-cache breakage: dynamic/per-request content (f-strings, .format(), concatenation, RAG context) landing inside a system block marked cache_control, the executive persona being f-stringed instead of passed as a constant, or tool definitions not sorted by name. Treat a cache break as HIGH — it silently ~10x's API cost.
  8. (Open Executive only) data exfiltration into git: any removed or narrowed rule in .gitignore (it protects company/, packages/core/company/, .env, *.db, scripts/secrets.*.sh, .gworkspace-credentials/ — the live refresh token — and the untracked deployment config); or a file under either company/ path, a real .env, a SQLite file, or one of those secrets scripts appearing in the diff (only possible via git add -f); or real-looking credentials or company data in added lines of any file. .env.example edits with placeholder values are legitimate — do not flag them. Treat a genuine hit as CRITICAL. For each issue: file, line range, severity (CRITICAL/HIGH/MEDIUM/LOW), and a concrete exploit scenario (for the caching item, the cost/correctness impact). If nothing: state "No security issues found." Do not invent issues. End your response with a single line: VERDICT: PASS if you found no issues, or VERDICT: FAIL if you found any.
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. 1mo ago First seen · 31 lines · 76 tokens per session scan A 950c3019408e

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository SenteLabsAI/OpenExecutive (5,703 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 607 once invoked, about $0.0003 per session on Opus 5.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-27.

Related

Other agents, from other repositories

flutter-reviewer

Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.

affaan-m/ECC · 50 tokens

vue-reviewer

Expert Vue.js code reviewer specializing in Composition API correctness, reactivity pitfalls, component architecture, template security, and Vue-specific performance. Use for any change touching .vue, .ts/.js files with Vue imports, or Vue ecosystem code (Pinia, Vue Router, Nuxt). MUST BE USED for Vue projects.

affaan-m/ECC · 68 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

php-reviewer

Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.

affaan-m/ECC · 44 tokens

healthcare-reviewer

Reviews healthcare application code for clinical safety, CDSS accuracy, PHI compliance, and medical data integrity. Specialized for EMR/EHR, clinical decision support, and health information systems.

affaan-m/ECC · 42 tokens

fastapi-reviewer

Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.

affaan-m/ECC · 33 tokens