Skip to main content
hook CX Codex

oma-security — Claude Code hook: features and install

The oma-security hook runs security scans, source review, and verified remediation. It responds to session, prompt, Bash, and stop events.

MIT ★ 1,472 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add first-fluke/oh-my-agent
/plugin install oma-security@oh-my-agent
Open on GitHub

What oma-security does

oma-security adds hooks for security scans, source review, and verification of remediation. They run on SessionStart, UserPromptSubmit, PreToolUse, and Stop; the PreToolUse handler is matched to Bash. The checks can therefore run at several points in a Claude Code session, rather than only after a dedicated request.

The bundle calls plugin-hook.sh for Stop, PreToolUse, and UserPromptSubmit, and plugin-bootstrap.sh when a session starts. Timeouts vary: the Bash handler has 15 seconds, the stop handler 40, and bootstrap 600. Install the plugin through the oh-my-agent marketplace; its configuration is associated with .claude/settings.json. The listed platforms are Claude Code and Codex, while the provided install commands are for Claude Code.

What it helps with

  • run security checks at session events
  • review source code after a user prompt
  • inspect Bash calls with a dedicated hook
  • check remediation when an agent session ends

Example prompts for the agent

  • Scan this project for security issues and review its source.
  • Check this Bash command for security risks before running it.
  • Verify the security fixes before ending the session.

How to install oma-security

1Plugin marketplace

/plugin marketplace add first-fluke/oh-my-agent
/plugin install oma-security@oh-my-agent

2Manually: put the files in place

.claude/settings.json

The hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json

Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command

Questions about oma-security

How do I install oma-security in Claude Code?

Run /plugin marketplace add first-fluke/oh-my-agent, then /plugin install oma-security@oh-my-agent. Its configuration is associated with .claude/settings.json.

What does oma-security do?

It runs security scans, reviews source code, and verifies remediation. Its hooks respond to session, prompt, Bash, and stop events.

Which events trigger oma-security?

It triggers on PreToolUse, UserPromptSubmit, SessionStart, and Stop. The PreToolUse handler is matched to Bash.

Source text

security · MIT
Hooks bundle shipped with the oma-security plugin for Claude Code.

Security scans, source review, and verified remediation

Triggers on: PreToolUse, UserPromptSubmit, SessionStart, Stop.

```json
{"Stop":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" Stop","timeout":40}]}],"PreToolUse":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" PreToolUse Bash","timeout":15}],"matcher":"Bash"}],"SessionStart":[{"hooks":[{"type":"command","async":true,"command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-bootstrap.sh\" security","timeout":600}]}],"UserPromptSubmit":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" UserPromptSubmit","timeout":15}]}]}
```

© First Fluke · MIT · first-fluke/oh-my-agent

Similar hooks

All hooks for Security →

From the same set69

The whole set →
oma-orchestration oma-orchestration — a Claude Code skill that dispatches and supervises parallel specialist agents with persistent task state. Coordinates multi-agent execution, QA verification, and recovery budgets. CX Codex +1 ★ 1,472repo stars oma-dev-workflow The oma-dev-workflow Claude Code skill configures development tasks, Git hooks, CI/CD, and release automation. It runs when a repository workflow needs to be created or fixed. CX Codex +1 ★ 1,472repo stars oma-research oma-research automates research workflows in Claude Code, assisting with literature reviews and market research. CX Codex ★ 1,472repo stars oma-frontend oma-frontend — a hook that wires frontend tooling into Claude Code: UI work, design, review and debugging. It fires on agent session events. CX Codex ★ 1,472repo stars frontend-engineer frontend-engineer — a subagent for React, Next.js, Angular, and TypeScript frontend development. Builds UI components with TailwindCSS v4 and enforces FSD-lite architecture. CX Codex ★ 1,472repo stars qa-reviewer qa-reviewer — a code review agent that scans for OWASP vulnerabilities, performance bottlenecks, accessibility gaps and code quality issues. Runs before you merge and flags each finding with severity and remediation. CX Codex ★ 1,472repo stars mobile-engineer mobile-engineer implements mobile features across Flutter, React Native, Swift, and Kotlin following Clean Architecture boundaries. CX Codex ★ 1,472repo stars backend-engineer backend-engineer is a Claude Code subagent for API, authentication, and database migration tasks. It joins work on those tasks when requested. CX Codex ★ 1,472repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open