toddcaron/codepulse

codepulse-vuln

Performs only the security vulnerability portion of the health check.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/toddcaron/codepulse --skill codepulse-vuln

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

Security Vulnerability Health Check

Input

Use the entire codebase as the context for this skill. Focus on source code, dependency manifests, package lock files, configuration files, infrastructure files, authentication code, authorization code, API endpoints, data access code, logging, secrets handling, and external integrations.

Exclude .md files, .gitignore files, generated files, build output, package caches, binaries, images, and other non-code files unless they are directly needed to evaluate security risk.

Scope

Perform only step 3 from healthcheck-full:

  • Analyze the code for security vulnerabilities using static code analysis techniques.
  • Match identified vulnerabilities with known CVEs where possible.
  • Provide a CVE database link for each matched vulnerability.
  • Assign a risk level of low, medium, or high for each vulnerability.

Do not perform LOC counting, general MFA review, general code quality review, dead code detection, dependency freshness review, or external access analysis unless those findings directly contribute to a security vulnerability.

Analysis Requirements

Look for evidence of:

  • SQL injection.
  • Cross-site scripting.
  • Command injection.
  • Path traversal.
  • Insecure deserialization.
  • Authentication bypass.
  • Authorization flaws.
  • Insecure direct object references.
  • Hardcoded secrets, keys, passwords, tokens, or connection strings.
  • Weak cryptography.
  • Sensitive data exposure.
  • Insecure logging of secrets or PII.
  • Missing input validation.
  • Unsafe file upload handling.
  • Overly permissive CORS.
  • Insecure dependency versions with known CVEs.
  • Unsafe external calls or unvalidated redirects.

For each finding, include:

  • Finding title.
  • Risk level: low, medium, or high.
  • Affected file or area.
  • Evidence from the codebase.
  • Why it matters.
  • Recommended remediation.
  • CVE reference when a direct match is found.
  • If no CVE match is found, state “No direct CVE match identified from available evidence.”

Shared References

Before generating findings, review:

  • references/report-template.html
  • references/grading-model.md
  • references/severity-ratings.md
  • references/recommendations-library.md

Requirements:

  • Generate reports using the report template.
  • Use the Severity Ratings framework when assigning Critical, High, Medium, Low, or Informational severity levels.
  • Validate known vulnerabilities using the CVE process defined in severity-ratings.md.
  • Use standardized remediation guidance from recommendations-library.md whenever applicable.
  • Assign the final assessment grade using grading-model.md.

Output

Create a focused HTML security vulnerability report. File output path = codepulse-vuln/reports/

Include:

  • Executive summary.
  • Findings grouped by severity.
  • CVE matches where available.
  • Risk rating for each finding.
  • Recommended fixes.
  • A letter grade from D to A for the vulnerability posture.
  • Clear next steps for remediation.

Do not claim that the codebase is secure unless the analysis found no meaningful vulnerabilities and the limitations of static review are clearly stated.

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills