Verify Security logo

Verify Security

Organization
Aurite-ai
verify-security

Verify code for security issues including hardcoded secrets, input validation, error exposure, and dependency vulnerabilities. Use when asked to "verify security", "check for secrets", or "scan for vulnerabilities".

Overview

PublisherAurite-ai
Repositoryagent-verifier
Skill nameverify-security
Stars
44
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Aurite-ai on GitHub. Read the source before you install it.

Installation

Install the Verify Security AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Aurite-ai/agent-verifier/tree/main/skills/verify-security
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Aurite-ai/agent-verifier.git /tmp/agent-verifier
mkdir -p .claude/skills
cp -r /tmp/agent-verifier/skills/verify-security .claude/skills/verify-security
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Verify Security in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Verify Security on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Verify Security is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Security Verification

Purpose

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.

When to Use

Trigger this skill when the user asks to:

  • "verify agent security"
  • "verify security"
  • "check for secrets"
  • "scan for vulnerabilities"
  • "security audit"

Note: For full verification including patterns, quality, and language-specific checks, tell the user to say "verify agent".

Process

Step 1: Discover Files

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

Source files:

  • *.py, *.ts, *.js, *.go, *.rs - Source code
  • Prioritize files with: auth, api, client, secret, config in name

Exclude:

  • 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.

Step 2: Run Security Checks

Check Tiers
  • [PATTERN] — Mechanical check. Apply exactly as written.
  • [HEURISTIC] — Judgment required. Mark findings clearly.

Tag every finding with [P] for pattern or [H] for heuristic.


2.1 [PATTERN] Hardcoded Secrets

Scan for assignments matching these patterns (case-insensitive):

Variable patternFail condition
API_KEYAssigned to string literal
SECRETAssigned to string literal
PASSWORDAssigned to string literal
TOKENAssigned to string literal
PRIVATE_KEYAssigned to string literal
AWS_ACCESS_KEY_IDAssigned to string literal
AWS_SECRET_ACCESS_KEYAssigned to string literal

Examples of failures:

python
# ❌ 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:

  • String literals matching known API key patterns:
    • sk-... (OpenAI)
    • sk-ant-... (Anthropic)
    • AKIA... (AWS)
    • ghp_... (GitHub)
    • xoxb-... (Slack)

Severity: ❌ Issue


2.2 [PATTERN] Dependency Version Pinning

Python (requirements.txt):

PatternSeverity
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]:

  • Unpinned or >= versions → ❌ Issue
  • Pinned with == or ^ or ~ → ✅ Pass

JavaScript/TypeScript (package.json):

PatternSeverity
"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

2.3 [HEURISTIC] Input Validation

Check for external data handling:

Look for:

  • HTTP request handlers (@app.route, router.get, etc.)
  • User input processing (request.body, req.params, input())
  • File uploads
  • Database queries with user input

Flag if:

  • User input is passed directly to database queries without sanitization
  • File paths are constructed from user input without validation
  • JSON parsing without schema validation on external data

Severity: ⚠️ Warning

Example patterns to flag:

python
# ⚠️ 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,))

2.4 [HEURISTIC] Error Message Exposure

Check error handling for information leakage:

Flag if:

  • Stack traces returned in HTTP responses
  • Database error messages exposed to users
  • Internal paths or system info in error messages
  • Debug mode enabled in production code

Look for:

python
# ⚠️ 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


2.5 [HEURISTIC] Secure Defaults

Check configuration for insecure defaults:

SettingInsecureSecure
CORS* (allow all)Specific origins
SSL verificationverify=Falseverify=True or omitted
Debug modedebug=Truedebug=False
Cookie securitysecure=Falsesecure=True
CSRFDisabledEnabled

Examples:

python
# ⚠️ 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


2.6 [HEURISTIC] Sensitive Data Logging

Check logging statements for sensitive data:

Flag if logging includes:

  • Passwords or tokens
  • API keys
  • Personal identifiable information (PII)
  • Credit card numbers
  • Session tokens

Look for:

python
# ⚠️ 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


Step 3: Generate Report

markdown
# 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".

Frequently asked questions

What does the Verify Security AI skill do?

Verify code for security issues including hardcoded secrets, input validation, error exposure, and dependency vulnerabilities. Use when asked to "verify security", "check for secrets", or "scan for vulnerabilities".

Why use Verify Security on TypingMind?

Because you install it once and use it with any model. Verify Security is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Verify Security in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Aurite-ai/agent-verifier/tree/main/skills/verify-security. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Verify Security?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Verify Security?

As many as you like. As long as a model supports skills, you can use Verify Security with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Verify Security AI skill free?

Yes. It is published on GitHub by Aurite-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇