Skip to content

Add Socket Basics security scanning workflow - #254

Merged
JakeUrban merged 1 commit into
stellar:mainfrom
kanwalpreetd:main
Oct 7, 2026
Merged

JakeUrban merged 1 commit into
stellar:mainfrom
kanwalpreetd:main

Conversation

@kanwalpreetd

@kanwalpreetd kanwalpreetd commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

@kanwalpreetd
kanwalpreetd force-pushed the main branch 4 times, most recently from 36fdec1 to 450510f Compare September 26, 2026 01:31
@kanwalpreetd
kanwalpreetd marked this pull request as ready for review September 28, 2026 12:42
Copilot AI lite review requested due to automatic review settings September 28, 2026 12:42

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

Critical authentication and scan-result handling issues remain unresolved.

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

Open (3)
What changed in this PR

Adds scheduled and manually triggered Socket Basics security scanning with scanner configuration, Semgrep exclusions, and a pinned Docker workflow.

Changes:

  • Adds Socket Basics scanner configuration.
  • Adds Semgrep ignore paths.
  • Adds scheduled/manual GitHub Actions scanning.
File Summary
.socket-basics.json Configures scanners and exclusions; Trivy vulnerability scanning is disabled.
.semgrepignore Defines SAST exclusion paths.
.github/​workflows/​socket-basics.yml Runs the scan; critical issues affect authentication and incomplete-scan failure handling, plus a nit regarding the Trivy comment.

💡 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 Resolved
Comment thread .github/workflows/socket-basics.yml Resolved
Comment thread .github/workflows/socket-basics.yml Resolved

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

Broad TruffleHog exclusions prevent scanning tests, fixtures, and examples for committed secrets.

Review effort: Lite
Findings: 1 High severity · 1 Low severity

Open (2)
Resolved since last review (1)

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

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 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

The workflow can report success after facts are written despite later operational failures.

Review effort: Lite
Findings: 1 High severity

Open (1)
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 review overview

🟡 Changes recommended

The workflow incorrectly fails clean scans when the valid components array is empty.

Review effort: Lite
Findings: 2 High severity

Open (2)

Comment thread .github/workflows/socket-basics.yml Resolved

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

Narrow the TruffleHog exclusions so credentials in test and fixture paths remain detectable.

Review effort: Lite
Findings: 2 High severity

Open (2)
Resolved since last review (1)

Comment thread .socket-basics.json Resolved
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 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 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 encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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 06:05

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

Address the frozen scanner image update path and avoid file-wide secret-scanning exclusions.

Review effort: Lite
Findings: 1 High severity

Open (1)
Resolved since last review (1)

@kanwalpreetd

Copy link
Copy Markdown
Contributor Author

Copilot review overview

🔵 Needs a closer look

Address the frozen scanner image update path and avoid file-wide secret-scanning exclusions.

Review effort: Lite Findings: 1 High severity

Open (1)

Resolved since last review (1)

@JakeUrban
JakeUrban merged commit 5800630 into stellar:main Oct 7, 2026
8 checks passed
@CassioMG CassioMG mentioned this pull request Oct 15, 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.

3 participants