Skip to content

Add Socket Basics security scanning workflow - #3014

Merged
JakeUrban merged 3 commits into
stellar:masterfrom
kanwalpreetd:master
Oct 7, 2026
Merged

JakeUrban merged 3 commits 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 8d447c6 to 082d27e Compare September 26, 2026 01:27
@kanwalpreetd
kanwalpreetd marked this pull request as ready for review September 28, 2026 12:37
Copilot AI lite review requested due to automatic review settings September 28, 2026 12:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 and moderate security-scan configuration and workflow issues require changes before approval.

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

Open (2)
What changed in this PR

Adds a scheduled and manually triggered Socket Basics security scanning workflow.

Changes:

  • Configures SAST and secret scanning.
  • Adds Semgrep exclusion rules.
  • Adds a pinned Docker-based GitHub Actions workflow.
File Summary
.socket-basics.json Configures scanner features and exclusions; several security coverage issues require changes.
.semgrepignore Defines SAST exclusions.
.github/​workflows/​socket-basics.yml Runs the scheduled/manual scan; completion handling has a critical issue.

💡 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 Outdated
Comment thread .socket-basics.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Address the moderate security-scan suppression findings before approval.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
Resolved since last review (1)

Comment thread .socket-basics.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 exposes a persisted GitHub token to the scanner, while scan exclusions omit test secrets and sensitive log checks.

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

Open (4)

Comment thread .github/workflows/socket-basics.yml
Comment thread .socket-basics.json Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Moderate issues remain in suppression scope and scan failure handling.

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

Open (5)

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread .socket-basics.json
Copilot AI lite review requested due to automatic review settings September 29, 2026 22:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread .socket-basics.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread .socket-basics.json
Copilot AI lite review requested due to automatic review settings October 2, 2026 01:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Remove the global sensitive-data-in-logs suppression and use path-specific overrides for verified false positives.

Review effort: Lite
Findings: 5 Medium severity

Open (5)
Resolved since last review (1)

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@kanwalpreetd

Copy link
Copy Markdown
Contributor Author

Copilot review overview

🔵 Needs a closer look

Broad scanner suppressions can hide future secrets, credentials, and sensitive-data logging.

Review effort: Lite Findings: 5 Medium severity

Open (5)

Copilot AI lite review requested due to automatic review settings October 7, 2026 21:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

All reviewed changes are covered and no unresolved blocking issues were identified.

0 open findings

5 resolved since last review

🧠 Review effort: Lite


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@JakeUrban
JakeUrban merged commit a701189 into stellar:master Oct 7, 2026
11 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