Skip to content
Automation
Skill

/vulnerability-scanner

Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.

From plugin
lihongwei-cn
5200 skills1 agent

Claude Code

$ npx -y skills add LiHongwei-cn/lihongwei-cn --skill vulnerability-scanner --agent claude-code

SKILL.md

vulnerability-scanner.SKILL.md
name: vulnerability-scanner
description: "Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization."
risk: unknown
source: community
date_added: "2026-02-27"

Vulnerability Scanner

> Think like an attacker, defend like an expert. 2025 threat landscape awareness.

๐Ÿ”ง Runtime Scripts

**Execute for automated validation:**

| Script | Purpose | Usage | |--------|---------|-------| | `scripts/security_scan.py` | Validate security principles applied | `python scripts/security_scan.py <project_path>` |

๐Ÿ“‹ Reference Files

| File | Purpose | |------|---------| | [checklists.md](checklists.md) | OWASP Top 10, Auth, API, Data protection checklists |

---

1. Security Expert Mindset

Core Principles

| Principle | Application | |-----------|-------------| | **Assume Breach** | Design as if attacker already inside | | **Zero Trust** | Never trust, always verify | | **Defense in Depth** | Multiple layers, no single point | | **Least Privilege** | Minimum required access only | | **Fail Secure** | On error, deny access |

Threat Modeling Questions

Before scanning, ask: 1. What are we protecting? (Assets) 2. Who would attack? (Threat actors) 3. How would they attack? (Attack vectors) 4. What's the impact? (Business risk)

---

2. OWASP Top 10:2025

Risk Categories

| Rank | Category | Think About | |------|----------|-------------| | **A01** | Broken Access Control | Who can access what? IDOR, SSRF | | **A02** | Security Misconfiguration | Defaults, headers, exposed services | | **A03** | Software Supply Chain ๐Ÿ†• | Dependencies, CI/CD, build integrity | | **A04** | Cryptographic Failures | Weak crypto, exposed secrets | | **A05** | Injection | User input โ†’ system commands | | **A06** | Insecure Design | Flawed architecture | | **A07** | Authentication Failures | Session, credential management | | **A08** | Integrity Failures | Unsigned updates, tampered data | | **A09** | Logging & Alerting | Blind spots, no monitoring | | **A10** | Exceptional Conditions ๐Ÿ†• | Error handling, fail-open states |

2025 Key Changes

2021 โ†’ 2025 Shifts:
โ”œโ”€โ”€ SSRF merged into A01 (Access Control)
โ”œโ”€โ”€ A02 elevated (Cloud/Container configs)
โ”œโ”€โ”€ A03 NEW: Supply Chain (major focus)
โ”œโ”€โ”€ A10 NEW: Exceptional Conditions
โ””โ”€โ”€ Focus shift: Root causes > Symptoms

---

3. Supply Chain Security (A03)

Attack Surface

| Vector | Risk | Question to Ask | |--------|------|-----------------| | **Dependencies** | Malicious packages | Do we audit new deps? | | **Lock files** | Integrity attacks | Are they committed? | | **Build pipeline** | CI/CD compromise | Who can modify? | | **Registry** | Typosquatting | Verified sources? |

Defense Principles

  • Verify package integrity (checksums)
  • Pin versions, audit updates
  • Use private registries for critical deps
  • Sign and verify artifacts

---

4. Attack Surface Mapping

What to Map

| Category | Elements | |----------|----------| | **Entry Points** | APIs, forms, file uploads | | **Data Flows** | Input โ†’ Process โ†’ Output | | **Trust Boundaries** | Where auth/authz checked | | **Assets** | Secrets, PII, business data |

Prioritization Matrix

Risk = Likelihood ร— Impact

High Impact + High Likelihood โ†’ CRITICAL
High Impact + Low Likelihood  โ†’ HIGH
Low Impact + High Likelihood  โ†’ MEDIUM
Low Impact + Low Likelihood   โ†’ LOW

---

5. Risk Prioritization

CVSS + Context

| Factor | Weight | Question | |--------|--------|----------| | **CVSS Score** | Base severity | How severe is the vuln? | | **EPSS Score** | Exploit likelihood | Is it being exploited? | | **Asset Value** | Business context | What's at risk? | | **Exposure** | Attack surface | Internet-facing? |

Prioritization Decision Tree

Is it actively exploited (EPSS >0.5)?
โ”œโ”€โ”€ YES โ†’ CRITICAL: Immediate action
โ””โ”€โ”€ NO โ†’ Check CVSS
         โ”œโ”€โ”€ CVSS โ‰ฅ9.0 โ†’ HIGH
         โ”œโ”€โ”€ CVSS 7.0-8.9 โ†’ Consider asset value
         โ””โ”€โ”€ CVSS <7.0 โ†’ Schedule for later

---

6. Exceptional Conditions (A10 - New)

Fail-Open vs Fail-Closed

| Scenario | Fail-Open (BAD) | Fail-Closed (GOOD) | |----------|-----------------|---------------------| | Auth error | Allow access | Deny access | | Parsing fails | Accept input | Reject input | | Timeout | Retry forever | Limit + abort |

What to Check

  • Exception handlers that catch-all and ignore
  • Missing error handling on security operations
  • Race conditions in auth/authz
  • Resource exhaustion scenarios

---

7. Scanning Methodology

Phase-Based Approach

1. RECONNAISSANCE
   โ””โ”€โ”€ Understand the target
       โ”œโ”€โ”€ Technology stack
       โ”œโ”€โ”€ Entry points
       โ””โ”€โ”€ Data flows

2. DISCOVERY
   โ””โ”€โ”€ Identify potential issues
       โ”œโ”€โ”€ Configuration review
       โ”œโ”€โ”€ Dependency analysis
       โ””โ”€โ”€ Code pattern search

3. ANALYSIS
   โ””โ”€โ”€ Validate and prioritize
       โ”œโ”€โ”€ False positive elimination
       โ”œโ”€โ”€ Risk scoring
       โ””โ”€โ”€ Attack chain mapping

4. REPORTING
   โ””โ”€โ”€ Actionable findings
       โ”œโ”€โ”€ Clear reproduction steps
       โ”œโ”€โ”€ Business impact
       โ””โ”€โ”€ Remediation guidance

---

8. Code Pattern Analysis

High-Risk Patterns

| Pattern | Risk | Look For | |---------|------|----------| | **String concat in queries** | Injection | `"SELECT * FROM " + user_input` | | **Dynamic code execution** | RCE | `eval()`, `exec()`, `Function()` | | **Unsafe deserialization** | RCE | `pickle.loads()`, `unserialize()` | | **Path manipulation** | Traversal | User input in file paths | | **Disabled security** | Various | `verify=False`, `--insecure` |

Secret Patterns

| Type | Indicators | |------|-----------| | API Keys | `api_key`, `apikey`, high entropy | | Tokens | `token`, `bearer`, `jwt` | | Credentials | `password`, `secret`, `key` | | Cloud | `AWS_`, `AZURE_`, `GCP_` prefixes |

---

9. Cloud Security Considerations

Shared Responsibility

| Layer | You Own | Provider Owns | |-------|---------|---------------| | Data

Read more
@lihongwei-cn
Ships withlihongwei-cn

MUNDO - THE EMPEROR. Complete AI orchestration system with 1208 skills, 25 capability modules, self-evolving, collective consciousness. GitHub Actions 24/7 automation.

5200 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5
Star history of LiHongwei-cn/lihongwei-cn on GitHub, a chart by star-history.com

Other skills on lihongwei-cn.

cheat-on-content

cheat-on-content

็ป™ๆ‰€ๆœ‰ๆƒณๆŠŠ"ๆ„Ÿ่ง‰"ๅ˜ๆˆๅฏๆ กๅ‡†้ข„ๆต‹็š„ๅ†…ๅฎนๅˆ›ไฝœ่€…ใ€‚**ๆ–นๆณ•่ฎบ้€š็”จ**โ€”โ€”ๆ‰“ๅˆ† โ†’ ็›ฒ้ข„ๆต‹ โ†’ T+3d ๅค็›˜ โ†’ ่ฟ›ๅŒ– rubric ็š„ๅพช็Žฏ้€‚็”จไปปไฝ•่ƒฝ่ขซ้‡ๅŒ–๏ผˆๆ’ญๆ”พ / ้˜…่ฏป / ๆ”ถๅฌ / ็‚นๅ‡ป๏ผ‰็š„ๅ†…ๅฎนใ€‚**rubricโ€ฆ

cheat-bump

cheat-bump

ๆ่ฎฎๅนถๆ‰ง่กŒ rubric ๆˆ– bucket ๅ‡็บงใ€‚ไธค็งๆจกๅผ๏ผš**ๅฎŒๆ•ด rubric bump**๏ผˆๆœ€้ซ˜้ฃŽ้™ฉๅŠจไฝœ๏ผŒ5 ๆญฅๅผบๅˆถ + ่ทจๆจกๅž‹ๅฎกๆ ธ๏ผ‰ๅ’Œ **--bucket-only ่ฝป้‡้‡ๆ ก**๏ผˆๅชๆข bucket ่พน็•Œ๏ผŒไธๅŠจ rubric ๅ…ฌๅผ๏ผ‰ใ€‚**Phaseโ€ฆ

cheat-init

cheat-init

cheat-on-content ็š„้ฆ–ๆฌก onboarding ไธŽ่„šๆ‰‹ๆžถๅˆ›ๅปบๅ™จใ€‚็ปŸไธ€ๆต็จ‹โ€”โ€”ๆ‰€ๆœ‰็”จๆˆท้ƒฝ่ตฐ็›ธๅŒ 5 ้˜ถๆฎต้—ญ็Žฏ๏ผŒๅ”ฏไธ€ๅŒบๅˆซๆ˜ฏ"ๅ‘่ฟ‡่ง†้ข‘็š„ไบบ"ไผšๅœจ init ๆ—ถๅคšไธ€ๆญฅ๏ผšๆŠ“ๅ–ๅทฒๆœ‰่ง†้ข‘ๅปบ็ซ‹ๅކๅฒ context๏ผˆ็”จไบŽๅŽ็ปญ cheat-seedโ€ฆ

cheat-learn-from

cheat-learn-from

ไปŽๅฏนๆ ‡่ดฆๅทๅฏผๅ…ฅ script + ๆ•ฐๆฎ โ†’ ๆ‹† pattern + ๆดพ็”Ÿ base rubric ไฟกๅท โ†’ ๅ†™ๅˆฐ benchmark.md / script_patterns.md /โ€ฆ

cheat-migrate

cheat-migrate

ๆŠŠ่€็”จๆˆท็š„ .cheat-state.json ๅ‡็บงๅˆฐๅฝ“ๅ‰ schema_versionใ€‚่ฏป migrations/registry.md ็ฎ—่ฟ็งป้“พ๏ผŒๆŒ‰้กบๅบๅบ”็”จๆฏไธ€ๆญฅ่ฟ็งปๆ–‡ไปถใ€‚ๅน‚็ญ‰๏ผš่ท‘ไธคๆฌก็ป“ๆžœไธ€ๆ ทใ€‚ๅคฑ่ดฅๅœๅœจไธญ้—ด็‰ˆๆœฌไธๅ‰่ฟ›ใ€‚่งฆๅ‘่ฏ๏ผš"่ฟ็งป"/"ๅ‡็บงโ€ฆ

cheat-persona

cheat-persona

ไปŽๅค็›˜่ฏ„่ฎบๆ•ฐๆฎๆดพ็”Ÿ / ๅˆทๆ–ฐ่ดฆๅท็š„ๅ—ไผ—็”ปๅƒ๏ผŒๅ†™ๅ…ฅ audience.mdใ€‚่ฟ™ๆ˜ฏๅ’Œ rubric ๅนณ่กŒ็š„็ฌฌไบŒไธชๆดพ็”Ÿ็‰ฉโ€”โ€”rubric ็ญ”"ๆ€Žไนˆๆ‰“ๅˆ†"๏ผŒpersona ็ญ”"่ฐๅœจ็œ‹"ใ€‚cheat-seed ้€‰้ข˜ / ๅ†™็จฟๆ—ถ่ฏปๅฎƒใ€‚**audience.mdโ€ฆ

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, andโ€ฆ

n8n11d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also coversโ€ฆ

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, fillingโ€ฆ

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use whenโ€ฆ

@nanocoai@nanocoaiInstall Skill

Questions about vulnerability-scanner.

Which coding agents can use vulnerability-scanner?
vulnerability-scanner installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.