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/nrdxp-security-audit
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: backend, security, agent-building
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-audit
What's inside
- Skill name
security-audit- Description
- Phased risk-centric security assessment framework. Trigger when: - Auditing code for vulnerabilities, checking SQL injection, access control, or buffer overflows. - Prompt contains: /security-audit, security audit, taint analysis, threat model, vulnerability.
- License
- MIT
- Instructions
- 435 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- run_audit.py · scripts/
SKILL.md (first lines)
# Security Audit Protocol A structured, risk-centric framework for software security assessment. Designed for iterative human engagement with explicit checkpoints at each phase. > **Adversarial path anchor.** This lens is invoked on the Verification Dual's adversarial path ([rules.md](../../rules.md) §2 Invariant 1): when no deterministic evaluator can close a security-correctness condition, context-free agents using this protocol supply the decorrelated review. See [skills/refine/SKILL.md](../refine/SKILL.md) AUDIT §"Sibling Skills Consultation" for the wiring point. > **Core Principle:** The goal is not to maximize bug count, but to identify **business risk**, **architectural flaws**, and **exploitable logic errors**. --- ## Prime Directives Before beginning, internalize these cognitive framings: 1. **Risk > Findings:** A bug is only a finding if it poses risk to business logic or data integrity. Context determines severity. 2. **Adversarial Mindset:** Analyze every input, endpoint, and public function assuming a capable adversary is attempting to subvert the system. 3. **Taint Analysis Model:** For every potential vulnerability, trace: - **Source:** Where does data enter? (user input, API body, URL param) - **Sink:** Where is it executed? (SQL query, `eval()`, HTML render, shell) - **Sanitizer:** Is there validation between Source and Sink? If not, it's a vulnerability. 4. **Assurance Spectrum:** - _Standard code:_ Pattern matching, control flow analysis - _Crown jewels:_ Invariant checks, formal verification --- ## Phase 0: Scope & Trust Model **Objective:** Define boundaries and establish the security context before analyzing code. ### 0.1 Ingest System Context 1. Read manifests (`package.json`, `Cargo.toml`, `go.mod`, `requirements.txt`) 2. Identify tech stack and framework versions 3. Check for known CVEs in dependencies ### 0.2 Define Trust Model Establish the security context before analyzing code. Identify and document: - **Untrusted sources** (data entry points): API endpoints, CLI arguments, user file uploads, environment variables (if user-controlled). - **Trusted components**: internal services with mTLS, signed configuration files. - **Crown jewels** (what must be protected): database credentials, private keys, PII / user data, payment processing. - **Trust boundaries** (where data crosses zones): external API → internal handler, user input → database query. ### 0.3 Map Attack Surface - [ ] Enumerate all public API routes/endpoints - [ ] Identify CLI entry points and argument parsing - [ ] List external integrations (webhooks, OAuth, third-party APIs) - [ ] Document file upload/download paths - [ ] Note WebSocket or real-time communication channels **Checkpoint:** Present scope and trust model. Await user approval before proceeding. --- ## Phase 1: Automated Baseline **Objective:** Establish security baseline through breadth-first automated analysis. ### 1.1 Secret Detection Search for high-entropy strings and credential patterns: - `AWS_ACCESS_KEY`, `AZURE_`, `GCP_` - `Bearer `, `Authorization:` - Private key headers (`-----BEGIN`) - Database connection strings - API keys matching known formats ### 1.2 Dangerous Sink Detection Search for risky function calls: | Language | Dangerous Patterns | | :--------- | :--------------------------------------------------------------- | | Python | `eval()`, `exec()`, `subprocess.call(shell=True)`, `os.system()` | | JavaScript | `eval()`, `Function()`, `innerHTML`, `dangerouslySetInnerHTML` | | Go | `os/exec` without validation, `template.HTML()` | | Rust | `unsafe`, `.unwrap()` in library paths, raw pointer manipulation | | C/C++ | `strcpy`, `sprintf`, `gets`, `system()`, raw `malloc` | | SQL | String concatenation in queries, missing parameterization | ### 1.3 Configuration Audit - [ ] Debug mode disabled (`DEBUG=False`, no dev endpoints) - [ ] Binding addresses (no `0.0.0.0` in production) - [ ] TLS configuration (minimum TLS 1.2, strong ciphers) - [ ] CORS policy (no wildcard origins for sensitive APIs) - [ ] Security headers (CSP, X-Frame-Options, HSTS) ### 1.4 Dependency Vulnerability Check - [ ] Known CVEs in direct dependencies - [ ] Outdated packages with security patches available - [ ] Unmaintained dependencies (no updates in 2+ years) **Checkpoint:** Present baseline findings. Await acknowledgment before deep review. --- ## Phase 2: Manual White-Box Review **Objective:** Deep analysis of logic, access control, and architectural patterns that tools miss. > **Coherence Strategy:** Analyze ONE component at a time. Present findings. Await acknowledgment before proceeding. ### 2.1 Authentication & Session Management - [ ] Passwords hashed with modern algorithm (bcrypt, argon2, scrypt) - [ ] No plaintext credential storage or logging - [ ] Session tokens generated with CSPRNG - [ ] Session invalidation on logout and password change - [ ] MFA implementation (if applicable) - [ ] Brute force protection (rate limiting, account lockout)
From nrdxp/predicate, MIT.
More from nrdxp/predicate
- 0.591score
refine
nrdxp
SOP for the automated refinement loop (/refine) workflow.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
record
nrdxp
Durable categorized record-keeping for any predicate-enabled walk.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
boundary
nrdxp
Normative sufficiency conditions for Initial Boundary Conditions (IBCs) and the SOP for the cheap-tier boundary refinement loop (/boundary).
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
council
nrdxp
The LAW a council SEAT is bound by — deliberation protocol, pact obligations, governance, and decision-ledger recording — the discipline half of a seat.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
remediation
nrdxp
Discipline for repairing a false claim once it has propagated: select what depends on it, produce a replacement, and accept with an expiring verdict.
SkillBFreshness: B★ 10Claude Code +9 - 0.545score
commit-hygiene
nrdxp
Rules, conventions, and constraints for formatting git commit messages and committing at logical boundaries.
SkillCFreshness: C★ 10Claude Code +9 - 0.545score
chronicle
nrdxp
Maintain and update the persistent project chronicle (docs/chronicle.md).
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
ai-audit
nrdxp
SOP for auditing AI-generated code.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
formal-foundations
nrdxp
Mathematical foundations, logical structures, and formal verification guidance.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
engineering
nrdxp
Core technical, safety, and maintainability rules for codebase edits.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
core
nrdxp
SOP for the micro-execution C.O.R.E.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
documentation
nrdxp
Writing quality guidelines, formatting conventions, and styling constraints for documentation.
SkillCFreshness: C★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 2
- Open issues
- 1
- Last commit (this folder)
- Jun 20, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nrdxp/predicate
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nrdxp
- 0.591score
refine
nrdxp
SOP for the automated refinement loop (/refine) workflow.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
record
nrdxp
Durable categorized record-keeping for any predicate-enabled walk.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
boundary
nrdxp
Normative sufficiency conditions for Initial Boundary Conditions (IBCs) and the SOP for the cheap-tier boundary refinement loop (/boundary).
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
remediation
nrdxp
Discipline for repairing a false claim once it has propagated: select what depends on it, produce a replacement, and accept with an expiring verdict.
SkillBFreshness: B★ 10Claude Code +9 - 0.590score
council
nrdxp
The LAW a council SEAT is bound by — deliberation protocol, pact obligations, governance, and decision-ledger recording — the discipline half of a seat.
SkillBFreshness: B★ 10Claude Code +9 - 0.545score
commit-hygiene
nrdxp
Rules, conventions, and constraints for formatting git commit messages and committing at logical boundaries.
SkillCFreshness: C★ 10Claude Code +9
Cite this page
security-audit skill. Agent Mart. https://agentmart.dev/skills/nrdxp-security-audit (last updated 2026-10-24)