Add Socket Basics security scanning workflow - #2729
Open
kanwalpreetd wants to merge 1 commit into
Open
kanwalpreetd wants to merge 1 commit into
kanwalpreetd wants to merge 1 commit into
Conversation
kanwalpreetd
force-pushed
the
main
branch
4 times, most recently
from
September 26, 2026 00:10
dcab412 to
60458b0
Compare
Runs SAST through OpenGrep, secret scanning through TruffleHog, and
Dockerfile misconfiguration scanning through Trivy, submitting results
to Socket.dev.
.github/workflows/socket-basics.yml scheduled weekly + manual dispatch
.socket-basics.json scanner configuration
.semgrepignore SAST path exclusions
.trivyignore Dockerfile lint rules with no
security dimension (only present
where the repo has a Dockerfile)
Separate from socket-scan.yml, which covers dependency CVEs and Tier 1
reachability.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Fix the incomplete-scan exit handling and align the advertised Trivy coverage with the configured scans.
Review effort: Lite
Findings: 1
What changed in this PR
Adds scheduled/manual Socket Basics security scanning for SAST, secrets, and repository analysis.
Changes:
- Adds Socket Basics configuration and exclusions.
- Adds Semgrep exclusion patterns.
- Adds a pinned Docker-based GitHub Actions workflow.
| File | Summary |
|---|---|
.socket-basics.json |
Scanner settings and exclusions |
.semgrepignore |
SAST path exclusions |
.github/workflows/socket-basics.yml |
Scheduled/manual scan execution |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| exit 0 | ||
| fi | ||
| echo "::error::Socket Basics did not complete (docker exit $rc)" | ||
| exit "${rc:-1}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

More info: https://stellarorg.atlassian.net/wiki/spaces/SCRT/pages/5901680652/Socket+Basics+Integration+Guide