Skip to main content

What are Runtimes?

Runtimes are secure, isolated execution environments that power Reactors and Proxy Transforms, allowing your custom code to process sensitive data without it touching your systems.

Runtime Comparison

Basis Theory supports the following runtime families:

Featurenode-btNode.js Runtime Images
Imagesnode-btnode22, node24
Node.js Version1622 or 24
ProvisioningSynchronousAsynchronous
DependenciesWhitelist onlyAny npm package
TimeoutFixedConfigurable
ResourcesFixedConfigurable
Warm InstancesDefault onlyConfigurable
PermissionsVia a linked ApplicationDeclared on the runtime
Vulnerability ScanningManaged for whitelisted dependenciesDeployment and continuous scanning
The node-bt runtime is deprecated. Use a Node.js runtime image for new Reactors and Proxy code transforms. Migrate away from the node-bt runtime as soon as possible to avoid disruption.

node-bt

The legacy node-bt runtime uses Node.js 16 and a curated set of dependencies. Existing resources remain available.

Learn more about node-bt or follow Migrate from node-bt.

Node.js Runtime Images

The available Node.js runtime images have the same runtime options, provisioning states, code contracts, and security controls. Choose the image that matches the Node.js version used to develop and test your code.

Learn more about Node.js Runtime Images.

Vulnerability Scanning

For deployment-time and continuous vulnerability scanning behavior, notification cadence, and webhook events, see Runtime Vulnerability Scanning.

Choosing a Runtime

ScenarioRecommended Runtime Image
New Reactors and Proxy code transformsA Node.js runtime image
Existing node-bt codeFollow Migrate from node-bt
Custom dependenciesA Node.js runtime image
Configurable resourcesA Node.js runtime image