Skip to content

SK-3018 gitleaks fix - #336

Open
skyflow-bharti wants to merge 1 commit into
mainfrom
SK-3018-gitleaks-detection-multiple-secret-exposures-identified
Open

SK-3018 gitleaks fix#336
skyflow-bharti wants to merge 1 commit into
mainfrom
SK-3018-gitleaks-detection-multiple-secret-exposures-identified

Conversation

@skyflow-bharti

Copy link
Copy Markdown
Collaborator

Why:

The security team's Gitleaks scan flagged 6 findings in skyflow-node — jwt and generic-api-key rule matches in Fern-auto-generated SDK files under src/ generated/rest/api/resources/. These are example JWTs and UUID-format token IDs embedded in @example doc-comment blocks (used to illustrate SDK usage in generated docs), not real credentials. Confirmed by decoding the flagged JWT, which resolves to the generic placeholder payload {"sub":"1234567890","name":"John Doe",...}.

Goal:

Suppress the 6 false-positive findings without touching the auto-generated source files (which would be overwritten on the next Fern codegen run anyway), using Gitleaks' native .gitleaksignore fingerprint suppression mechanism — consistent with the same fix applied in skyflow-react-native.

@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

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