Skip to content

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

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 30, 2026 11:15
@snyk-io

snyk-io Bot commented Oct 30, 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 0 1 10 ✅ Passed
🟠 High Severity 0 363 25 ✅ Passed
🟡 Medium Severity 0 518 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

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

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 1
  • High without fixes: 363
  • Medium without fixes: 518
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

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