Add Endor Labs MCP server scan integration #126
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enables security scanning using the Endor Labs MCP server scan tool to detect vulnerabilities, secrets, and dependency issues in the Java codebase.
Implementation
Scripts
run-endor-scan.sh- Bash wrapper with options for scan type selection (--all, --vulnerabilities, --secrets, --dependencies)endor_scan.py- Python interface with programmatic access to scan configurationBoth scripts are portable, using current directory by default with
REPO_PATHenvironment variable override.Documentation
README.md- Project overview with quick startENDOR_SCAN_README.md- Complete scanning guide and troubleshootingSCAN_REPORT.md- Repository analysis identifying high-risk dependencies (log4j-core:2.3, mysql-connector-java:5.1.42)scan_invocation_example.txt- MCP tool invocation referenceUsage
The scan analyzes 40 Java files and 20+ Maven dependencies for security issues.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.