Build and Host Applications Securely on Catalyst
Catalyst by Zoho is a Serverless cloud platform where you can build, test, host and monitor your application. The following help document details the possible vulnerabilities that you need to be aware of when you build and host applications manually or using AI Clients like Claude, ChatGPT, and such, on the Catalyst by Zoho platform.
Securing your Catalyst application is a shared responsibility and the practices listed in this document will ensure you are able to protect your application, its users, and the data being shared in it.
Access Control
The purpose of access control is to manage or limit who can operate on your Catalyst project and its enabled/configured services. Always ensure that you are aware of the following before you determine access to your application:
- Assessing roles before assigning collaborator permissions.
- Considering access limits before integrating third-party accounts.
Assessing roles before assigning collaborator permissions
Catalyst offers you the option to add Collaborators to your project. The level of access a collaborator has depends on the profile and permission you allot them with while adding them to your project. So, it is strongly advised you thoroughly assess the impact of adding a required collaborator.
There are two types of Collaborators:
- Admins: These collaborators will have access to all the projects present in the organization that they are added to, and will be able to access them with the same level of access granted to a Project Owner. The access includes account-level privileges such as managing projects, profiles, Git Integration, and billing.
- Project Members: These collaborators have access only to the projects that they are added to, and their level of access to those projects will be determined by the permissions dictated by the profile that is assigned to them in each project, such as Project Owner, Contributor, Viewer, or a custom profile.
To limit the impact of misuse by collaborators:
- Add only trusted collaborators to your projects.
- Secure the accounts you add with multi-factor authentication (MFA).
- Grant WRITE permission to only a limited number of collaborators.
- Add collaborators as Project Members, and add them as Admins only if they explicitly require admin privileges.
- Grant Data Store, Logs, and Signals permissions only to members who need them, as these components can contain sensitive user data.
What can happen:
Consider a project where several collaborators have WRITE permissions, and one of their accounts is not secured with MFA. If that account is compromised, whoever controls it can perform every operation the collaborator’s permissions allow. This includes operations such as modifying functions or deleting data in your project.
Limiting WRITE permissions to a few trusted, MFA-secured accounts drastically reduces the number of ways your project can be misused.
Considering access limits before integrating third-party accounts
When you integrate a third-party account with Catalyst, everyone in your Catalyst organization can access it. So, it is strongly advised that you thoroughly consider who gets access to the account and its data before you integrate it.
What can happen:
Consider integrating your own third-party account with Catalyst to use it in a single project. Since the integration is available to everyone in your Catalyst organization, members working on other projects can also access that account and the data in it, even if you never intended to share it with them.
Before you integrate an account, confirm that everyone in your organization is someone you trust and are comfortable giving access to.
Authentication
The Authentication component allows you to manage and control end users’ access to your application. When setting up this component manually in the console or using an AI through the Catalyst Plugin, it is important that you are mindful about the following:
Keep public signup disabled if your app is in development
Public Signup will be disabled by default. When enabled, it allows any end-user to sign up to your application. So unless your application is ready to accept users, it is advised you keep the Public Signup option disabled.
Additionally, it is advised you enable Custom User Validation, where you can implement custom authentication logic using Catalyst Basic I/O functions, offering you an additional security layer.
What can happen:
Consider an application that is still in development with Public Signup enabled. Anyone who visits your application’s signup page can create an account and sign in like any other user. Once signed in, they can access the data in any Data Store table whose scope is set to Global.
Keeping Public Signup disabled until your application is ready to accept users, or validating every signup using Custom User Validation, ensures that only the users you intend can access your application.
Use API Gateway
Security Rules define the HTTP methods and authentication for your Basic I/O and Advanced I/O functions. By default, authentication is set to optional for every function, which makes the function URL accessible to anyone without an authentication check.
For each function that only signed-in users should access, set authentication to required in Security Rules, or we strongly advise you set up API Gateway with Catalyst Authentication for more control over routing, authentication, and throttling.
For example, consider an Advanced I/O function named myfunc with the endpoint /secured. When you add this endpoint to API Gateway, API Gateway secures the endpoint for you, and the endpoint is called only when the user is signed in.
Additionally, you need to be aware of the following:
- For mobile applications that invoke functions, you can use OAuth-based authentication instead.
- Do not use API Key authentication, as the development environment uses the same API key for all projects.
- Remove the HTTP methods a function does not need from its Security Rules definition.
What can happen:
Consider the /secured endpoint from the earlier example.
With the default Security Rules configuration, its authentication is optional, so anyone who has the function URL can call it, including users who are not signed in. Setting authentication to required in Security Rules, or creating an API for it in API Gateway, ensures the endpoint responds only to signed-in users.
Similarly, if you secure your functions with an API key, anyone in your organization who has that key can call them, since the development environment uses the same key for all projects.
Authenticate requests in Catalyst AppSail services
Security Rules apply to Basic I/O and Advanced I/O functions, and API Gateway applies to these functions and the web client. They do not apply to AppSail services, which you access through their own AppSail URLs.
Implement authentication checks within your AppSail application code for any endpoint that should be accessible only to signed-in users, and initialize the Catalyst SDK with the incoming request so operations run in the requesting user’s context.
What can happen:
Consider an AppSail service with an /admin endpoint that returns your application’s user records. Since Security Rules and API Gateway do not apply to AppSail, the only check on this endpoint is the one in your application code. If that check is missing, anyone who has the AppSail URL can call the endpoint and retrieve the records, without signing in.
Adding an authentication check to every protected endpoint ensures that your AppSail service responds only to the users you intend.
Whitelist only trusted domains
Catalyst offers you the option to whitelist external domains in two places, and each grants access to a different part of your application:
- Authorized Domains in Authentication: Enabling CORS for a domain allows it to access your application’s client and all its function endpoints. Enabling iFrame for a domain allows it to load your application as a widget.
- Bucket CORS in Stratus: Whitelisting a domain allows it to access the objects stored in your bucket. Any project member with Write permission for Stratus can edit a bucket’s CORS.
Protect your application’s data
You always need to ensure the protection of your application’s data. You need to strictly ensure your application’s data, files, and secrets are accessible only to those who need them.
Scope down access to Data Store and Stratus
Catalyst has two default roles for project users, App Users and App Administrators. You can create new roles in the Authentication section.
Roles currently apply to Data Store tables, and by extension to Search and ZCQL. Based on these roles, scope down the access to your Data Store, and keep your Stratus buckets restricted as described in the next section.
- Set each table’s scope to user, org, or global based on your business need, so that one customer cannot see another customer’s data. For example, in an e-commerce application, set the scope of the purchase details table to user.
- Assign the default user role the least privilege it needs, granting only the required Select, Insert, Update, and Delete permissions for that role in the table’s Scopes & Permissions section.
What can happen:
Consider the e-commerce application from the earlier example. If the purchase details table is set to a global scope, every signed-in customer can read every other customer’s orders, including what they bought and where it was shipped. The same applies when the default user role has broader permissions than it needs: every new user inherits that access the moment they sign up.
Scoping tables to the user and keeping the default role at least privilege ensures that each customer sees only their own data.
Keep Stratus buckets private and authenticated
Bucket objects can be sensitive. When you create a bucket, you choose one of two default permission templates:
- Authenticated: Allows only users authenticated on your application to access its objects.
- Public: Allows anyone on the internet to access them without authorization.
Keep your buckets private and authenticated, in line with your preferred policy, and review these policies periodically.
- Use the Authenticated permission template for buckets that store sensitive objects.
- Use custom permissions to define which users can perform
GetObject,PutObject, andDeleteObjectactions on specific objects or paths. - A deny rule overrides every matching allow rule.
- Use the
X_ZUIDandX_ORGIDdynamic variables in object paths to scope access to each user’s or organization’s own objects. - Whitelist only the domains that require access to your objects in Bucket CORS.
- Enable Data Encryption, and enable the PII/ePHI setting for buckets that store personally identifiable or sensitive data.
What can happen:
Consider an application that stores customer invoices or identity documents in a Stratus bucket. If the bucket is public, anyone who obtains an object’s URL can open the file without signing in. A policy that was right when you created the bucket may also stop fitting as your application grows, which is why periodic reviews matter.
Store secrets in Environmental Variables
Collaborators with read permission can read any secrets in your codebase. Environmental variables are encrypted and stored in Catalyst, but their values still appear in plain text in the console and API responses to you and your project’s collaborators. To limit who can see your secrets:
- Store secrets in environmental variables instead of in your code. Functions, AppSail services, and Slate apps support environmental variables.
- Use separate secrets for the development and production environments.
- Restrict access to the production environment to specific users, by granting Production Environment permissions only in the profiles of the project members who need them.
- Review and rotate your API keys and other secrets regularly.
What can happen:
Consider a function with a third-party API secret written directly into its code. Every collaborator with read permission can see that secret, even if they never need to use it. If the same secret is used in both environments, anyone with access to the development environment effectively has access to production as well.
Keeping secrets in environment variables, separated by environment and with production access restricted, limits who can see and use them.
Runtime Maintenance
You always need to ensure that your application is secure after you deploy it.
Keep runtimes up to date
Build and maintain your functions, AppSail services, and Slate apps in the latest supported runtimes to avoid security or stability issues. Catalyst phases out support for runtimes that are approaching their end of life, as described in the Language Runtime Support Policy.
- Move off deprecated runtimes, and always choose to build with the latest runtimes.
- For Slate apps, upon runtime deprecation, update the Node.js runtime in the app’s settings and redeploy the app, as changing the runtime does not rebuild it automatically.
What can happen:
Consider a function that continues to run on a runtime that has reached its end of life. Security fixes released for supported runtimes no longer reach it, leaving your application exposed to vulnerabilities that are already fixed in newer runtimes.
Good to know
In the event of a critical fix or security update, you will be informed through your email. Please ensure you provide emails from Catalyst with due importance, and it is advised you immediately act upon them.
All bug fixes and security updates can be found in our Release Notes, and critical security updates can be found in our Announcements section.
Last Updated 2026-11-24 12:31:51 +0530 IST
Yes
No
Send your feedback to us