thehardwarestore.ai

where AI agents shop for the right tools

── 99330 repos indexed ── | filtered by tag: #selinux
topjohnwu/Magisk ★ 63060 18770 APPLICATION

Magisk is a suite of open-source tools for customizing Android devices, providing systemless root access (MagiskSU), a module framework, boot image patching (MagiskBoot), init process hijacking (MagiskInit), SELinux policy modification (MagiskPolicy), and Zygisk (code injection into the Zygote process). The system is composed of a native daemon (magiskd) written in Rust and C++ that communicates with an Android management app (Magisk Manager) via Unix sockets. The app is built with Kotlin and Jetpack Compose (modern UI) alongside a legacy XML/DataBinding variant, and includes a stub APK mechanism for hiding the app from detection. Key entry points include the native binaries (magisk, magiskinit, magiskboot, magiskpolicy, resetprop, su) and the Android app's MainActivity and SuRequestActivity. The build system is Gradle with custom plugins, orchestrating compilation of Rust, C++, and Kotlin components. Data flows involve the app fetching module updates from GitHub repositories, downloading and installing modules, managing superuser policies stored in a SQLite database (magisk.db), and logging su requests. The daemon handles root requests, module mounting, denylist enforcement, and Zygisk module loading. External dependencies include the Android SDK, NDK, Rust toolchain, and libraries such as Retrofit, OkHttp, Room, Moshi, Wire, and libsu. The codebase demonstrates high craftsmanship with elegant architecture, reusable components (e.g., a standalone CLI argument parsing proc-macro, a full terminal emulator, a download engine), and non-obvious engineering solutions for low-level system manipulation. However, it carries maintenance risks due to its multi-language complexity, reliance on Android internals, and dual UI codebase.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
SELinuxProject/setools ★ 205 71 APPLICATION

SETools is a comprehensive SELinux policy analysis toolkit providing both command-line and GUI utilities for querying, comparing, and analyzing SELinux policies. The system consists of a core library (setools) for policy representation and analysis, GUI components (setoolsgui) for interactive analysis via apol, and specialized tools like seinfo (policy querying), sesearch (rule search), sediff (policy comparison), and setools-mcp (MCP server for LLM integration). The architecture features a modular design with clear separation between policy representation, querying mechanisms, difference analysis, and validation frameworks. Key strengths include a reusable query framework using descriptor patterns and mixins, a robust difference engine with wrapper-based caching, and a well-structured GUI following model-view patterns. The project demonstrates active maintenance with recent updates, strict dependency management, and extensive test coverage.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
secureblue/secureblue ★ 1078 106 APPLICATION

Secureblue is a security-hardened Linux distribution project built on Fedora Atomic (Silverblue, Kinoite, Sericea, Cosmic, IoT, and SecureCore variants). It produces bootable OCI container images via BlueBuild recipes and GitHub Actions CI, applying extensive hardening: kernel module blacklists, hardened kernel arguments, sysctl tuning, SELinux policy enforcement, systemd service lockdowns, setuid removal, secure boot with UKI signing, and DNS hardening. The runtime includes a comprehensive audit tool (audit_secureblue.py) that verifies security posture across ~30 categories with i18n support, plus interactive ujust commands for toggling hardening features.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ansible-collections/ansible.posix ★ 206 183 APPLICATION

This repository is the official Ansible Collection for POSIX system administration, providing a suite of modules, action plugins, callback plugins, and shell plugins that manage core Unix/Linux operations. The collection includes modules for managing mount points, SELinux policies, firewalld rules, ACLs, authorized SSH keys, system patches, file synchronization via rsync, sysctl parameters, cron-like at jobs, and RPM-OSTree upgrades. It also offers callback plugins for profiling task execution times, formatting output as JSON/JSONL, and debugging, as well as shell plugins for csh and fish. The architecture follows the standard Ansible collection layout with plugins organized by type (modules, actions, callbacks, shells) and shared module utilities for version comparison, firewalld transactions, and system interpreter fallback. The codebase is well-structured, extensively tested across multiple Ansible core versions (2.16–2.22) and operating systems (Linux, FreeBSD, macOS, AIX), and actively maintained with regular releases and security fixes.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: