Self Checks
Dify version
1.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Environment
- Dify Version: 1.14.0
- Sandbox Version: 0.2.15 ❌ | 0.2.14 ✅
- Deployment: Docker Compose
- OS: CentOS / RHEL
Description
Sandbox version 0.2.15 consistently crashes when executing any Node.js code with signal: aborted (core dumped).
The crash originates from DifySeccomp() in the Node.js runner initialization. Rolling back to sandbox 0.2.14 fixes the issue completely.
This is a regression introduced in 0.2.15.
Steps to Reproduce
- Deploy Dify 1.14.0 with Docker Compose
- Use sandbox image
langgenius/dify-sandbox:0.2.15
- Create a workflow with a code node containing any valid Node.js code
Example Code (triggers the crash):
function main({arg1, arg2}) {
const now = new Date();
const now_str = `${now.getFullYear()}-${String(now.getMonth()+1).padStart(2,'0')}-${String(now.getDate()).padStart(2,'0')}`;
if (!arg1) {
const mapping = {
'A': '甲方',
'B': '乙方',
'C': '丙方',
'D': '丁方'
};
return {
our_party: mapping[arg2] || ''
};
}
return {
our_party: arg1,
now_str: now_str,
}
}
Verified Fix
Downgrading sandbox to 0.2.14 resolves the issue.
# docker-compose.yaml
sandbox:
image: langgenius/dify-sandbox:0.2.14 # ✅ works
# image: langgenius/dify-sandbox:0.2.15 # ❌ crashes
After rollback to 0.2.14, all Node.js code executes successfully without any changes to the code or configuration.
✔️ Expected Behavior
Node.js code should execute normally and return the expected output.
❌ Actual Behavior
Sandbox crashes with signal: aborted (core dumped).
Error Log
goroutine 17 [running, locked to thread]:
main.DifySeccomp(...)
/home/runner/work/dify-sandbox/dify-sandbox/cmd/lib/nodejs/main.go:9
error: signal: aborted (core dumped)
Full log entry:
{
"time": "2026-05-06T08:51:17.364972614Z",
"level": "ERROR",
"msg": "process finished with error",
"status": "signal: aborted (core dumped)"
}```
Self Checks
Dify version
1.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Environment
Description
Sandbox version 0.2.15 consistently crashes when executing any Node.js code with
signal: aborted (core dumped).The crash originates from
DifySeccomp()in the Node.js runner initialization. Rolling back to sandbox 0.2.14 fixes the issue completely.This is a regression introduced in 0.2.15.
Steps to Reproduce
langgenius/dify-sandbox:0.2.15Example Code (triggers the crash):
Verified Fix
Downgrading sandbox to 0.2.14 resolves the issue.
After rollback to 0.2.14, all Node.js code executes successfully without any changes to the code or configuration.
✔️ Expected Behavior
Node.js code should execute normally and return the expected output.
❌ Actual Behavior
Sandbox crashes with signal: aborted (core dumped).
Error Log
Full log entry:
{ "time": "2026-05-06T08:51:17.364972614Z", "level": "ERROR", "msg": "process finished with error", "status": "signal: aborted (core dumped)" }```