shntool

maintainer envolution · 31 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official host (freeshell.org) used for building the software from source; the host is not whitelisted but is plausibly legitimate and the package does not execute untrusted prebuilt binaries or remote code.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official host (freeshell.org) used for building the software from source; the host is not whitelisted but is plausibly legitimate and the package does not execute untrusted prebuilt binaries or remote code.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:18 source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: envolution
2# Contributor: schuay <jakob.gruber@gmail.com>
3# Contributor: Michal Hybner <dta081@gmail.com>
4# shellcheck shell=bash disable=SC2034,SC2154
5
6pkgname=shntool
7pkgver=3.0.10
8pkgrel=8
9pkgdesc="A multi-purpose WAVE data processing and reporting utility"
10arch=('x86_64')
11url="http://shnutils.freeshell.org/shntool/"
12license=('GPL-2.0-only')
13options=(!emptydirs)
14depends=('glibc')
15optdepends=('mac: support for ape format'
16 'flac: support for flac format'
17 'wavpack: support for wv format')
18source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"
19 'debian_patches_950803.patch'
20 'debian_patches_no-cdquality-check.patch'
21 'shntool-3.0.10-large-size.diff'
22 'shntool-3.0.10-large-times.diff')
23sha256sums=('74302eac477ca08fb2b42b9f154cc870593aec8beab308676e4373a5e4ca2102'
24 '2982c4c030409f2de035b7a833048692440ec9f3445b42326e7e386caa5c9e66'
25 'fc5b6b0138cb2ff492f074d8c58c1bd8f562d8dee2e536d45d9098bffc0f44e3'
26 '605f2030112e1ed6b68001d97a2ea839b00328995bbd795850fb2595f5797c68'
27 '418f9cc575e9d9964ee85819b5db7b38108d2b19a32459ad5e9b5c19d5296292')
28
29
30# Patches taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684600
31# https://salsa.debian.org/debian/shntool/-/tree/master/debian/patches
32
33prepare() {
34 cd "${srcdir}"/${pkgname}-${pkgver}
35 patch -Np1 < "${srcdir}/debian_patches_950803.patch"
36 patch -Np1 < "${srcdir}/shntool-3.0.10-large-size.diff"
37 patch -Np1 < "${srcdir}/shntool-3.0.10-large-times.diff"
38 patch -Np1 < "${srcdir}/debian_patches_no-cdquality-check.patch"
39}
40
41build() {
42 export CFLAGS="$CFLAGS -std=gnu99"
43 cd "${srcdir}"/${pkgname}-${pkgver}
44 ./configure --prefix=/usr
45 make
46}
47
48package() {
49 cd "${srcdir}"/${pkgname}-${pkgver}
50 make DESTDIR="${pkgdir}" install
51}
52
53# vim:set ts=2 sw=2 et:
54

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion