Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jassicsv0.1.2GPL-3.0In 1 marketplace
Blocks commits and pushes that contain hardcoded API keys, cloud credentials or .env files, and flags vulnerable Python and React/JS functions with safe fixes. A Claude Code hook enforces this only inside sessions, while per-repo git hooks installed by a script also cover terminal pushes.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Secure-coding enforcement for Python and React/JS: flags outdated or vulnerable
functions with the exact safe alternative, and blocks commits/pushes that carry
secrets — hardcoded API keys, cloud credentials, .env/config files — even ones
that were never in .gitignore.
| Component | What it does |
|---|---|
agents/secure-coding-guardian.md | Dedicated review agent — narrowly scoped to the two skills below, not a general code reviewer. |
skills/safe-function-lint | Curated Python + React/JS rule pack (CWE / OWASP ASVS 5.0 cited) mapping banned/outdated functions to safe replacements. Backed by rules/semgrep-python.yml / rules/semgrep-react.yml when Semgrep is installed. |
skills/secret-guard | Interactive secret/sensitive-file/.gitignore audit — the manual counterpart to the enforcement below. |
hooks/hooks.json | Claude Code PreToolUse hook — blocks git commit/git push inside a Claude Code session if the change contains a secret or a file that must never be tracked. |
scripts/install-git-hooks.sh | Installs real git hooks (via pre-commit, or a native fallback) into a target repo — enforces the same thing from any terminal/IDE/CI, with or without Claude Code. |
hooks/hooks.json) only fires when Claude itself runs the
git commit/git push command in a session. It's fast, needs no setup, but a
developer pushing from a plain terminal or another IDE bypasses it.scripts/install-git-hooks.sh) fire for any commit/push,
regardless of tool — this is the actual "can't push if secrets are found"
guarantee. Run it once per repo:
./scripts/install-git-hooks.sh /path/to/your/repo
It prefers the pre-commit framework (gitleaks +
detect-secrets + the Semgrep rule packs + a .gitignore coverage check) and
falls back to a native .git/hooks/pre-push script if pre-commit isn't
installed.Install both. Neither alone gives full coverage.
/plugin install secure-coding@awesome-claude-security
Then, per repo you want hard enforcement in:
./scripts/install-git-hooks.sh /path/to/repo
Recommended external tools (the hooks/skills degrade gracefully — falling back to regex patterns — but are meaningfully weaker without these):
install-git-hooks.sh targetssecure-coding-guardian agent, or /safe-function-lint./secret-guard./secret-guard.This plugin is deliberately narrow (Python + React/JS, ~12 rules/language) and its edge is enforcement (real git hooks + a Claude Code hook), not breadth. For the marketplace's broader coverage, install alongside:
sast-sca — multi-language SAST/SCA, dependency/SBOM scanning.infrastructure-security — secrets/gitignore
review across IaC, CI/CD, and containers, not just source.security-knowledge — secure-coding-kb gives the
same safe-idiom guidance as reference material for other languages.developer — the role bundle that installs this plugin
alongside the above as one coherent secure-coding-companion stack.reference.md.secrets.baseline
bootstrap step to install-git-hooks.sh; consider a Node/JS-specific SCA check
(npm audit / OSV-Scanner) alongside the existing Python-focused SCA overlap
with the sast-sca plugin in the awesome-claude-security marketplace.GPL-3.0
7-day copy clicks
npx claudepluginhub jassics/awesome-claude-security --plugin secure-codingBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground