To enhance platform security and give you greater control over your tenant’s Content Security Policy (CSP), BlueConic introduces a setting that governs the use of the unsafe-eval JavaScript expression. The unsafe-eval directive in a CSP allows the use of JavaScript’s eval() function, which can execute arbitrary code. Some custom or legacy plugins depend on this functionality, but it also introduces security risks. Disabling unsafe-eval protects your tenant from script injection and other code execution vulnerabilities.
Note: Your organization might need to disable unsafe-eval to comply with strict security standards. If you rely on plugins or custom scripts that use eval(), enabling unsafe-eval ensures they continue to function while accepting a lower security posture. BlueConic lets you toggle this setting directly in the UI so you can choose between enhanced security and broader plugin compatibility.
Before you begin
Confirm whether your organization requires a stricter security posture that blocks the use of
eval().Make sure your user role includes Security → Edit Security permission. Only these users can modify the unsafe-eval setting. Application Managers can assign this permission from the Roles and Permissions page.
Manage the unsafe-eval setting
In the BlueConic navigation bar, go to Settings.
Navigate to the Security section.
Locate the unsafe-eval setting toggle.
Find the Content Security Policy (CSP) area.
Toggle unsafe-eval:
On: Allows plugins or scripts that use
eval()to run.Off: Blocks the use of
eval()and removeunsafe-evalfrom CSP headers.
The change is applied instantly—navigating to another page immediately reflects the updated policy.
Manage AI Workbench access
In the BlueConic navigation bar, go to Settings > Security.
In the AI Workbench section, choose an option for Outbound access.
(Optional) To install packages through your own package index or mirror, such as Artifactory or Nexus, fill in Package index URL. Fill in Username and Password or token if your index needs them. Select Test connection to check the URL and the credential.
Select Save.
Option | What notebooks can reach |
Full access (default) | Any host. This keeps the existing behavior. |
Trusted access | Only the Python package sources, pypi.org and files.pythonhosted.org. Package installs and scheduled runs keep working. |
Custom access | Only the hosts, IPv4 addresses, and ports on your list, up to 100 entries. A host name also allows its subdomains. |
A change takes effect within a minute. The audit log records every change and every blocked connection.
Note: Outbound access limits take effect after BlueConic updates your AI Workbench setup. Contact BlueConic Support to request this. Until then, the Security settings show a warning, and notebooks can still connect to any host.
Outbound access limits take effect after BlueConic updates your AI Workbench setup. Contact BlueConic Support to request this. Until then, the Security settings show a warning, and notebooks can still connect to any host.
For what each setting means for notebooks, see AI Workbench overview.

