/agent-verifier:verify-securityfrom Agent Verifier
Scans code for security issues: hardcoded secrets, input validation, error exposure, and dependency vulnerabilities. Triggered by 'verify security', 'check for secrets', or 'scan for vulnerabilities'.
Ships in Agent Verifier. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Verify code for security anti-patterns and vulnerabilities. No telemetry or network calls of its own; the code is processed by the host coding agent and its model provider.
Trigger this skill when the user asks to:
Note: For full verification including patterns, quality, and language-specific checks, tell the user to say "verify agent".
Locate files to analyze:
Configuration files:
package.json, pyproject.toml, Cargo.toml - Dependencies.env.example - Environment template (flag values that look like real secrets).gitignore - Confirm .env and .env.local are ignored (if not, flag it as an issue)config.py, settings.py, config.ts - ConfigurationSource files:
*.py, *.ts, *.js, *.go, *.rs - Source codeauth, api, client, secret, config in nameExclude:
node_modules/, .venv/, venv/, __pycache__/*.test.*, *.spec.*, *_test.go.env, .env.local, .env.*.local - Never open these. They hold the user's real secrets. Check only whether they are gitignored.[PATTERN] — Mechanical check. Apply exactly as written.[HEURISTIC] — Judgment required. Mark findings clearly.Tag every finding with [P] for pattern or [H] for heuristic.
[PATTERN] Hardcoded SecretsScan for assignments matching these patterns (case-insensitive):
| Variable pattern | Fail condition |
|---|---|
API_KEY | Assigned to string literal |
SECRET | Assigned to string literal |
PASSWORD | Assigned to string literal |
TOKEN | Assigned to string literal |
PRIVATE_KEY | Assigned to string literal |
AWS_ACCESS_KEY_ID | Assigned to string literal |
AWS_SECRET_ACCESS_KEY | Assigned to string literal |
Examples of failures:
# ❌ Issue
API_KEY = "sk-abc123..."
password = "hunter2"
OPENAI_API_KEY = "sk-proj-..."
# ✅ Pass (value loaded at runtime from env or a secrets manager, never a literal)
api_key = settings.api_key
password = secret_store.get("db-password")
Also flag:
sk-... (OpenAI)sk-ant-... (Anthropic)AKIA... (AWS)ghp_... (GitHub)xoxb-... (Slack)Severity: ❌ Issue
[PATTERN] Dependency Version PinningPython (requirements.txt):
| Pattern | Severity |
|---|---|
package>=1.0 | ❌ Issue |
package>1.0 | ❌ Issue |
package (no version) | ❌ Issue |
package==1.0.0 | ✅ Pass |
package~=1.0 | ✅ Pass |
Python (pyproject.toml):
Check [project.dependencies] and [tool.poetry.dependencies]:
>= versions → ❌ Issue== or ^ or ~ → ✅ PassJavaScript/TypeScript (package.json):
| Pattern | Severity |
|---|---|
"package": "*" | ❌ Issue |
"package": "latest" | ❌ Issue |
"package": ">=1.0.0" | ⚠️ Warning |
"package": "^1.0.0" | ✅ Pass |
"package": "~1.0.0" | ✅ Pass |
"package": "1.0.0" | ✅ Pass |
[HEURISTIC] Input ValidationCheck for external data handling:
Look for:
@app.route, router.get, etc.)request.body, req.params, input())Flag if:
Severity: ⚠️ Warning
Example patterns to flag:
# ⚠️ Warning - SQL without parameterization
query = f"SELECT * FROM users WHERE id = {user_id}"
# ⚠️ Warning - Path traversal risk
file_path = os.path.join(base_dir, user_filename)
# ✅ Pass - Parameterized query
cursor.execute("SELECT * FROM users WHERE id = ?", (user_id,))
[HEURISTIC] Error Message ExposureCheck error handling for information leakage:
Flag if:
Look for:
# ⚠️ Warning
except Exception as e:
return {"error": str(e)} # Exposes internal details
# ⚠️ Warning
app = Flask(__name__)
app.debug = True # Debug in production
# ✅ Pass
except Exception as e:
logger.error(f"Error: {e}")
return {"error": "An error occurred"}
Severity: ⚠️ Warning
[HEURISTIC] Secure DefaultsCheck configuration for insecure defaults:
| Setting | Insecure | Secure |
|---|---|---|
| CORS | * (allow all) | Specific origins |
| SSL verification | verify=False | verify=True or omitted |
| Debug mode | debug=True | debug=False |
| Cookie security | secure=False | secure=True |
| CSRF | Disabled | Enabled |
Examples:
# ⚠️ Warning
requests.get(url, verify=False)
app.config["SESSION_COOKIE_SECURE"] = False
CORS(app, origins="*")
# ✅ Pass
requests.get(url) # verify=True is default
app.config["SESSION_COOKIE_SECURE"] = True
CORS(app, origins=ALLOWED_ORIGINS) # explicit allowlist
Severity: ⚠️ Warning
[HEURISTIC] Sensitive Data LoggingCheck logging statements for sensitive data:
Flag if logging includes:
Look for:
# ⚠️ Warning
logger.info(f"User login: {username} with password {password}")
print(f"API response: {response.json()}") # May contain tokens
# ✅ Pass
logger.info(f"User login: {username}")
logger.debug(f"Request to {url}") # No sensitive data
Severity: ⚠️ Warning
# Security Verification Report
**Project:** [name or path]
**Date:** [current date]
**Files analyzed:** [count]
## Summary
✅ X checks passed | ⚠️ Y warnings | ❌ Z issues
## Secrets
- [x] No hardcoded secrets found
- [ ] ❌ Hardcoded secret at `[file:line]`
## Dependencies
- [x] All dependencies pinned
- [ ] ❌ Unpinned dependencies in `[file]`
## Input Validation
- [x] External input properly validated
- [ ] ⚠️ Potential injection at `[file:line]`
## Error Handling
- [x] Errors properly sanitized
- [ ] ⚠️ Information leakage at `[file:line]`
## Findings
> `[P]` = pattern-matched · `[H]` = heuristic
### ✅ Passing
- `[P]` No hardcoded API keys or secrets
- `[P]` Dependencies properly pinned
### ⚠️ Warnings
- `[H]` [Check]: [description]
- **Location:** [file:line]
- **Risk:** [what could go wrong]
- **Suggestion:** [how to fix]
### ❌ Issues
- `[P]` [Check]: [description]
- **Location:** [file:line]
- **Rule:** [which rule violated]
- **Fix:** [specific remediation]
## Recommendations
1. [Priority recommendation]
2. [Additional improvements]
For full verification including patterns, quality, and language-specific checks, say "verify agent".
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Python, JavaScript, Go, Rust, TypeScript
npx claudepluginhub aurite-ai/agent-verifier --plugin agent-verifier5 skills in this plugin
/verificationFull agent verification suite. Runs security, patterns, quality, and language-specific checks. Use when asked to "verify agent", "verify my agent", "audit agent", or "full verification"./verify-languageLanguage-specific verification for Python, TypeScript/JavaScript, and Go. Checks type safety, language idioms, and best practices. Use when asked to "verify language", "check types", or for language-specific checks./verify-patternsVerify AI agent patterns including loop safety, retry limits, tool consistency, context size, and graph cycle analysis. Use when asked to "verify agent patterns", "check loops", "verify tools", or "check retry limits"./verify-qualityVerify code quality including naming conventions, organization, documentation, and general best practices. Use when asked to "verify quality", "check code quality", or "review code organization".Other plugins' skills for the same job