Skip to content

Add secure seamless Debian package installation - #1

Merged
DevNvll merged 1 commit into
mainfrom
agent/seamless-deb-install
Aug 11, 2026
Merged

DevNvll merged 1 commit into
mainfrom
agent/seamless-deb-install

Conversation

@DevNvll

@DevNvll DevNvll commented Aug 11, 2026

Copy link
Copy Markdown
Owner

What changed

  • Add debforge install and a desktop handler for .deb files.
  • Add a small Polkit root helper with fixed arguments, file-owner checks, secure staging, and SHA-256 checks.
  • Add package review, compatibility checks, conversion warnings, and private installation receipts.
  • Add Arch package files, a desktop file, an icon, a Polkit policy, and install scripts.
  • Add GPL-2.0-or-later license text, a security policy, pinned continuous integration, and Dependabot updates for GitHub Actions.

Why

The old flow required manual conversion and installation. It also used the slow Debtap dependency translation path. This change gives Arch users one reviewed file-open flow and keeps the root operation small.

User impact

After the system package is installed and the handler is registered, a user can open a .deb file, review the converted Pacman transaction, authorize it, and install it. The default flow does not copy Debian maintainer scripts.

Security review

  • The helper accepts one fixed command form.
  • The helper rejects links, wrong owners, changed hashes, relative paths, and oversized packages.
  • The helper uses fixed /usr/bin paths for root commands.
  • The package is copied from the same open file into a random root-only directory before Pacman reads it.
  • The repository history and full staged change were checked for keys, tokens, passwords, personal home paths, and large generated files. No secret was found.

Checks

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --locked --offline -- -D warnings
  • cargo test --all-targets --locked --offline — 56 tests passed
  • bash -n scripts/*.sh
  • Desktop and XML validation
  • testpkg on the local Arch package
  • Namcap — no errors
  • Real 350 MB ChatGPT package conversion — 12.4 seconds and valid Pacman metadata

@DevNvll
DevNvll marked this pull request as ready for review August 11, 2026 23:31
@DevNvll
DevNvll merged commit 2d9b4fe into main Aug 11, 2026
2 checks passed
@DevNvll
DevNvll deleted the agent/seamless-deb-install branch August 11, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant