Zerodot runs each community package in its own process. This page lists what that process can and cannot do.
For all details, see Node packages. To make a package, see Create a node package.
Warning
Zerodot does not check community packages, except verified versions. A package gets the credentials and the data that your workflows give to its nodes. It can send them to any server on the internet. Add a registry or install a package only when you trust the author.
The package process
Zerodot starts one separate process for each community package. Official @zerodot/* packages run inside Zerodot. The process of a community package:
- Has no environment variables. It cannot read the secret keys or the database address of Zerodot.
- Can read files in its own folder only. It cannot write files, start programs or worker threads, or load native addons.
- Can use the internet. It cannot reach private or local network addresses.
- Has 256 MB of memory. If the process stops, Zerodot starts it again on the next call.
- Gets only the config, the input, and the credential of each call.
The process has no expression scope, data tables, code sandbox, or sub-workflows. It has no kv.
Reach a host in your network
By default, a package cannot reach addresses inside the network of the server. To allow a host, set this variable. Use names or IP addresses, separated by commas.
ZERODOT_COMMUNITY_NODES_ALLOW_HOSTS=db.internal,10.0.0.5
Community nodes as agent tools
A community node is not an AI Agent tool by default. A model would choose its values. To allow it, set this variable on the web, API, and worker processes:
ZERODOT_COMMUNITY_NODES_AS_TOOLS=true
Nodes of official packages are not affected.
Parts of the contract that do not work
Zerodot skips a node or a credential type that uses one of these parts:
outPorts()andinPorts(). Use fixedports.waitForm()andwaitsForCallback().- An
oauth2function in a credential type. A fixed OAuth2 config works.
Supply nodes and supply ports need an official @zerodot/* package. Zerodot skips a community node that uses them.
These parts work: run, poll, listen, webhook, credential test(), and loadOptions.
Checksums
Each registry entry has integrity: the npm checksum of the version. Zerodot installs a package only when npm has the same checksum. An entry with no checksum is dropped. After the install, Zerodot checks the checksum again in the npm lock file. If it is not the same, Zerodot removes the package.
Zerodot does not check the dependencies of a package one by one.
Verified versions
The Zerodot team can review a version. A reviewed version shows "Verified". It still runs with the same limits. To get a review, see Get verified.
Limits of the protection
Node.js runs these guards. Node.js does not promise that its permission model stops all bad code. For more safety, run Zerodot in containers. Also block private addresses for outgoing traffic with a firewall.