security
Scan the codebase for security vulnerabilities — hardcoded secrets, injection risks, exposed credentials, insecure patterns.
Skill by krone9
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/krone9-security
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash(grep:*),Bash(find:*),Write
What's inside
- Skill name
security- Description
- Scan the codebase for security vulnerabilities — hardcoded secrets, injection risks, exposed credentials, insecure patterns. Use when the user types /security or asks for a security audit.
- License
- MIT
- Allowed tools
- Read,, Bash(grep:*),, Bash(find:*),, Write
- Instructions
- 67 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
## Task: Security scan
Scan the codebase for security issues. This is a structured audit across 4 categories. Report findings before asking to fix anything.
### Step 1: Secrets and credentials scan
Search for hardcoded secrets, API keys, tokens, passwords:
```bash
grep -r --include="*.js" --include="*.ts" --include="*.py" --include="*.go" --include="*.env*" \
-E "(api_key|apikey|api-key|secret|password|passwd|token|auth|credential|private_key)\s*[=:]\s*['\"][^'\"]{8,}" \
. --exclude-dir=node_modules --exclude-dir=.git -l
```
Also check for common patterns:
- `sk-`, `ghp_`, `glpat-`, `xox` (Slack), `AKIA` (AWS) prefixes
- Anything that looks like a JWT (`eyJ...`)
- Base64 strings in non-test code that are unusually long
### Step 2: Injection vulnerabilities
Look for:
- SQL strings built with string concatenation or template literals instead of parameterised queries
- `eval()`, `exec()`, `subprocess.shell=True`, or similar dynamic code execution
- Unvalidated user input passed directly to file paths, shell commands, or database queries
- XSS vectors: unsanitised user content rendered as HTML (`innerHTML`, `dangerouslySetInnerHTML`)
### Step 3: Authentication and authorisation
Check for:
- Routes or endpoints with no auth middleware
- JWT tokens without expiry
- Passwords stored as plaintext or weak hashes (MD5, SHA1)
- Missing rate limiting on login or sensitive endpoints
- CORS configured as `*` in production code
### Step 4: Data exposure
Look for:
- Sensitive fields returned in API responses that shouldn't be (passwords, internal IDs, tokens)
- Error messages that expose stack traces, file paths, or internal details
- Logging of sensitive user data
- Files or directories exposed that shouldn't be (e.g. `.env` in a public folder)
### Step 5: Output the security report
```
## Security Audit — [date]
### 🔴 Critical (fix immediately)
- [file:line] — [issue] — [recommended fix]
### 🟠 High (fix before next deploy)
- [file:line] — [issue] — [recommended fix]
### 🟡 Medium (fix soon)
- [file:line] — [issue] — [recommended fix]
### 🔵 Low / informational
- [file:line] — [issue]
### Summary
[count] issues found. Critical: [n], High: [n], Medium: [n], Low: [n]
```
### Step 6: Save the report
Write the report to `docs/security-audit.md` with today's date. Append if file exists, don't overwrite history.
Do not fix anything until the user reviews the report and confirms.From krone9/pi-superpowers, MIT.
More from krone9/pi-superpowers
- 0.497score
audit-structure
krone9
Audit an existing project against the standard structure and report gaps.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
dependencies
krone9
Scan the codebase and produce a plain-English map of how the main modules depend on each other.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
dispatching-parallel-agents
krone9
Use when the task contains 2+ independent sub-tasks that don't depend on each other's outputs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
optimise
krone9
Run a structured optimisation sweep across the codebase — redundancy, efficiency, dead code.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
restart
krone9
Load context from the last session — changes log and next steps from build plan.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
review
krone9
Run a structured code review against the project's own conventions in claude/claude.md.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
rollback
krone9
Safely revert the last commit or staging push.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
status
krone9
Quick read-only project health snapshot.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
systematic-debugging
krone9
Use when something is broken or behaving unexpectedly — bugs, regressions, failing tests, mysterious errors.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
brief
krone9
Generate a one-page human-readable project brief for onboarding or re-orientation.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
changes
krone9
Append a log of all changes made in this session to claude/changes.md.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
debt
krone9
Run a technical debt audit — TODOs, deprecated patterns, complex functions, outdated dependencies.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 5, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/krone9/pi-superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from krone9
- 0.497score
dependencies
krone9
Scan the codebase and produce a plain-English map of how the main modules depend on each other.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
dispatching-parallel-agents
krone9
Use when the task contains 2+ independent sub-tasks that don't depend on each other's outputs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
optimise
krone9
Run a structured optimisation sweep across the codebase — redundancy, efficiency, dead code.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
restart
krone9
Load context from the last session — changes log and next steps from build plan.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
review
krone9
Run a structured code review against the project's own conventions in claude/claude.md.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
rollback
krone9
Safely revert the last commit or staging push.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
security skill. Agent Mart. https://agentmart.dev/skills/krone9-security (last updated 2026-10-24)