Skip to content

feat: add CodeQL SAST scanning and Dependabot dependency updates (clo… - #938

Open
Padmapriya2121 wants to merge 1 commit into
ShubhangiRoy12:mainfrom
Padmapriya2121:feature/codeql-dependabot-833
Open

feat: add CodeQL SAST scanning and Dependabot dependency updates (clo…#938
Padmapriya2121 wants to merge 1 commit into
ShubhangiRoy12:mainfrom
Padmapriya2121:feature/codeql-dependabot-833

Conversation

@Padmapriya2121

Copy link
Copy Markdown

Summary

Fixes #833 — the repo had no automated security or dependency scanning. This adds:

  1. CodeQL SAST scanning (.github/workflows/codeql.yml) — runs static security analysis on every push and PR to main, covering both JavaScript (frontend) and Python (backend/tracking_api.py). Also runs a scheduled full scan weekly.
  2. Dependabot (.github/dependabot.yml) — automatically opens PRs for outdated/vulnerable dependencies weekly, covering both the Python backend (backend/requirements.txt) and the GitHub Actions themselves.

Why this matters

  • Catches known vulnerability patterns (SQL injection, XSS, hardcoded secrets, etc.) automatically on every PR, before merge.
  • Keeps dependencies patched without manual tracking.
  • Directly reduces the risk called out in the issue: "the project might unknowingly merge code with known vulnerabilities or outdated, insecure dependencies."

Testing

GitHub Actions workflows can only be validated once pushed — see the Checks tab on this PR to confirm the CodeQL workflow runs successfully. Will update this PR if any config adjustments are needed based on the run.

@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

@Padmapriya2121 is attempting to deploy a commit to the Shubhangi Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

CRITICAL: Establish Automated CI Workflow for Security and Dependency Scanning

1 participant