bash-guard

LOW
maintainer lloydzhou 0 votes scanned 2026-09-20 19:33:19.533630
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: lloydzhou <lloydzhou@qq.com>
2
3pkgname=bash-guard
4pkgver=0.2.0
5pkgrel=1
6pkgdesc='Local-first safety gate for Claude Code and Codex tool calls'
7arch=('x86_64' 'aarch64')
8url='https://github.com/lloydzhou/bash-guard'
9license=('MIT')
10depends=('gcc-libs')
11makedepends=('cargo')
12source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lloydzhou/bash-guard/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('9d4952afdb6b08b712259d7c39383e1beb82ce877c927ef389d94f30598b8624')
14
15build() {
16 cd "${pkgname}-${pkgver}"
17 cargo build --release --locked
18}
19
20check() {
21 cd "${pkgname}-${pkgver}"
22 cargo test --locked
23}
24
25package() {
26 cd "${pkgname}-${pkgver}"
27 install -Dm755 target/release/bash-guard "${pkgdir}/usr/bin/bash-guard"
28 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
29 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
30}
31

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 19:33:19 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion