Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 1be9be6

Browse files
koki-developclaude
andcommitted
Isolate /dev/shm per sandbox to prevent cross-execution data leakage
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6495af7 commit 1be9be6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/job.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ class Job {
163163
`PISTON_LANGUAGE=${this.runtime.language}`,
164164
`--dir=${this.runtime.pkgdir}`,
165165
`--dir=/etc:noexec`,
166+
`--dir=/dev/shm:tmp`,
166167
`--processes=${this.runtime.max_process_count}`,
167168
`--open-files=${this.runtime.max_open_files}`,
168169
`--fsize=${Math.floor(this.runtime.max_file_size / 1000)}`,

0 commit comments

Comments
 (0)