Skip to content

ULPM

Choose a tag to compare

@Ruraam Ruraam released this 14 Oct 17:24
· 98 commits to main since this release
677b5a4

Added

  • Manifest Schema v5 & Declarative Permissions:
  • Granular permissions object controlling network, audio, GUI, GPU, devices, custom filesystem binds, and D-Bus namespaces.
  • Full backward compatibility with Schema v1–v4 manifests.
  • Declarative User Overrides System:
  • Persistent per-application overrides stored in ~/.config/ulpm/overrides/<app_id>.json.
  • New ulpm override <app><flags|key=val...> command to adjust permissions without modifying or rebuilding packages.
  • New ulpm permissions <app> audit tool displaying the combined effective permission matrix.
  • New ulpm permissions reset <app> command to instantly restore baseline package permissions.
  • Execution Profiles:
  • --gaming: Automatic passthrough for DRI, input gamepads, raw HID (/dev/hidraw*), and raw USB controllers.
  • --strict: Complete lockdown removing network, GPU acceleration, downloads directory, and host device passthrough.
  • --desktop: Default balanced desktop profile.
  • Hardware Passthrough Controls:
  • Support for raw HID controllers (--dev-hidraw / --no-hidraw), raw USB subsystems (--dev-usb / --no-usb), and hardware virtualization acceleration (--dev-kvm).
  • Filesystem Isolation Modes:
  • Support for configurable $HOME isolation: "isolated" (~/.var/app/<id>), "read" (host home read-only), and "read-write" (direct host home).
  • CLI flags --isolate-home, --share-home, and --share-home-ro.
  • Hybrid Shared Runtimes Foundation:
  • New ulpm runtime list and ulpm runtime install commands.
  • Support for shared commonbase layers installed in ~/.local/share/ulpm/runtimes/.
  • Manifest fieldsruntime and shared for modular packaging.
  • Packaging & Unpacking Improvements:
  • AppImage Type-2 safe unpacking by calculating SquashFS section offsets via readelf without executing untrusted binaries.
  • Heuristic hardware and permission pre-scanning when generating Schema v5 packages in pack.sh.
  • Pass-through support for runtime and fast-pack flags (--no-scan, --fast, --shared, --runtime).

Security

  • Deep Purge (remove --purge):
  • Automatically cleans persistent application sandbox storage (~/.var/app/<id>) and user overrides (~/.config/ulpm/overrides/<id>.json).
  • D-Bus Namespace Hardening:
  • Blocked arbitrary bus ownership grants for system/desktop namespaces (org.freedesktop.*, org.gnome.*, org.kde.*, org.mpris.*).
  • Signature Integrity:
  • Strict Ed25519 signature validation enforcement via ULPM_STRICT_SIGNATURES=1.
  • Safe payload inspection during installation using isolated temporary mounts.

Changed

  • install.sh: Full supportfor ULPM v5 directories, updated shell completions (Bash/Zsh) with new subcommands and execution profile flags.
  • Default packaging format version bumped to 5 (ULPM_FORMAT_VERSION=5).
  • Documentation: Updated LPK-FORMAT.md, SECURITY.md, and CONTRIBUTING.md to reflect Schema v5 and declarative sandboxing.