paru fork with llm audit
  • Rust 88.8%
  • Shell 10.9%
  • Dockerfile 0.3%
Find a file
Eko 3cb55a689e
Some checks failed
Tiaki / test (push) Has been cancelled
Tiaki / test-git (push) Has been cancelled
style: use tiaki theme colors for audit messages
- :: in blue bold (action style, matching all other tiaki prompts)
- Message text in bold
- Scanning, no-vulnerabilities, and findings header all consistent
2026-06-15 19:46:37 -04:00
.github rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
completions rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
man feat: add security audit config and CLI flags 2026-06-15 06:28:10 -04:00
po rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
rules feat: implement security audit engine 2026-06-15 06:34:24 -04:00
scripts scripts/mkmo: switch msgfmt args 2024-03-19 06:33:22 +00:00
src style: use tiaki theme colors for audit messages 2026-06-15 19:46:37 -04:00
testdata test: work around repo-add panic in pacman 7.1.0 rc 2026-06-15 07:48:47 -04:00
tests test: work around repo-add panic in pacman 7.1.0 rc 2026-06-15 07:48:47 -04:00
.dockerignore rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
.gitignore rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
Cargo.lock rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
Cargo.toml rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
CHANGELOG.md rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
CONTRIBUTING.md rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
Dockerfile rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00
LICENSE Initial commit 2020-10-09 13:37:56 +01:00
README.md fix: default AI model to kimi-k2.6:cloud 2026-06-15 09:11:10 -04:00
tiaki.conf rebrand: paru -> tiaki 2026-06-15 06:22:08 -04:00

Tiaki

Tiaki is an AUR helper for Arch Linux with built-in security auditing. It is a fork of paru that runs a configurable security audit before the normal PKGBUILD review.

  • Local YAML rule scan of package diffs
  • Online vulnerability lookup via OSV
  • OpenAI-compatible AI analysis of diffs (local Ollama or any compatible endpoint)
  • Findings ranked as Critical, High, Medium, or Low
  • Critical findings pause and ask for confirmation unless --noconfirm is used

Installation

sudo pacman -S --needed base-devel

Clone this repository or install from the AUR:

git clone https://git.evileko.dev/evileko/tiaki.git
cd tiaki
makepkg -si

Quick start

# Search and install a package
tiaki <target>

# Install a specific package
tiaki -S <target>

# Upgrade AUR packages
tiaki -Sua

# Show available AUR updates
tiaki -Qua

# Build and install a local PKGBUILD
tiaki -Bi .

Configuration

Tiaki reads /etc/tiaki.conf and ~/.config/tiaki/tiaki.conf.

Security audit options

All audit features are enabled by default. Add these to [options] in tiaki.conf or pass them as CLI flags:

Config key CLI flag Default Description
SecurityAudit / NoSecurityAudit --[no-]security-audit on Enable the audit before review
Osv / NoOsv --[no-]osv on Query OSV for known vulnerabilities
Ai / NoAi --[no-]ai on Send diffs to an AI endpoint for analysis
AiUrl --ai-url http://localhost:11434/v1 OpenAI-compatible endpoint
AiModel --ai-model kimi-k2.6:cloud Model name to request
AiTimeout --ai-timeout 60 Request timeout in seconds
RulesPath --rules-path auto Path to the local YAML rule database

Example ~/.config/tiaki/tiaki.conf:

[options]
AiUrl = http://localhost:11434/v1
AiModel = kimi-k2.6:cloud

The AI API key is read from the TIAKI_AI_KEY environment variable only and is never stored in tiaki.conf.

Rule files

Tiaki loads rules in this order:

  1. RulesPath if set in config
  2. $XDG_CONFIG_HOME/tiaki/rules/tiaki.yaml
  3. /usr/share/tiaki/rules/tiaki.yaml
  4. Compiled-in minimal fallback

Packagers should install rules/tiaki.yaml to /usr/share/tiaki/rules/tiaki.yaml. Users can override it by copying the file to $XDG_CONFIG_HOME/tiaki/rules/tiaki.yaml.

Usage notes

  • Review: The existing paru-style PKGBUILD review/pager flow still runs after the audit output.
  • AI analysis runs only on packages with diffs (the normal review set).
  • OSV is best-effort; missing results do not block installation.
  • Man pages: tiaki(8) and tiaki.conf(5) document all options.
  • Color: Enable color in pacman.conf for color output.

Shell completions

Completions for bash, fish, and zsh are included in completions/.

Contributing

See CONTRIBUTING.md.

License

Tiaki is licensed under the GPL-3.0. See LICENSE.