Skip to content

fix(deps): remediate High Vanta vulns for POT-2264 (stale legacy/uv.lock SBOM) - #1047

Draft
shmbhvi101 wants to merge 1 commit into
mainfrom
cursor/pot-2264-vanta-vulnerability-fixes-9430
Draft

fix(deps): remediate High Vanta vulns for POT-2264 (stale legacy/uv.lock SBOM)#1047
shmbhvi101 wants to merge 1 commit into
mainfrom
cursor/pot-2264-vanta-vulnerability-fixes-9430

Conversation

@shmbhvi101

Copy link
Copy Markdown
Contributor

Vulnerability details

Linear: POT-2264

# Package Vulnerable range Fixed / status Advisory
1 cryptography (pip) >=44.0.0, <50.0.0 Workspace locks already 50.0.0 (#1042/#1045); this PR replaces stale legacy/uv.lock SBOM that still listed 49.0.0 CVE-2026-69247 / dependabot/377
2 aiohttp (pip) <=3.14.2 Workspace locks already 3.14.3 (#1038/#1045); this PR clears ghost 3.14.1 via empty legacy/uv.lock CVE-2026-69244 / dependabot/376
3 GitPython (pip) <=3.1.56 Floor already >=3.1.58 (#1045); ghost 3.1.54 cleared by empty lock dependabot/371
4–8 GitPython (pip) <=3.1.57 Same — floor >=3.1.58; empty lock removes ghost pin dependabot/380385

Why this PR

#1045 / #1042 already raised workspace floors (cryptography>=50.0.0, aiohttp>=3.14.3, gitpython>=3.1.58). #1046 added an empty legacy/pyproject.toml stub for Medium findings. GitHub’s dependency graph still listed a ghost legacy/uv.lock (file deleted in #1034) whose SBOM resolved aiohttp==3.14.1, cryptography==49.0.0, and gitpython==3.1.54 under potpie-legacy@0.1.0, so these High Vanta findings stayed open.

Fix summary

Validation

  • legacy/uv.lock: only potpie-legacy==0.1.1 (no aiohttp / cryptography / gitpython)
  • Workspace locks unchanged and still patched: aiohttp==3.14.3, cryptography==50.0.0, gitpython floor >=3.1.58
  • uv lock --check passes on root
  • OSV: aiohttp@3.14.3, cryptography@50.0.0, GitPython@3.1.58 → 0 vulns

Review

Please review: @yashkrishan
(Automated review request via GitHub API may return 403 for this integration token.)

Do not mark Linear Done — Vanta poller closes when findings clear.

Linear note

Linear MCP auth is unavailable in this cloud agent environment (needsAuth; interactive auth not available). Please authenticate Linear MCP / add LINEAR_API_KEY, move POT-2264 to In Progress, and comment with this PR URL.

Linear Issue: POT-2264

Open in Web Open in Cursor 

GitHub's dependency graph still served a ghost legacy/uv.lock from the
removed potpie-legacy demo host (aiohttp 3.14.1, cryptography 49.0.0,
gitpython 3.1.54), keeping High Dependabot/Vanta findings open even after
workspace floors were raised. Publish an empty lock + bump the hygiene
stub to 0.1.1 so the SBOM snapshot can clear.

Co-authored-by: Shambhavi Shinde <shmbhvi101@users.noreply.github.com>
@linear-code

linear-code Bot commented Aug 11, 2026

Copy link
Copy Markdown

POT-2264

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 51d15151-6808-4995-b090-7ccc0a4a4145

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

2 participants