r7-office
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
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)
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# Maintainer: Yakov Potapov <potapovj(at)gmail(dot)com>
# Contributor : Mikhail Velichko <efklid@gmail.com>
pkgname=r7-office
pkgver=2025.3.1
pkgrel=12
pkgdesc='An enterprise office suite that combines text, spreadsheet and presentation editors'
arch=('x86_64')
url='https://r7-office.ru/'
license=('custom:JSC R7')
makedepends=('icoutils')
depends=('curl' 'gtk3' 'gtk2' 'alsa-lib' 'libpulse' 'gstreamer' 'gst-plugins-base-libs'
'gst-plugins-ugly' 'libxss' 'nss' 'nspr' 'ttf-dejavu' 'ttf-liberation'
'ttf-carlito' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('libreoffice: for OpenSymbol fonts'
'otf-takao: for japanese Takao fonts'
'ttf-ms-fonts: for Microsoft fonts')
provides=('r7-office')
conflicts=('r7-office')
options=('!strip' '!emptydirs')
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")
noextract=("https://download.r7-office.ru/debian/r7-office_2025.3.1-923~stretch_amd64.deb")
sha256sums=('403b00fed685c8d59aa773cee9177993cdb9133b7ee62c3e1d4ed64a71f0d587')
prepare() {
mkdir -p "r7-office-${pkgver}"
bsdtar -xf "${srcdir}/r7-office_2025.3.1-923~stretch_amd64.deb" -C "r7-office-${pkgver}"
}
package() {
# install bundled files
bsdtar -xf "r7-office-${pkgver}/data.tar.xz" -C "$pkgdir"
# icons
icotool -x ${pkgdir}/opt/r7-office/mediaviewer/mvapp.ico
icotool -x ${pkgdir}/opt/r7-office/mediaviewer/ivapp.ico
local _file
local _res
while read -r -d '' _file
do
_res="$(sed 's/\.png$//;s/^.*-//' <<< "$_file")"
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps"
ln -s "../../../../../../opt/r7-office/desktopeditors/asc-de-${_res}.png" \
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/r7-office.png"
done < <(find "${pkgdir}/opt/r7-office/desktopeditors" -maxdepth 1 -type f -name 'asc-de-*.png' -print0)
while read -r -d '' _file
do
_res="$(sed 's/\.png$//;s/^.*_//;s/x32$//' <<< "$_file")"
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}/apps"
install -Dm644 "$_file" \
"${pkgdir}/usr/share/icons/hicolor/${_res}/apps/r7-mvapp.png"
done < <(find "${srcdir}" -maxdepth 1 -type f -name 'mvapp_*.png' -print0)
while read -r -d '' _file
do
_res="$(sed 's/\.png$//;s/^.*_//;s/x32$//' <<< "$_file")"
install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${_res}/apps"
install -Dm644 "$_file" \
"${pkgdir}/usr/share/icons/hicolor/${_res}/apps/r7-ivapp.png"
done < <(find "${srcdir}" -maxdepth 1 -type f -name 'ivapp_*.png' -print0)
#desktop files fix
sed -i 's/Icon=r7-office/Icon=r7-ivapp/' ${pkgdir}/usr/share/applications/r7-office-imageviewer.desktop
sed -i 's/Icon=r7-office/Icon=r7-mvapp/' ${pkgdir}/usr/share/applications/r7-office-videoplayer.desktop
# 3rd party licenses
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
ln -s ../../../../opt/r7-office/desktopeditors/3DPARTYLICENSE "${pkgdir}/usr/share/licenses/${pkgname}/3DPARTYLICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |