🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@useatlas/nsjail

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useatlas/nsjail

Atlas nsjail sandbox plugin

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

@useatlas/nsjail

Linux namespace isolation via nsjail for the explore tool. No network, read-only filesystem, runs as nobody.

Install

bun add @useatlas/nsjail

Requires nsjail on PATH or configured via nsjailPath.

Usage

import { defineConfig } from "@atlas/api/lib/config";
import { nsjailSandboxPlugin } from "@useatlas/nsjail";

export default defineConfig({
  plugins: [nsjailSandboxPlugin({ timeLimitSec: 15, memoryLimitMb: 512 })],
});

Config

FieldTypeDefaultDescription
nsjailPathstring?auto-detectExplicit path to nsjail binary
timeLimitSecnumber10Per-command time limit in seconds
memoryLimitMbnumber256Per-command memory limit in MB

Reference

  • Plugin SDK docs
  • Authoring guide

Keywords

atlas

FAQs

Package last updated on 10 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts