Skip to content

Add Socket Basics security scanning workflow - #234

Merged
kanwalpreetd merged 1 commit into
stellar:masterfrom
kanwalpreetd:master
Oct 5, 2026
Merged

kanwalpreetd merged 1 commit into
stellar:masterfrom
kanwalpreetd:master

Conversation

@kanwalpreetd

@kanwalpreetd kanwalpreetd commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

@kanwalpreetd
kanwalpreetd force-pushed the master branch 4 times, most recently from 3531c59 to 247c52f Compare September 26, 2026 01:31
@kanwalpreetd
kanwalpreetd marked this pull request as ready for review September 28, 2026 12:36
Copilot AI lite review requested due to automatic review settings September 28, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved critical workflow security and scan-result handling issues must be addressed before approval.

Review effort: Lite
Findings: 2 High severity · 1 Medium severity

Open (3)
What changed in this PR

Adds scheduled/manual Socket Basics security scanning with SAST, secret detection, exclusions, and a pinned Docker-based workflow.

Changes:

  • Configures Socket Basics scanners and exclusions.
  • Adds Semgrep exclusion patterns.
  • Adds the scheduled/manual security scan workflow.
File Summary and review findings
.socket-basics.json Configures scanner settings and exclusions. Moderate (1 vote): Trivy scanning is disabled despite being claimed in the workflow description.
.semgrepignore Defines SAST exclusion paths.
.github/​workflows/​socket-basics.yml Runs the scheduled/manual scan. Critical (1 vote): Checkout credentials may be exposed to the third-party container. Critical (1 vote): High/critical findings are converted to success and the parser does not match the scanner output. Moderate (2 votes): An incomplete scan can pass when the container exits with status 0. Nit (1 vote): The Dockerfile scanning description does not match the configured coverage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/socket-basics.yml
Comment thread .github/workflows/socket-basics.yml Outdated
Comment thread .github/workflows/socket-basics.yml Outdated
Copilot AI review requested due to automatic review settings September 29, 2026 07:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The workflow’s warning parser does not detect Socket Basics high/critical findings before suppressing the scanner’s failure status.

Review effort: Lite
Findings: 1 High severity

Open (1)
Resolved since last review (2)

Copilot AI review requested due to automatic review settings September 29, 2026 08:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings September 29, 2026 09:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI lite review requested due to automatic review settings September 29, 2026 22:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Narrow the broad secret-scan exclusions to avoid missing credentials in excluded paths and lockfiles.

Review effort: Lite
Findings: None

Resolved since last review (1)

Copilot AI lite review requested due to automatic review settings September 29, 2026 23:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI lite review requested due to automatic review settings September 30, 2026 00:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Lockfile exclusions create a moderate secret-scanning blind spot.

Review effort: Lite
Findings: None

Copilot AI lite review requested due to automatic review settings October 2, 2026 01:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved blocking issues were identified.

Review effort: Lite
Findings: None

Runs SAST through OpenGrep, secret scanning through TruffleHog, and
Dockerfile misconfiguration scanning through Trivy, submitting results
to Socket.dev.

  .github/workflows/socket-basics.yml  scheduled weekly + manual dispatch
  .socket-basics.json                  scanner configuration
  .semgrepignore                       SAST path exclusions
  .trivyignore                         Dockerfile lint rules with no
                                       security dimension (only present
                                       where the repo has a Dockerfile)

Separate from socket-scan.yml, which covers dependency CVEs and Tier 1
reachability.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 2, 2026 02:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

@kanwalpreetd
kanwalpreetd requested a review from anupsdf October 2, 2026 19:37
@kanwalpreetd
kanwalpreetd merged commit fd8df1b into stellar:master Oct 5, 2026
7 checks passed
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.

3 participants