Urgent.News

What's breaking now, across thousands of outlets.

Tech

Sandboxing with minimal effort

Inko, a programming language, recently introduced a feature to sandbox applications with minimal effort. Memory safety is a goal for Inko, but developers often make mistakes, even when using LLMs for coding. One popular method for improving security is containerization, like running shost, a static file server written in Inko, using Podman.

This allows for restricting capabilities and mounting specific files as read-only volumes. However, applying these restrictions to the application itself would be even better. Many operating systems offer ways to sandbox applications, including Landlock for Linux, Seatbelt for macOS, Capsicum for FreeBSD, and pledge/unveil for OpenBSD.

Inko's new API uses these primitives to provide a cross-platform sandboxing solution, handling platform-specific differences. While Capsicum requires changes to the program structure on FreeBSD, it's simpler on Linux and macOS. The API allows for easy sandboxing of an Inko application, such as shost, with minimal code. This ease of use is crucial for security features, as the value lies in how accessible they are, not just what they can achieve.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at yorickpeterse.com →

More in Tech

Get your public IP, VPN/proxy status and risk score with one curl command

Most "what's my IP" sites are built for browsers. Call them from a script and you get a full HTML page back, or you're asked to sign up for an API key just to read one line of text.

  • Obtain public IP, VPN/proxy status, and risk score with one curl command
  • Checkip.me offers free IP lookup service without account or key
  • Use curl to update DNS provider API or lock SSH access to current IP

More from Wednesday 23 September →