Skip to content

GitGuardian secret scan on package publish (blocking) - #673

Open
alok-cstk wants to merge 1 commit into
mainfrom
feat/gitguardian-publish-scan
Open

alok-cstk wants to merge 1 commit into
mainfrom
feat/gitguardian-publish-scan

Conversation

@alok-cstk

Copy link
Copy Markdown

Adds a GitGuardian scan at the npm postpack stage so the exact tarball being published is scanned. Existing postpack scripts are preserved (scan chained in front). All publish jobs install ggshield and pass GITGUARDIAN_API_KEY. Blocking: a detected secret fails the publish. Validated locally (clean pack exits 0; a planted secret in the published output exits 1). Same pattern as cli #2737, types-generator, contentstack-management-javascript. Requires repo/org secret GITGUARDIAN_API_KEY before the next release. IS-7341

@alok-cstk
alok-cstk requested review from a team as code owners October 29, 2026 12:48
@snyk-io

snyk-io Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 2 0 10 ✅ Passed
🟠 High Severity 2 0 25 ✅ Passed
🟡 Medium Severity 3 0 500 ✅ Passed
🔵 Low Severity 1 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 68.26% 2564 / 3756
🔵 Statements 67.12% 2605 / 3881
🔵 Functions 65.66% 461 / 702
🔵 Branches 62.58% 1547 / 2472
File CoverageNo changed files found.
Generated in workflow #956 for commit b0a1fac by the Vitest Coverage Report Action

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.

1 participant