endorlabs/skills-ideas · Archived

endor-scan

Fast security scan of the current repository using Endor Labs. Use when the user says "scan my code", "quick scan", "endor scan", "scan this repo", "run a security scan", or wants a rapid overview of vulnerabilities, secrets, and SAST issues. Also handles incremental PR scans when user mentions "just my changes" or "PR scan". Do NOT use for deep reachability analysis (/endor-scan-full) or checking a single package (/endor-check).

First seen Mar 21, 2026

Installation

$ npx skills add endorlabs/skills-ideas --skill endor-scan

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from endorlabs/skills-ideas · top by installs.

npx skills add endorlabs/skills-ideas

Browse all from endorlabs/skills-ideas

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,734 B
  • docs SUMMARY.md 451 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Endor Labs Quick Scan

Fast security scan of the current repository.

Workflow

Step 1: Run Scan via CLI

  1. Determine absolute path to cwd (scan tool requires fully qualified paths)
  2. Detect languages via manifest files: package.json/yarn.lock (JS/TS), go.mod/go.sum (Go), requirements.txt/pyproject.toml/setup.py (Python), pom.xml/build.gradle (Java), Cargo.toml (Rust)

Step 2: Run Scan

Full repository scan (default) - use scan MCP tool:

  • path: absolute path to repository root
  • scan_types: ["vulnerabilities", "dependencies", "sast", "secrets"]
  • scanoptions: { "quickscan": true }

Incremental PR scan (user mentions "PR", "pull request", "just my changes", "incremental", or is on feature branch):

  • Same path and scan_types
  • scanoptions: { "princremental": true }

Incremental scan reports only new findings vs base branch. Default to full quick scan if intent is ambiguous.

Always include "sast" in scan_types unless user explicitly requests specific types.

CLI fallback (only if MCP genuinely unavailable):

# Full quick scan
npx -y endorctl scan --path $(pwd) --quick-scan --dependencies --sast --secrets --output-type summary -n <namespace>

# Incremental PR scan
npx -y endorctl scan --path $(pwd) --pr --dependencies --sast --secrets --output-type summary -n <namespace>

CLI requires explicit --sast, --secrets, --dependencies flags.

Step 3: Retrieve Finding Details

For each critical/high finding UUID, use getresource MCP tool (uuid, resourcetype: Finding).

For reachability tag interpretation, read references/reachability-tags.md.

Step 4: Present Results

Include: scanned path, detected languages, scan mode (Quick/Incremental PR), severity summary table.

Top critical/high findings table: Package, CVE, Severity, Reachability, Description.

Priority order:

  1. Critical vulns (reachable first)
  2. High vulns (reachable first)
  3. Secrets/credentials
  4. SAST critical/high
  5. License issues
  6. Medium/Low

Next Steps

  1. /endor-fix {top-cve} - fix critical issues
  2. /endor-scan-full - full reachability analysis
  3. /endor-check {package} - check specific package
  4. /endor-explain {cve} - vulnerability details

For data source policy, read references/data-sources.md.

Error Handling

Show exact error messages — do not guess at causes. Suggest /endor-troubleshoot or /endor-setup as appropriate.

If a scan partially succeeds (e.g., dependency scan works but SAST fails), present the available results with a note about which scan types failed. Do not discard partial results.

Error Action
Auth error / browser opens Complete browser login, retry. Do not bypass to CLI
Missing auth config Run /endor-setup to choose an auth workflow (Local Development or Multi-Namespace). Do not add ENDORMCPSERVERAUTHMODE if ~/.endorctl/config.yaml exists — that causes a conflict.
No manifest found List supported languages
Scan timeout Use fewer scan_types or scan subdirectory
MCP unavailable /endor-setup. CLI fallback only if user confirms
Unknown error Show exact error, suggest /endor-troubleshoot