Repository navigation
ci(security): add automated static security analysis and vulnerability scanning pipeline - #1952
Merged
K1NGD4VID merged 3 commits intoNov 24, 2026
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 |
| run: semgrep scan --config auto --sarif --output=semgrep.sarif || true | ||
|
|
||
| - name: Upload Semgrep SARIF report | ||
| uses: github/codeql-action/upload-sarif@v3 |
…y scanning pipeline (LabsCrypt#1334)
Vitest only writes coverage when the run succeeds unless reportOnFailure is set, so the PR coverage action was invoked against a missing coverage-summary.json and failed with ENOENT. Generate the report on failing runs and only post the comment when a summary exists. Also fix the two backend lint errors: the bracket-access parse error in webhook-auth.test.ts and the unused mock callback in token-registry.
gitleaks-action@v2 refuses to run in an organisation repository without a paid GITLEAKS_LICENSE, so the job failed on every run. Install the MIT-licensed CLI instead, and keep the default ruleset with a narrow allowlist for the public Stellar contract addresses used by tests, seed data and docs.
simplex001
force-pushed
the
feat/security-pipeline-1334
branch
from
November 24, 2026 14:03
5f1b05c to
e70c212
Compare
| contents: read | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 |
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.
Overview & Background
Implements an automated static security analysis and vulnerability scanning pipeline in CI to detect supply chain vulnerabilities, secret leaks, and static code vulnerabilities on all pull requests and weekly scheduled runs.
Technical Changes
Security Workflow (
.github/workflows/security.yml):secret-scanning): Integrated Gitleaks to scan repository history across all PRs with full commit history inspection.semgrep-sast): Integrated Semgrep SAST scanning with automated SARIF output uploaded to the GitHub Security tab viagithub/codeql-action/upload-sarif@v3.cargo auditchecks Soroban contracts andnpm audit --audit-level=highruns across all workspaces.0 0 * * 0(every Sunday at midnight UTC).Documentation (
SECURITY.md):Closes #1334