r7-office
maintainer potapovjakov
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the official vendor's domain (r7-office.ru), which is not on the whitelist but plausibly legitimate; the source is verifiable via checksum and used to install the vendor's own software, posing low risk.
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 package downloads a prebuilt .deb from the official vendor's domain (r7-office.ru), which is not on the whitelist but plausibly legitimate; the source is verifiable via checksum and used to install the vendor's own software, posing low risk.
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:27
source=("r7-office_2025.3.1-923~stretch_amd64.deb"::"https://download.r7-office.ru/debian/r7-office_2025.3.1-923~stretch_amd64.deb")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Yakov Potapov <potapovj(at)gmail(dot)com>
2
# Contributor : Mikhail Velichko <efklid@gmail.com>
3
4
pkgname=r7-office
5
pkgver=2025.3.1
6
pkgrel=12
7
pkgdesc='An enterprise office suite that combines text, spreadsheet and presentation editors'
8
arch=('x86_64')
9
url='https://r7-office.ru/'
10
license=('custom:JSC R7')
11
12
makedepends=('icoutils')
13
14
depends=('curl' 'gtk3' 'gtk2' 'alsa-lib' 'libpulse' 'gstreamer' 'gst-plugins-base-libs'
15
'gst-plugins-ugly' 'libxss' 'nss' 'nspr' 'ttf-dejavu' 'ttf-liberation'
16
'ttf-carlito' 'desktop-file-utils' 'hicolor-icon-theme')
17
18
optdepends=('libreoffice: for OpenSymbol fonts'
19
'otf-takao: for japanese Takao fonts'
20
'ttf-ms-fonts: for Microsoft fonts')
21
provides=('r7-office')
22
23
conflicts=('r7-office')
24
25
options=('!strip' '!emptydirs')
26
27
source=("r7-office_2025.3.1-923~stretch_amd64.deb"::"https://download.r7-office.ru/debian/r7-office_2025.3.1-923~stretch_amd64.deb")
28
29
noextract=("https://download.r7-office.ru/debian/r7-office_2025.3.1-923~stretch_amd64.deb")
30
31
sha256sums=('403b00fed685c8d59aa773cee9177993cdb9133b7ee62c3e1d4ed64a71f0d587')
32
33
prepare() {
34
mkdir -p "r7-office-${pkgver}"
35
bsdtar -xf "${srcdir}/r7-office_2025.3.1-923~stretch_amd64.deb" -C "r7-office-${pkgver}"
36
}
37
38
package() {
39
# install bundled files
40
bsdtar -xf "r7-office-${pkgver}/data.tar.xz" -C "$pkgdir"
41
42
# icons
43
icotool -x ${pkgdir}/opt/r7-office/mediaviewer/mvapp.ico
44
icotool -x ${pkgdir}/opt/r7-office/mediaviewer/ivapp.ico
45
46
local _file
47
local _res
48
while read -r -d '' _file
49
do
50
_res="$(sed 's/\.png$//;s/^.*-//' <<< "$_file")"
51
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps"
52
ln -s "../../../../../../opt/r7-office/desktopeditors/asc-de-${_res}.png" \
53
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/r7-office.png"
54
done < <(find "${pkgdir}/opt/r7-office/desktopeditors" -maxdepth 1 -type f -name 'asc-de-*.png' -print0)
55
56
while read -r -d '' _file
57
do
58
_res="$(sed 's/\.png$//;s/^.*_//;s/x32$//' <<< "$_file")"
59
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}/apps"
60
install -Dm644 "$_file" \
61
"${pkgdir}/usr/share/icons/hicolor/${_res}/apps/r7-mvapp.png"
62
done < <(find "${srcdir}" -maxdepth 1 -type f -name 'mvapp_*.png' -print0)
63
64
while read -r -d '' _file
65
do
66
_res="$(sed 's/\.png$//;s/^.*_//;s/x32$//' <<< "$_file")"
67
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}/apps"
68
install -Dm644 "$_file" \
69
"${pkgdir}/usr/share/icons/hicolor/${_res}/apps/r7-ivapp.png"
70
done < <(find "${srcdir}" -maxdepth 1 -type f -name 'ivapp_*.png' -print0)
71
#desktop files fix
72
sed -i 's/Icon=r7-office/Icon=r7-ivapp/' ${pkgdir}/usr/share/applications/r7-office-imageviewer.desktop
73
sed -i 's/Icon=r7-office/Icon=r7-mvapp/' ${pkgdir}/usr/share/applications/r7-office-videoplayer.desktop
74
# 3rd party licenses
75
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
76
ln -s ../../../../opt/r7-office/desktopeditors/3DPARTYLICENSE "${pkgdir}/usr/share/licenses/${pkgname}/3DPARTYLICENSE"
77
}
78
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |