What is the Security view?
The Security view shows security findings for a single project. It brings together results from Lovable’s built-in security scanners and findings from optional security connectors, such as Wiz and Aikido, so that you can understand risks, take action, and verify that your project is ready to publish. For details on how each scan works and when scans run, see Security overview. You’ll find the Security tab inside any Lovable project by going to More → Security in the project toolbar.Why use the Security view?
- Review all project security sources in one place
Built-in scan results and optional connector findings appear together, so you do not need to check separate tools to understand a project’s security status. - Catch issues early
Security issues are easier to fix during development than after deployment. The Security view helps identify common problems such as misconfigured database access, insecure code patterns, or vulnerable dependencies before your app goes live. - Focus on what matters
Not all security findings carry the same risk. Lovable groups findings by security area and labels them by severity, so you can start with critical issues and review lower-risk recommendations later. - Save time with guided fixes
Many findings include automated remediation options or clear guidance. You can ask Lovable to fix specific issues directly and review the resulting changes. - Track security as your project evolves
As your project changes, previous scan results may become outdated. The Security view clearly shows when scans need to be refreshed so you always know your project’s current security state.
Run scans
Two cards at the top of the Security view show the state of each built-in scan and let you run it:- Deep security scan (marked Recommended): Reviews all your code for issues specific to your app’s logic, permissions, and data, and includes everything in the Quick scan. This is the Deep scan.
- Quick security scan (marked Automatic): Checks your code and your live database configuration for common security issues and known misconfigurations, and runs automatically on every publish. This is the Quick scan.
- Not scanned yet: The scan has never run for this project.
- Last scan followed by how long ago it ran, with an Up to date label: The results reflect the current version of your project.
- Last scan with a Run deep scan or Run quick scan button: Your project has changed since the scan last ran. Click the button to scan the current version.
The Deep scan does not run automatically as you work. You can run it from the Security view or the workspace Security center. The publish dialog runs the Quick scan automatically and links to the Security view, where you can run a Deep scan before you publish.
- Before publishing
- After significant code or database changes
- When adding or updating dependencies
- Periodically for production applications
Included security findings
The Security view brings together security findings for one project. Depending on your project setup and workspace integrations, it can include:- Quick scan findings: Database access rules, dependencies with known vulnerabilities, and MCP server exposure. Wiz results also appear here when your workspace has connected Wiz. See Quick scan.
- Deep scan findings: Issues in your application code, such as data that the wrong people can read, endpoints that anyone can trigger, unsafe input handling, leaked secrets, and payment or sign-in flaws. See Deep scan.
- Wiz findings: Static analysis and software composition analysis results from a connected Wiz integration, including vulnerable dependencies and risky code patterns.
- Aikido findings: Confirmed exploitable issues from AI penetration tests run through the Aikido connector.
- Project dependencies: A list of project
npmdependencies with known issue counts by severity, a bulk fix action, and JSON export.
Review and fix security findings
The findings panel lists every open finding for the project, with a count in its header, for example 12 security findings. Ignored findings are not counted. Before the first scan, the panel reads Scan results will appear here. If the latest scan does not find anything, Lovable shows No issues found. This means the last scan did not surface any issues, but the scanner cannot catch every possible risk.How findings are grouped
Lovable groups its built-in findings into security areas. Each area is a collapsible group with a one-line description of what it protects and count badges by severity, such as 2 Critical or 1 Warning.
Only areas with findings appear. Groups are ordered by their most severe finding, then by how many findings they contain, so the group that needs attention first is at the top.
Findings that come from the same check appear as a single row within an area, for example the same issue on several endpoints or in several places in one file. Each affected endpoint, code path, policy, table, or function remains a separate finding. Click the row to open the group, then fix or ignore the findings together or select only the ones you want to address.
Severity labels
Each finding carries one of three labels:- Critical: Problems that need your attention immediately.
- Warning: Issues you should review and fix if necessary.
- Info: Suggestions to consider implementing.
Open a finding
Click a finding to review its details:- What could happen: A plain-language explanation of the risk.
- Technical details: The evidence and the source location. Click the location to open that line in the code editor.
- Ignore details: For ignored findings, who ignored the finding, when, and why.
- A link to background reading, such as Learn more about application code security.
Fix findings
You can ask Lovable to fix findings in several ways:- Fix one finding
Click Try to fix on the finding. On a group row, Try to fix covers every finding in the group. - Fix everything
Click Try to fix all in the header to send every open finding in one request. Ignored findings are left out. - Fix a selection
Select findings, groups, or whole security areas with the checkboxes, then click Try to fix selected. - Discuss a finding in the project chat
Open the … menu on a finding and choose Reference in chat. Lovable adds the finding to the project chat input, so you can ask a question about it or describe the fix you want. This is treated as standard build usage and consumes credits.
Ignore findings
If a finding does not apply to your use case, open its … menu and choose Ignore finding, then give a reason: This is intended, I accept this risk, This is wrong, or Custom. On a group row, the menu ignores every finding in the group, and Ignore selected in the header ignores everything you have selected with the checkboxes. Ignored findings move to Ignored findings at the bottom of the list, where you can review the reason and restore them with Unignore finding at any time. They do not count toward the header total and are left out of Try to fix all. Ignoring findings should be a deliberate decision. If you are unsure whether a finding applies, ask Lovable for clarification before ignoring it.Review project dependencies
The Security view shows a Project dependencies card with a count of projectnpm packages and known issues.
Click Review to open the dependency list. The list covers production dependencies (the packages your app uses when it runs) and leaves out development-only packages. Each row shows:
- Package name and version
- Known issues counts by severity, shown as badges such as 2 Critical or 1 High
- Click Scan dependencies to refresh the dependency audit
- Click Download list to download a JSON report of all listed dependencies and their vulnerabilities for audits or compliance reviews
Some vulnerabilities rated critical upstream are not treated as findings, either because they cannot affect Lovable apps (such as a build-time dependency that never runs in your deployed app) or because they are very unlikely to be exploited in practice. For the second case, Lovable uses the EPSS score, an industry estimate of how likely a vulnerability is to be exploited, and does not raise a finding when that likelihood is low.Either way, the package stays in the dependency list with an info marker instead of a severity badge, and hovering the marker explains which reason applies. These packages don’t count toward the Known issues total and are not included in Try to fix all requests, but their vulnerabilities still appear in the Download list export. The results refresh the next time a dependency scan runs, so click Scan dependencies to update an existing project, or wait for the next Quick scan.
Best practices for using the Security view
The Security view is designed for ongoing use throughout development, not just a final check before publishing. The following best practices reflect how builders commonly use it.- Keep security findings current
Review findings regularly and refresh scans when results become outdated, especially after adding features, changing database access, or updating dependencies. - Prioritize critical issues
Address Critical findings before warnings or informational items. Critical findings often represent exploitable vulnerabilities. - Use both scanning approaches
Use the built-in Quick and Deep scans in the Security view for structured checks and targeted fixes. Complement them by periodically asking Lovable to “review my app’s security” in the project chat for a narrative analysis that may catch issues the automated scans miss. If your workspace uses Wiz or Aikido, review those connector findings alongside Lovable’s built-in scan results. - Manage dependency risk proactively
Regularly review the dependency section and address high-severity vulnerabilities promptly. - Review and verify fixes
Automated fixes can save time, but always review the changes and test your app before continuing development. - Be deliberate when ignoring findings
Ignore findings only when they clearly do not apply. Revisit ignored findings as your project evolves. - Continue monitoring after publishing
Publishing is not the end of security work. Monitor new findings as your app changes over time.
FAQ
How do I access the Security view?
How do I access the Security view?
You’ll find the Security tab inside any Lovable project by going to More → Security in the project toolbar.
What does it mean when a scan is not up to date?
What does it mean when a scan is not up to date?
Your project has changed since the scan last ran. The scan card at the top of the Security view then shows a Run quick scan or Run deep scan button instead of Up to date, and findings from the earlier version carry a clock icon. Run the scan again to check the current version.
What is the difference between Quick scan, Deep scan, and asking Lovable to review security?
What is the difference between Quick scan, Deep scan, and asking Lovable to review security?
Quick scan runs a fixed set of checks in seconds. It looks for common database access issues, dependencies with known vulnerabilities, and an unprotected MCP server. Deep scan reviews your application code and takes longer, usually 3 to 13 minutes and at most 15. It includes everything in the Quick scan. Both are free and do not consume credits.Asking Lovable to review your app’s security in the project chat triggers a separate AI-driven review that provides a narrative report and recommendations. It does not update scan results or scan status. Conversational security reviews in the project chat consume credits.These approaches are complementary.
Can I use the Security view for published projects?
Can I use the Security view for published projects?
Yes. Continue monitoring security after publishing, especially when adding features or updating dependencies.
What happens if I publish with critical findings?
What happens if I publish with critical findings?
Lovable warns you before publishing if critical issues exist. You can choose to publish anyway, but this is strongly discouraged since critical findings typically represent exploitable vulnerabilities.
If your workspace has Block publishing with critical issues enabled, the publish dialog shows Fix security issues to publish, and you need to resolve the critical issues before you can publish.