fix: apply 10 Shipwell audit findings#55
Closed
manasdutta04 wants to merge 1 commit into
Closed
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Hi @manasdutta04! 👋 Thanks for contributing to layr! 🎉 ⭐ Please star the repo if you like it! |
|
PR Closed Thanks for your interest, @manasdutta04. Even though this wasn't merged, we appreciate the effort! ⭐ Please star the repo if you like it! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠️ Shipwell Auto-Fix: audit
Automated fixes generated by Shipwell analysis.
✅ Applied Fixes (10)
api-proxy/vercel.json,api-proxy/api/chat.js,src/planner/providers/groq.tssrc/templates/templateBrowser.ts,src/templates/templateManager.tssrc/version-control/HistoryView.ts,src/version-control/VersionManager.tssrc/version-control/VersionManager.ts,src/version-control/HistoryView.tssrc/planner/providers/gemini.ts,src/planner/providers/groq.ts,src/planner/providers/ollama.ts+1 moresrc/extension.ts,src/utils/logger.tsapi-proxy/api/chat.jssrc/version-control/HistoryView.ts,src/templates/templateBrowser.tssrc/planner/providers/groq.tssrc/extension.tsFinding details
⚪ Wildcard CORS on API Proxy Allows Unauthorized API Abuse
Category: security
Files:
api-proxy/vercel.json,api-proxy/api/chat.js,src/planner/providers/groq.ts⚪ XSS Vulnerability in Template Browser Webview via Unsanitized Template Data
Category: security
Files:
src/templates/templateBrowser.ts,src/templates/templateManager.ts⚪ XSS via Inline Event Handlers in HistoryView Webview
Category: security
Files:
src/version-control/HistoryView.ts,src/version-control/VersionManager.ts⚪ Path Traversal Vulnerability in VersionManager.getVersion
Category: security
Files:
src/version-control/VersionManager.ts,src/version-control/HistoryView.ts⚪ Prompt Injection via Unescaped User Input in AI Prompts
Category: security
Files:
src/planner/providers/gemini.ts,src/planner/providers/groq.ts,src/planner/providers/ollama.ts,src/planner/refiner.ts⚪ Sensitive Environment Variable Loading with Debug Logging
Category: data-exposure
Files:
src/extension.ts,src/utils/logger.ts⚪ No Input Validation on Proxy Request Body Parameters
Category: security
Files:
api-proxy/api/chat.js⚪ Missing Content Security Policy in Webview Panels
Category: security
Files:
src/version-control/HistoryView.ts,src/templates/templateBrowser.ts⚪ Hardcoded Proxy URL Exposes Infrastructure Details
Category: data-exposure
Files:
src/planner/providers/groq.ts⚪ HTML Export Vulnerable to Script Injection via Plan Content
Category: security
Files:
src/extension.ts❌ Failed (2)
Generated by Shipwell 🚢