shntool

LOW
maintainer envolution 33 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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