Skip to content

ci: integrate Trivy Docker image vulnerability scanning - #837

Merged
Nitya-003 merged 3 commits into
Nitya-003:mainfrom
AnzalKhan16:feature/trivy-security-scan
Jul 29, 2026
Merged

ci: integrate Trivy Docker image vulnerability scanning#837
Nitya-003 merged 3 commits into
Nitya-003:mainfrom
AnzalKhan16:feature/trivy-security-scan

Conversation

@AnzalKhan16

Copy link
Copy Markdown
Contributor

📌 Overview
Integrated Trivy vulnerability scanning into the GitHub Actions CI workflow to automatically scan our Docker images (Frontend, Backend, ML Service) before they are deployed. The workflow is configured to block CI if any HIGH or CRITICAL vulnerabilities are found, and SARIF reports are uploaded directly to the GitHub Security Code Scanning tab. I also added a section in SECURITY.md detailing the automated Docker vulnerability scanning.

🛠️ Type of Change
[ ] ⛓️ Smart Contract (Solidity changes, Gas optimization)
[ ] 💻 Frontend (UI/UX, React components, Tailwind)
[ ] ⚙️ Backend (API routes, MongoDB schemas, Middleware)
[x] 📄 Documentation (README, Roadmap updates, SECURITY.md)
[x] 🧪 Testing (Hardhat tests, Jest/Vitest, CI/CD Pipeline & Security Scanning)

🔗 Related Issue
Closes #836

🧪 Testing & Verification
Smart Contracts: npx hardhat test passed? (NA)
Frontend: Verified on Mobile/Desktop responsiveness? (NA)
Integration: Verified ethers.js connectivity with local/testnet node? (NA)

📸 Screenshots / Demos
(N/A - CI configuration updates only)

✅ PR Checklist
[x] My code follows the project's style guidelines.
[x] I have commented my code, particularly in complex areas (e.g., Smart Contract logic).
[x] I have updated the documentation accordingly.
[x] My changes generate no new warnings.

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@AnzalKhan16 is attempting to deploy a commit to the Nitya Gosain's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Nitya-003 Nitya-003 added enhancement New feature or request gssoc:approved gssoc'26 approved quality:clean *1.2 for contributor +5 pts for mentor type:feature level:intermediate 35 pts for contributor 20 pts for mentor labels Jul 29, 2026
@Nitya-003
Nitya-003 merged commit 9be061a into Nitya-003:main Jul 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gssoc:approved gssoc'26 approved level:intermediate 35 pts for contributor 20 pts for mentor quality:clean *1.2 for contributor +5 pts for mentor type:feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Trivy vulnerability scanning for Docker images

2 participants