ifcurl/forgejo/server-config
Bruno Postle df92114cda ifcurl-preview.service: systemd sandbox hardening
Add sandboxing directives to limit blast radius from a compromised render
subprocess:
- NoNewPrivileges + RestrictSUIDSGID: no privilege escalation
- ProtectSystem=strict + ProtectHome: Forgejo data tree is unwritable
- PrivateTmp: isolated /tmp
- RestrictAddressFamilies=AF_INET AF_INET6: no Unix socket access to Forgejo
- SystemCallFilter=@system-service @process @files @io-event @network-io:
  allows fork/clone (needed by ifcopenshell geom workers) but excludes
  execve/execveat so an attacker cannot exec a shell
- RestrictNamespaces, LockPersonality, ProtectKernelTunables, etc.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 21:47:48 +01:00
..
gitattributes forgejo: document ifcmerge mergeability — bare repo gitattributes finding 2026-04-24 09:27:56 +01:00
gitconfig-ifcmerge forgejo: document ifcmerge mergeability — bare repo gitattributes finding 2026-04-24 09:27:56 +01:00
ifcurl-preview.service ifcurl-preview.service: systemd sandbox hardening 2026-04-24 21:47:48 +01:00