macOS
brew install tirithlocal Homebrew formula metadata
安装
brew install tirithlocal Homebrew formula metadata
nix profile install nixpkgs#tirithnixpkgs package indexes · pkgs/by-name/ti/tirith/package.nix · 来源: api.github.com
概览
Detect terminal injection, homograph, and pipe-to-shell attacks
历史
tirith is a new Rust terminal-security CLI that analyzes shell commands, pasted text, files, URLs, and AI-agent integrations before execution. Its official positioning is that browsers have long had URL and phishing protections while terminals still execute visually deceptive or obfuscated input without equivalent checks.
The tirith GitHub repository was created in February 2026. Its README and llms.txt describe an open-source, offline, no-telemetry tool that intercepts commands and pastes for homograph URLs, pipe-to-shell patterns, ANSI injection, credential leaks, data exfiltration, malicious AI skills/configs, and related threats.
By the 0.3.x releases in spring and summer 2026, the project had expanded beyond shell hooks into threat databases, MCP tools for AI coding agents, an LSP server, AI-config drift detection, custom rules, policy validation, CI/SARIF output, and package-risk scoring. The changelog shows rapid iteration around Bash enforcement, threat-intelligence updates, agent governance, prompt-injection detection, and installer verification.
tirith is too new to have long historical adoption, but official docs already target package-manager installation and AI-agent workflows. The official quickstart lists Homebrew, cargo, and npm installation paths; the input package metadata lists Homebrew and Nix packages.
Its adoption niche is specifically modern package and agent hygiene: protecting curl|bash installs, homograph package URLs, AI config files, MCP server definitions, shell hooks, and CI scan outputs. That makes it a package-nerd tool because its value appears exactly at the moment developers paste install commands, run package-manager commands, or let coding agents execute shell operations.
Users install tirith, activate a shell hook such as eval "$(tirith init --shell zsh)", and then let the hook inspect commands before they run. Clean commands pass silently; suspicious commands can warn or block depending on shell and policy.
The CLI also supports explicit checks and scans: tirith check analyzes a command without running it, tirith scan checks files and directories, tirith run is a safer replacement for curl|bash style installers, tirith doctor reports protection status, and the MCP/LSP modes integrate with AI coding agents and editors.
tirith is significant to package nerds because it is explicitly about the dangerous edges of package culture: pipe-to-shell installers, typosquatted package names, malicious packages, insecure package-manager flags, untrusted Docker registries, and AI-agent tool execution. Its short history should be treated as current-tool adoption, not legacy adoption.
安全态势
没有找到 tirith 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tirith | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tirith |
|---|---|
| 版本 | 0.3.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://tirith.sh/ |
| 仓库 | https://github.com/sheeki03/tirith |
| 最后更新 | 2026-06-19T09:38:10Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tirith
nix profile install nixpkgs#tirith来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.