nextcloud-app-passwords

LOW
maintainer TrialnError 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a prebuilt tarball from a non-whitelisted but plausibly project-owned host (git.mdns.eu) used to package a Nextcloud app; it is not executed directly, and the worst case of a swapped source is limited to supply-chain risk for the app's code, not arbitrary code execution on the system.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt tarball from a non-whitelisted but plausibly project-owned host (git.mdns.eu) used to package a Nextcloud app; it is not executed directly, and the worst case of a swapped source is limited to supply-chain risk for the app's code, not arbitrary code execution on the system.

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:15 source=("${pkgname}-${pkgver}.tar.gz::https://git.mdns.eu/api/v4/projects/45/packages/generic/${_name}/${_pkgver}/passwords-lsr-81.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Lex Black <autumn-wind@web.de>
2# Contributor: Anty0 <anty150 at gmail dot com>
3
4_name=passwords
5pkgname=nextcloud-app-passwords
6pkgver=2026.9.10
7_pkgver=2026.9.0
8pkgrel=1
9pkgdesc='Easy to use yet feature-rich and secure password manager for Nextcloud'
10arch=('any')
11url="https://apps.nextcloud.com/apps/passwords"
12license=('AGPL3')
13makedepends=('nextcloud' 'yq')
14options=('!strip')
15source=("${pkgname}-${pkgver}.tar.gz::https://git.mdns.eu/api/v4/projects/45/packages/generic/${_name}/${_pkgver}/passwords-lsr-81.tar.gz")
16sha512sums=('4a0068dd1f082b763c658e56def09dab541065ec47c0c6c5c9f66233a5b3aed5dc43039f034f9a767a6c69a77268120f1ecd829999a1f4ccd8cf903f8a3f76c8')
17
18
19# BEGIN boilerplate nextcloud app version clamping, see also other packages in group
20# 1. Call respective function helpers in check() and package() *after* cd'ing to the source directory
21# 2. Add makedepends+=(nextcloud yq)
22_phps=(php7 php php-legacy)
23_get_supported_ranges() {
24 _app_min_nextcloud="$(< appinfo/info.xml xq -r '.info.dependencies.nextcloud["@min-version"] | values')"
25 _app_max_nextcloud="$(< appinfo/info.xml xq -r '.info.dependencies.nextcloud["@max-version"] | values | tonumber | .+1')"
26 _app_min_php="$(< appinfo/info.xml xq -r '.info.dependencies.php["@min-version"] | values')"
27 _app_max_php="$(< appinfo/info.xml xq -r '.info.dependencies.php["@max-version"] | values | tonumber | .+0.1')"
28}
29_unsupported_range() {
30 printf "%s requires %s %s, but %s %s is provided.\n" "$pkgname" "$1" "$2" "$1" "$3"
31 exit 1
32}
33_nextcloud_app_check() {
34 _get_supported_ranges
35 for _php in "${_phps[@]}"; do command -v "$_php" > /dev/null && break; done
36 local _nextcloud_ver="$("$_php" <(cat /usr/share/webapps/nextcloud/version.php; echo 'print($OC_VersionString);'))"
37 local _php_ver="$("$_php" -r 'print(phpversion());')"
38 [[ "$(vercmp "${_app_min_nextcloud:-0}" "$_nextcloud_ver")" -le 0 ]] || \
39 _unsupported_range nextcloud "=> $_app_min_nextcloud" "$_nextcloud_ver"
40 [[ "$(vercmp "${_app_max_nextcloud:-999}" "$_nextcloud_ver")" -gt 0 ]] || \
41 _unsupported_range nextcloud "< $_app_max_nextcloud" "$_nextcloud_ver"
42 [[ "$(vercmp "${_app_min_php:-0}" "$_php_ver")" -le 0 ]] || \
43 _unsupported_range php ">= $_app_min_php" "$_php_ver"
44 [[ "$(vercmp "${_app_max_php:-999}" "$_php_ver")" -gt 0 ]] || \
45 _unsupported_range php "< $_app_max_php" "$_php_ver"
46}
47_nextcloud_app_package() {
48 _get_supported_ranges
49 depends+=("nextcloud>=${_app_min_nextcloud:-0}" "nextcloud<${_app_max_nextcloud:-999}")
50 depends+=("php-interpreter${_app_min_php:+>=$_app_min_php}" ${_app_max_php:+"php-interpreter<$_app_max_php"})
51}
52# END boilerplate nextcloud app version clamping
53
54check() {
55 cd $_name
56 _nextcloud_app_check
57}
58
59package() {
60 install -vdm 755 "$pkgdir/usr/share/webapps/nextcloud/apps/"
61 cp -av $_name "$pkgdir/usr/share/webapps/nextcloud/apps/"
62 cd $_name
63 _nextcloud_app_package
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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