Repository navigation
Releases
ULPM
🚀 Release Status: v6.0.0
ULPM Engine v6.0.0 introduces a hardened multi-package transactional engine and dynamic dependency orchestration over the autonomous .lpk Format v5 specification.
- Atomic Multi-Package Transactions & Crash-Resistant WAL: All installation phases (dependency solving, downloads, SHA-256 and Ed25519 cryptographic checks) are pre-validated before any disk mutation. A persistent Write-Ahead Log (
~/.local/state/ulpm/wal/) guarantees safe LIFO rollback and full crash recovery even across unexpected reboots orSIGKILL. - StateHistory & Bidirectional Rollback: Zero-data-loss application snapshots (
ulpm history,ulpm rollback <app_id>) allowing instant rollback to previous versions and atomic rollback-undo swaps. - DAG Dependency Resolver & SemVer Guard: Complete Directed Acyclic Graph resolution engine detecting cycles and comparing exact or range versions (
>=,<=,==,>,<) before committing transactions (ulpm deps resolve <app-id>). - Signed Deterministic Repositories: Remote or local mirror support with pinned Ed25519 repository signatures (
ulpm repo add/update/search) ensuring index integrity and preventing supply-chain poisoning. - Declarative Permissions & Overrides: Fine-grained sandbox controls declared in JSON manifests (
meta/manifest.json), customizable at runtime with user-defined overrides stored in~/.config/ulpm/overrides/. - Hardened Security: Bubblewrap user namespaces, granular session D-Bus proxy filtering (
xdg-dbus-proxy), embedded 104-byte ASN.1DER Ed25519 trailer signatures, and strict TOFU key pinning.
ULPM
🚀 ULPM v5.3 — Release Notes
🔒 Cryptographic Trailer & Anti-Tampering Engine
•Embedded 104-byte Ed25519 Payload Signatures:
Implemented an autonomous trailer format appending cryptographic signatures directly to .lpk files without breaking underlying SquashFS offsetsor structures.
•Mandatory Signature Verification (No-Key / Invalid-Key = No-Exec): Instant signature and integrity verification executed via single-syscall file seek (lseek) before any container initialization or payload execution.
•Tamper-Proof Metadata & Licensing: Sealed container architecture supporting dynamic execution states (Full vs. Demo, runtime flags, expiration limits) backed by SHA256 integrity validation. Tampered bytes immediately trip the signature check, preventing execution (exit 1).
•Supply-Chain & Upgrade Key Pinning: Cryptographic host-side pinning to prevent man-in-the-middle package replacements or unsigned upgrades across public/private repositories.
🧬 Graphics Bridge & Low-Latency Display Stack
•Zero-Mismatch Host Graphics Passthrough: Dynamic runtime binding of host display drivers (Mesa, DRI/VA-API, GLVND, proprietary NVIDIA), eliminating ABI divergence and container driver crashes upon host kernel/driver updates.
•Micro-Compositor & Gaming Pipeline: Zero-friction integration for nested Wayland environments and compositors (Gamescope, Xephyr) running directly inside unprivileged sandbox namespace.
⚡ Volatile Streaming & Caching
•RAM-Stream Mode (Zero-Disk Footprint): Native support for streaming and executing remote .lpk binaries directly inside volatile memory (tmpfs), leaving strictly zero persistent artifacts on disk upon process exit.
•Conditional HTTP Cache Engine: Added ETag and If-Modified-Since awareness to eliminate redundant network traffic and disk writes when launching remote bundles.
🛡️ Declarative Sandbox (Schema v5)
•Hardened Namespace Isolation: Enforced bubblewrap execution with --cap-drop ALL, declarative root view restriction, strict /etc virtualization, and filtered session D-Bus routing via xdg-dbus-proxy.
•Runtime Kill-Switches: Instant flag-level sandboxing toggles (--no-gpu, --offline, --strict) allowing runtime parameter isolation without touching package configurations.
🪄 Packaging & Build System
•Automated Multi-Format Ingestion: Upgraded headless unpacker converting raw .AppImage, .deb, .rpm, and.tar.gz directly into signed, optimized .lpk bundles without intermediate execution.
•Unified Binary Profile: Allfeatures, parsers, and engines maintain an ultra-lean footprint (282 KB binaire), completely daemonless, operating 100% within unprivileged user-space (/.local/share/ulpm).
ULPM
Added
- Manifest Schema v5 & Declarative Permissions:
- Granular
permissionsobject 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
$HOMEisolation:"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 listandulpm runtime installcommands. - Support for shared commonbase layers installed in
~/.local/share/ulpm/runtimes/. - Manifest fields
runtimeandsharedfor modular packaging. - Packaging & Unpacking Improvements:
- AppImage Type-2 safe unpacking by calculating SquashFS section offsets via
readelfwithout 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, andCONTRIBUTING.mdto reflect Schema v5 and declarative sandboxing.
Ulpm : Universal Linux Package Manager
🚀 ReleaseNotes - ULPM v4.0.0ULPM v4.0.0 is a massive architectural leap forward.
We took everything that made the v3 series fast and innovative, completely refactored the internal engine into a clean modular architecture, hardened unprivileged security boundaries, and added on-the-fly runtime controls.
🏗️ 1. Complete Engine Modularization & Concurrency Safety
•Monolith Decoupling: Replaced the legacy monolithic codebase with a clean, decoupled library layout (lib/crypto.sh, lib/sandbox.sh, lib/pack.sh, lib/deb.sh, lib/stream.sh, lib/run.sh, lib/manage.sh, lib/utils.sh).
•Strict POSIX/Bash Hardening: Comprehensiveaudit with set -euo pipefail, bulletproof variable expansion (${arr[@]+"${arr[@]}"}), and localized function traps ensuring zero dangling mounts or orphaned processes on unexpected termination.
•Non-Blocking Mutex Locking: Integratedkernel-level inter-process file locking via flock on file descriptor 200, preventing race conditions anddatabase corruption during concurrent installs or background streaming.
🔐 2. Autonomous Ed25519 Cryptography & Key Management•Zero-Detached Signatures:
Re-engineered package verification with an autonomous 104-byte binary trailer appended directly to the SquashFS image ([8B Magic ULPM_SIG | 32B Raw Public Key | 64B Ed25519 Signature]).
•ASN.1 /DER Normalization: Implemented low-level dynamic reconstruction of the Ed25519 SubjectPublicKeyInfo prefix (\x30\x2a\x30\x05\x06\x03\x2b\x65\x70\x03\x21\x00), preventing false verification rejections caused by trailingCRLF or PEM whitespace quirks.
•Strict umask Key Protection: Hardened key generation routines enforcing umask 077 subshells to eliminate local private key exposure windows.
🎛️ 3. Dynamic Runtime Kill-Switches Users now have full, instant authority over sandbox permissions via CLI flags without modifying application manifests:
•--offline / --no-net : Kernel-level network unsharing (--unshare-net).
•--no-gpu : Strips /dev/dri, Vulkan, and proprietary NVIDIA devices for untrusted rendering.
•--no-audio : Cuts PipeWire, PulseAudio, andALSA socket pass-through.
•--no-gui : Headless / pure CLI execution isolating X11, Wayland, and IPC sockets.
•--bind : : Dynamic directory bind-mounting into the sandbox at launch.
🐧 4. Advanced RootFS & Full Distro Containment
•Native RootFS Support: First-class execution engine for complete unprivileged operating systems (Debian XFCE, Arch Linux, Alpine, Recalbox/Batocera) directly encapsulated in .lpk bundles.
•Deterministic Entrypoint Dispatch: Intelligent fallback resolution (startxfce4,x-session-manager, bash, sh) when executing distro containers.
•Hardware & Controller Integration: Automatic binding of gamepads, joysticks (/dev/input, /dev/js*, /dev/uinput, /dev/fb0), and render nodes for gaming and emulation runtimes.
🛡️ 5. Sandboxing & Desktop Hardening
•Enhanced Session D-Bus Proxy: Tightened xdg-dbus-proxy filtering policy exposing only essential portal APIs (Desktop, Documents, Notifications, MPRIS, ScreenSaver) while completely isolating host system buses.
•Multi-Language Downloads Gate: Automatic host download directory discovery (xdg-user-dir,user-dirs.dirs, localized fallback paths) linked bidirectionally inside virtual sandboxed $HOME.
•Universal Multiarch Library Paths: Dynamic host library path discovery resolving amd64, arm64, armhf, andriscv64 multiarch locations inside unshared containers.
•Safe Unmount Traps: Lazyand force user-space unmounting routines (fusermount3 -u -z) preventing stale mounts in transient sessions or crash scenarios.
⚡ 6. Ephemeral Streaming & Packaging Enhancements
•In-Memory RAM Streaming (/dev/shm): Redesigned ulpm stream targeting /dev/shm with /run fallbacks to run heavy packages entirely in volatile memory without disk footprint or quota exhaustion.
•GitHub Shorthand Resolution: Native resolution of owner/repo syntax directly fetching matching architecture releases via GitHub API.
•Bounded ELFBundler: Protected DT_NEEDED dynamic library resolution with maximum depth ceilings and copy-check validations, eliminating CPU-spinning infinite loops.
•APT & Local DEB Processing: Robust dual-mode .deb builder extracting both local Debian packages and remote repository dependencies with core C-runtime conflict stripping.