Skip to content

[TESTING] Canary the ynab-sast-scanner migration - #60

Closed
sgrammargs wants to merge 1 commit into
mainfrom
canary-test-ynab-sast-scanner-migration
Closed

[TESTING] Canary the ynab-sast-scanner migration#60
sgrammargs wants to merge 1 commit into
mainfrom
canary-test-ynab-sast-scanner-migration

Conversation

@sgrammargs

@sgrammargs sgrammargs commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Testing only — not to be merged.

Points this repo's socket-basics.yml at the unmerged ynab-sast-scanner and ynab-sast-scanner-suppressions branches (add-sast-scanner-infrastructure) and adds sast-canary/canary.py, which has one deliberate, unsuppressed finding (TLS verification disabled on an outbound request — critical + high). This confirms the new workflow doesn't just run, but actually fails a PR check on a real finding, the same way the current shared-actions-based workflow does today.

No fix will be pushed here — this PR is meant to sit red.

Points this repo's Socket Basics workflow at the unmerged ynab-sast-scanner
and ynab-sast-scanner-suppressions branches, and adds a fixture with a real,
unsuppressed finding (TLS verification disabled on an outbound request) to
confirm the new workflow actually fails a PR check, not just that it runs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Socket SAST Python

Summary

🔴 Critical: 1 | 🟠 High: 1 | 🟡 Medium: 0 | ⚪ Low: 0

Details

sast-canary/canary.py (🔴 Critical: 1 | 🟠 High: 1)

🔴 python-ssl-verify-disabled: CRITICAL

sast-canary/canary.py:8

    return requests.get(user_supplied_url, verify=False)

🟠 python-request-without-cert-validation: HIGH

sast-canary/canary.py:8

    return requests.get(user_supplied_url, verify=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security: critical Critical security vulnerabilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant