nextcloud-app-passman

LOW
maintainer TrialnError 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from the project's official release domain (releases.passman.cc), which is plausibly controlled by the project maintainers; downloading and building source code from an official project domain is standard practice and not inherently dangerous.

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 90%): The source is a tarball from the project's official release domain (releases.passman.cc), which is plausibly controlled by the project maintainers; downloading and building source code from an official project domain is standard practice and not inherently dangerous.

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=("nextcloud-app-passman-${pkgver}.tar.gz::https://releases.passman.cc/passman_${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Lex Black <autumn-wind@web.de>
2# Contributor: Jonas Frei <freijon@gmail.com>
3# Contributor: Jonas Heinrich <onny@project-insanity.org>
4
5_name=passman
6pkgname=nextcloud-app-passman
7pkgver=2.6.2
8pkgrel=1
9pkgdesc="Passman is a full featured password manager"
10arch=('any')
11url="https://github.com/nextcloud/passman"
12license=('GPL3')
13makedepends=('nextcloud' 'yq')
14options=('!strip')
15source=("nextcloud-app-passman-${pkgver}.tar.gz::https://releases.passman.cc/passman_${pkgver}.tar.gz")
16sha512sums=('9674924a8f6d64db8e4398020a1f1e78e6669dc45d06b7f1b8c6ce63d3c371422e312276fbe3386548fa54c4371ae739108e40b92d5b28001b081ca6e8915eca')
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-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