Skip to content

feat(ci): BE-089 automated dependency vulnerability gatekeeper - #1994

Closed
Ukorstack wants to merge 1 commit into
StellarDevHub:mainfrom
Ukorstack:feat/BE-089-web3lab
Closed

Ukorstack wants to merge 1 commit into
StellarDevHub:mainfrom
Ukorstack:feat/BE-089-web3lab

Conversation

@Ukorstack

Copy link
Copy Markdown

Add three files to enforce supply-chain security on every PR and push to main:

  • .github/workflows/malware-pr-guard.yml

    • Lockfile integrity check (pnpm install --frozen-lockfile)
    • pnpm audit --audit-level=high blocks High/Critical CVEs
    • Snyk SCA scan with SARIF upload to GitHub Security tab
  • .github/workflows/secret-scan.yml

    • Gitleaks v2 secret detection on full history (push) and PR diff
    • SARIF report uploaded to GitHub Security tab on every run
  • .gitleaks.toml

    • Extends Gitleaks built-in ruleset
    • Adds Stellar secret key, BIP-39 mnemonic, Ethereum private key, generic API token, and Snyk token detectors
    • Allowlist suppresses .wasm artifacts, Cargo.lock hashes, test fixtures, and GHA secrets expressions

Closes #1836

Add three files to enforce supply-chain security on every PR and push
to main:

- .github/workflows/malware-pr-guard.yml
  * Lockfile integrity check (pnpm install --frozen-lockfile)
  * pnpm audit --audit-level=high blocks High/Critical CVEs
  * Snyk SCA scan with SARIF upload to GitHub Security tab

- .github/workflows/secret-scan.yml
  * Gitleaks v2 secret detection on full history (push) and PR diff
  * SARIF report uploaded to GitHub Security tab on every run

- .gitleaks.toml
  * Extends Gitleaks built-in ruleset
  * Adds Stellar secret key, BIP-39 mnemonic, Ethereum private key,
    generic API token, and Snyk token detectors
  * Allowlist suppresses .wasm artifacts, Cargo.lock hashes,
    test fixtures, and GHA secrets expressions

Closes StellarDevHub#1836
@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

@ayomideadeniran is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 25, 2026

Copy link
Copy Markdown

@Ukorstack Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions

Copy link
Copy Markdown

⛔ Pull Request Rejected: Security Policy Violation

This pull request has been automatically closed because it violates the repository's supply-chain security policy:

  • ⚠️ Known malicious signature pattern detected in '.github/workflows/malware-pr-guard.yml'.
  • ⚠️ Remote shell execution pipe (curl/wget | sh) detected in '.github/workflows/malware-pr-guard.yml'.

Please review your changes and remove any prohibited files, scripts, or indicators.

@github-actions github-actions Bot closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BE-089] Automated Dependency Vulnerability Gatekeeper (npm audit, Snyk, Gitleaks) in CI/CD

2 participants