r2fas
CLEAN
maintainer hamidrezakp
0 votes
scanned 2026-08-22 00:02:17.015094
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds a Rust-based radare2 plugin from its official GitHub source, uses standard build practices, and installs only the resulting library and documentation; the low-vote, recent-upload flag is a metadata concern, not a security risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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: Hamid R. K. Pishghadam <hamidrkp@riseup.net>
2
3
pkgname=r2fas
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc='Loads FASM -s symbolic dumps in radare2 (labels, source lines, comments)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/hamidrezakp/r2fas'
9
license=('MIT')
10
depends=('radare2>=6')
11
makedepends=('cargo' 'pkgconf' 'radare2')
12
checkdepends=('radare2' 'fasm')
13
options=('!lto' '!debug')
14
source=("$pkgname-$pkgver.tar.gz::https://github.com/hamidrezakp/r2fas/archive/refs/tags/v$pkgver.tar.gz")
15
sha256sums=('79f1ab996bc5ac758ef2f9dafb646e22d761252030fd33c6a37eb9338a84168f')
16
17
prepare() {
18
cd "$pkgname-$pkgver"
19
export RUSTUP_TOOLCHAIN=stable
20
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21
}
22
23
build() {
24
cd "$pkgname-$pkgver"
25
export RUSTUP_TOOLCHAIN=stable
26
export CARGO_TARGET_DIR=target
27
cargo build --frozen --release --all-features
28
}
29
30
check() {
31
cd "$pkgname-$pkgver"
32
export RUSTUP_TOOLCHAIN=stable
33
export CARGO_TARGET_DIR=target
34
make fixtures
35
cargo test --frozen --all-features -- --test-threads=1
36
}
37
38
package() {
39
cd "$pkgname-$pkgver"
40
local r2ver
41
r2ver="$(pkg-config --modversion r_core)"
42
install -Dm0755 target/release/libcore_fas.so \
43
"$pkgdir/usr/lib/radare2/${r2ver}/core_fas.so"
44
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
45
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-22 00:02:17 | Clean | 2 |
| 2026-08-21 23:15:29 | Low | 1 |