Traversal-resistant archive manager with zero zip-slip vulnerability for the openOODA era.
A drop-intaralternative written in pure openOODA, featuring zero-trust path sanitization against zip-slip directory traversal exploits, capability-gated safe extraction (FsWriteCap), themed archive listing, and a first-class Model Context Protocol (MCP) surface.
Part of openOODA-tools.
ootar has zero runtime dependencies. It compiles to a standalone native binary linked directly with libc.
Installs the standalone native binary to /usr/local/bin (or ~/.local/bin):
curl -fsSL https://openooda-tools.github.io/ootar/install.sh | bash# Automated via installer
curl -fsSL https://openooda-tools.github.io/ootar/install.sh | bash -s -- --apt
# Or manual package install
sudo dpkg -i ootar_0.1.0-1_amd64.deb# Automated via installer
curl -fsSL https://openooda-tools.github.io/ootar/install.sh | bash -s -- --dnf
# Or manual RPM install
sudo dnf install ./ootar-0.1.0-1.fc44.x86_64.rpm# Automated via installer
curl -fsSL https://openooda-tools.github.io/ootar/install.sh | bash -s -- --arch
# Or manual build via packaging/PKGBUILD
cd packaging && makepkg -siTo cleanly remove ootar and any installed package manager entries:
# Automated via standalone uninstaller
curl -fsSL https://openooda-tools.github.io/ootar/uninstall.sh | bash
# Or via installer flag
curl -fsSL https://openooda-tools.github.io/ootar/install.sh | bash -s -- --uninstall
# Or preview removal without making changes (dry-run)
curl -fsSL https://openooda-tools.github.io/ootar/uninstall.sh | bash -s -- --dry-runCreate, list, and safely extract standard USTAR archives:
# Create an archive from files
ootar -c -f backup.tar file1.txt file2.txt
# List table of contents with oote color styling
ootar -t -f backup.tar
# Safely extract files without risk of zip-slip attacks
ootar -x -f backup.tar -C /tmp/safe_dirootar features a native Model Context Protocol (MCP) stdio server allowing AI pair programmers and LLM coding assistants to safely inspect tar archives:
ootar --mcpinspect_archive: Safely inspects archive table of contents and flags any unsafe entries.safe_check: Validates whether a file path violates directory traversal constraints (../,/).
Apache License 2.0. See LICENSE for details.