toddcaron/codepulse

codepulse-vuln

Performs only the security vulnerability portion of the health check.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/toddcaron/codepulse --skill codepulse-vuln

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills