bash-guard
LOW
maintainer lloydzhou
0 votes
scanned 2026-09-20 19:33:19.533630
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
3
pkgname=bash-guard
4
pkgver=0.2.0
5
pkgrel=1
6
pkgdesc='Local-first safety gate for Claude Code and Codex tool calls'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/lloydzhou/bash-guard'
9
license=('MIT')
10
depends=('gcc-libs')
11
makedepends=('cargo')
12
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lloydzhou/bash-guard/archive/refs/tags/v${pkgver}.tar.gz")
13
sha256sums=('9d4952afdb6b08b712259d7c39383e1beb82ce877c927ef389d94f30598b8624')
14
15
build() {
16
cd "${pkgname}-${pkgver}"
17
cargo build --release --locked
18
}
19
20
check() {
21
cd "${pkgname}-${pkgver}"
22
cargo test --locked
23
}
24
25
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-20 19:33:19 | Low | 1 |