Skip to main content
The security scan checks your entire app and shows you a clear list of any issues it finds.
The Security page in the app editor dashboard, with Security selected in the sidebar and Run Security Scan outlined

The Security page

For each issue, it explains what the problem is and gives you a recommended fix you can apply with a single click.
Your responsibility and access:
  • You are responsible for your app’s security. The AI chat can help set things up, but always review your settings and run a security scan to make sure everything is configured the way you intended.
  • The security scan is available on all plans, including the free plan.

Running a scan

Run a security scan whenever you want to check your app for issues and apply the recommended fixes. You can scan from the Security page in the app editor, on your computer or in a browser on your phone. You can also scan from the Base44 app on iPhone or Android.
Before you apply fixes:
  • Review each recommendation: The scan doesn’t apply fixes automatically, so check what each fix changes first.
  • Rescan after changing your app: If you changed your app after the last scan, the fix buttons are turned off until you run the scan again, so every fix works from up-to-date results.
  • Fixes the AI makes use credits: Some fixes are sent to the AI chat to make, and those use credits.
  • Exposed credentials: Paste the issue into the AI chat in Discuss mode to get step-by-step instructions.

Scanning in the app editor

Scan your app from the Security page in your app editor, on your computer or in a browser on your phone, to see every issue in one list and fix them in a few clicks. To run a security scan:
  1. Go to your app editor.
  2. Click Dashboard.
  3. Click Security.
    In a browser on your phone, tap the drop-down at the top of the dashboard that shows the page you’re on, then choose Security.
  4. Click Run Security Scan. Each area shows Checking while it runs, and its results appear as soon as it finishes, so you can start reviewing before the whole scan is done. If an area shows Not checked, run the scan again to retry it.
  5. Review the issues the scan finds. Switch between the By category and By severity views, and use the drop-downs to jump to a group of issues or a severity level.
    In a browser on your phone, the views show as icons only. The list icon is By severity, and the other icon is By category.
  6. Apply fixes once the scan finishes:
    A screenshot of the Security page listing issues by severity, with the Fix all button at the top of the list outlined

    Reviewing and fixing security scan issues

    • Click Fix all at the top of the list in the severity view to apply every recommended fix at once, or on a group in the category view to fix just that group.
    • Select specific issues and click the fix button, which shows how many you chose, such as Fix 3 selected.
    • Expand an individual issue to review and fix it on its own. The per-issue buttons appear in the By category view.
    • In a browser on your phone, a fix that goes to the AI opens the AI chat in a panel over the Security page and sends the request for you. Close the panel to get back to the list.
Security status when you publish:The publish panel shows your app’s security status. It warns you, but it doesn’t stop you from publishing.
  • No risks: Your last scan found nothing to fix.
  • Out of date: Your app changed since the last scan. Click Scan to check it again.
  • Risks found: Click Risks found to open the Security page and see the issues.

Scanning in the Base44 app

The Base44 app is Base44’s own app for iPhone and Android. It has a Security screen with the same scan and fixes as the app editor.
Before you scan from the Base44 app:
  • You need edit access to the app.
  • Apps you imported from GitHub to work on in Base Code don’t have the security scan.
  • Some tools, like penetration tests and scheduled scans, are only in the app editor. Tap Open Security on the web at the bottom of the screen to open the Security page in your phone’s browser.
To run a security scan in the Base44 app:
  1. Open the Base44 app on your phone.
  2. Open your app.
  3. Tap the Dashboard icon (a gear) at the top of the screen.
  4. Tap Security. The number next to it shows how many open issues your last scan found.
  5. Tap Run security scan. If you scanned before, tap Rescan instead.
    The Security screen in the Base44 app, with Rescan outlined under Security scan, above the issue list

    Rescanning your app in the Base44 app

  6. Review the issues, which are listed from the most severe down.
  7. Choose what to do:
    The bottom of the Security screen in the Base44 app, with the Fix all button outlined below the issue list

    Fixing issues in the Base44 app

    • Fix all: Tap Fix all to fix every issue at once. Base44 applies the fixes it can make on its own, then opens the AI chat with the rest.
    • Fix one issue: Tap the issue to open it, then tap the button it shows, such as Fix or Fix with AI. Some issues show Explore with AI or Publish instead, as explained in understanding the scan results.
    • Acknowledge an issue: Tap the issue to open it, then tap Acknowledge if it isn’t a concern for your app.
When you publish from the Base44 app, the Security scan row shows the same status as in the app editor: no risks, out of date, or how many risks were found. Tap the row to open the Security screen.

Acknowledging issues

If an issue is not a security concern for your app, click the More actions icon on that issue and select Acknowledge. It moves to the Acknowledged section at the bottom of the list and don’t reappear the next time you scan. To bring an acknowledged issue back:
  • On your computer: Open the Acknowledged section and click Restore.
  • In the Base44 app: Tap Restore next to the issue at the bottom of the Security screen.
A screenshot of a security issue's More actions menu open, with Acknowledge outlined

Acknowledging an issue


Tracking and reverting fixes

When you apply a fix, whether you use Fix all or fix a single issue, Base44 records it as a message in your app’s AI chat and creates a checkpoint before making the change. Each message shows what the issue was and what changed, so you have a clear record of every security change made to your app. If a fix does not work the way you expected, revert it from its checkpoint in the chat to roll your app back to the state it was in before the fix.

Understanding the scan results

The scan checks for the following types of issues.

Permissions

These appear when a data table is missing permission rules, or when people have more access than they should. Each issue shows the affected table, a description of the problem, and a table of recommended rules. Click Fix all to apply the recommendations, or click into the table to customize permissions manually. If your app doesn’t require login, a permissions fix can break a page where visitors look up something they submitted, such as a booking, without logging in. When that happens, the fix’s message in the AI chat shows Fix the visitor lookup page. Click it to send the AI a ready-made request to get that page working again while keeping the records private.
A screenshot of a Permissions issue expanded to show its data table and recommended rules, with Fix all outlined

Permissions issues on the Security page

User field access

App users can change the custom fields on their own user profile. If your access rules rely on one of these fields, such as a company field that decides which records someone sees, a user could change it to another organization’s value and get that organization’s access. The scan lists each of these fields under User field access, along with the data tables whose rules read it. Expand an issue to see the rules that read the field and what the fix does. These issues are rated High if anyone can sign up for your app, and Medium otherwise. Click Fix all under User field access. The AI locks each field so only your app’s editors can change it, and moves every place your app sets it, such as during onboarding, into a check that runs on the server. Test any signup or onboarding steps that set the field, then run the scan again.
A screenshot of User field access on the Security page, with an issue expanded and the title outlined

An expanded issue under User field access

Private fields

These appear on public apps when a data table that everyone can read on purpose, such as testimonials or listings, has a field that holds private data, such as an email address, phone number, or token. Anyone who can open your app can read that field on every record. The scan lists each of these fields under Private fields, along with its data table. Expand an issue to see why the field was flagged and what the fix does. These issues are always rated High. Click Fix all under Private fields. The AI adds a field-level rule to each field so only the record’s creator and your app’s admins can see it, and updates any page that shows the field to everyone. The rest of each record stays public. Check the pages that show these records, then run the scan again.
A screenshot of Private fields on the Security page, with 2 High issues and Fix all outlined

Private fields on the Security page

Creator emails

In older apps, every record includes the email address of the person who created it. Anyone who can see a record can also see that email, and if your app doesn’t require login, that’s anyone who opens your app. The scan shows this under Creator emails when at least one of your data tables can be read by everyone. It’s rated High if your app doesn’t require login, and Medium otherwise. Expand the issue to see why it matters and what the fix does. How you fix it depends on whether your app uses the email:
  • Your app doesn’t use it: Click Fix to hide the creator’s email from the people using your app. Your app keeps working the same way.
  • Your app uses it: The issue lists each place under Where your code uses it. Click Resolve with AI, and the AI updates those places so your app works without the email. Check the affected pages, then publish your app. Publishing hides the email.
Sometimes the issue asks you to publish before hiding creator emails instead. This means your code no longer uses the email, but your live app still runs an older version. Click Publish changes, then click Fix.

Exposed secrets

These appear when API keys, passwords, or tokens are found somewhere app visitors could access them. Anyone who finds these credentials could use them to access your external services or data. To fix an exposed credential, remove it from the affected area and store it securely. Paste the issue into the AI chat in Discuss mode for step-by-step instructions.

Backend functions

Backend functions are the parts of your app that run behind the scenes, and each one has its own web address. The scan checks whether a stranger could call them without signing in. What you see depends on whether your app requires login.
Each function that doesn’t check who’s calling shows as Anyone can run this function, with the file it’s in. Click Fix with AI and Base44 makes the function require a signed-in user, and limits the data it touches to that user.
This fix rejects any caller that has no signed-in user, so it can break a page you show to signed-out visitors, a webhook, or an external integration that calls the function. Test those paths and run the scan again afterwards.

Credit protection

These appear when your app’s credit-using features, such as AI, image generation, or email, can be reached directly from outside your app. Someone who finds them could run them and spend your integration credits. This includes AI calls made from your app’s pages in the browser. The issue is titled Prevent unauthorized credit usage and is rated High. What the issue offers depends on your app:
  • Your app can be protected as it is: Click Fix. It restricts access to those features while preserving the access your app already allows, so it doesn’t change how your app works.
  • Some features are reachable from the wrong place: Click Resolve with AI. It moves those calls, including AI calls from your app’s pages, into backend functions and updates your app to use them there. Test the affected flows, then run the scan again.
  • Your published app is behind: If your latest changes are ready but your live app still runs an older version, the issue reads Publish changes before protecting credits. Click Publish changes, then run the scan again.
A screenshot of the Prevent unauthorized credit usage issue, rated High, expanded to show why it matters and the fix

A credit protection issue on the Security page

App dependencies

These appear when a third-party library your app uses has a known security issue. Each issue shows the package, the version your app has installed, a severity level (Critical, High, Medium, or Low) and the version to upgrade to. Every package the scan lists is part of your app, so you can fix it from the Security page, whoever added it. It’s one of these:
  • Packages you or the AI added: Libraries added while you built your app, such as a charting or PDF library.
  • Packages your app started with: Libraries every new Base44 app includes, such as React and the packages whose names start with @base44/. Base44 updates these for new apps, but your app keeps its versions until you fix them.
The scan doesn’t check Base44’s hosting or the systems your app runs on, and you can’t change those. How you deal with an issue depends on the fix available:
  • A recommended version: Click Fix to upgrade the package.
  • No simple upgrade: When no fix is released yet, or the fix needs a new major version that could break your app, open the issue’s More actions menu and click Resolve with AI. The AI chat works out a safe fix, such as a newer version or a maintained replacement.
  • Several issues at once: Click Fix all. Base44 upgrades the packages it can and sends the rest to the AI chat in one message. The AI checks with you before it changes your app’s packages.
  • No effect on your app: If the issue doesn’t affect how your app uses the package, acknowledge it instead.
Run the scan again afterwards to confirm the issues are gone.
Contact Customer Care if a fix for a package whose name starts with @base44/ doesn’t clear the issue after you scan again.

Static code analysis

These appear when the scan analyzes your app’s own code and finds patterns that could be exploited, such as missing access checks, unsafe handling of user input, or sensitive data that is not properly protected. Each issue shows a severity level (Critical, High, Medium, or Low) and the affected file. If your app uses AI, the scan also checks for 2 ways someone could misuse it:
  • Prompt injection: Someone writes instructions that your app’s AI follows, and uses them to see another person’s private data, change data that other people see, or take an action they aren’t allowed to take.
  • Uncontrolled AI spending: Someone can make your app call an AI provider that you pay for with your own API key, with nothing to stop them running up the bill.
Calls through Base44’s built-in AI already have usage limits, so the spending check only looks at AI providers your app calls with its own API key. These issues appear with your other code issues, and are rated by what someone could actually do, not by the fact that AI is involved. Expand an issue and it breaks down into:
  • Impact: what someone could do with the weakness.
  • Security category: the industry classifications it maps to, such as an OWASP Top 10 category and a CWE number. AI issues show an OWASP AI category, such as Prompt Injection or Unbounded Consumption.
  • Evidence: the part of your code that caused the finding.
  • Attack Scenario: a walkthrough of how it could be exploited.
  • Suggested fix: the change to make, which you can expand when you are ready to act on it.
When you fix a code issue, on its own or with Fix all, the AI chat checks it before changing your code. If the AI concludes the issue can’t actually be exploited, it removes the issue from your scan results and from the counts in your workspace’s security center, and you can’t restore it from the Security page. If that code changes later, the scan can flag the issue again.
You need a Builder plan or higher to use static code analysis.

Security headers

These appear when your app is missing browser-level protections that the scan recommends based on your app’s risk profile. For example, if your app has login or payments, it flags missing headers as high severity. Each one shows its severity. Click Fix all to turn on the recommended headers. To change them yourself, click the More actions icon on a row and select Go to Security Headers. You can also change these settings at any time without running a scan first. There are 2 headers the scan checks for:
  • Block iframe embedding (X-Frame-Options): Stops your app from being displayed inside an iframe on another site. This protects against clickjacking attacks, where someone tricks a visitor into clicking something on your app without realizing it. Fixing it stops other websites from showing your app.
  • Restrict unused browser features (Permissions-Policy): Only your app can use the camera, microphone, location, and payments, not content from other websites shown inside it. This reduces your app’s attack surface.
You manage both under Browser Security in your app’s settings. Each change saves right away.
If your workspace has an embedding policy, your app follows it, and you can only make embedding stricter. The setting then shows Set by your workspace.
To change your browser security settings:
  1. Click Dashboard in your app editor.
  2. Click Settings.
  3. Under Browser Security, next to iFrame embedding, choose where your app can appear:
    • Any website: Any website can show your app.
    • Only websites you choose: Add each website under Allowed websites, such as https://example.com. To include every subdomain, put the wildcard at the start, such as https://*.example.com.
    • No websites: Your app can’t appear on other websites.
  4. Turn Protect camera and location on or off.
Browser Security in app settings, with the iFrame embedding drop-down and the Protect camera and location toggle outlined

Choosing where your app can appear and protecting camera and location


FAQs

Find answers to common questions about security scans in Base44.
Run the scan before you publish your app for the first time, and again any time you make significant changes, such as adding new data tables, updating permissions, or connecting new integrations. The Security tab shows an out-of-date warning when your scan results are no longer current, so you know when to run it again.
Handle all requests to third-party services in backend functions and store API keys using secrets management. This keeps credentials out of places your app’s visitors could find them.
All data tables and private apps are encrypted. However, data is not end-to-end encrypted, which means Base44 admins can access your data if needed.