Skip to main content
Version: 0.60.0

Sandbox and Safety

FScript security is capability-based.

Scripts can only perform actions that your host exposes.

Practical safety model

  • Do not expose risky externs by default.
  • Restrict filesystem scope with root/deny policies.
  • Use cancellation and timeouts for execution control.
  • Treat script execution as untrusted input handling.
  1. Expose read-only externs first.
  2. Add write/network capability only when required.
  3. Log extern calls for observability.