recordly
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): The package builds from the project's own GitHub source tarball with a verified checksum; the flagged 'npm add node-abi@latest' fetches a well-known npm utility, 'npx tsc' and 'npx vite build' run locally-installed project tools (not remote arbitrary scripts), and the CN mirror redirect is a common pattern in AUR packages targeting Chinese users rather than malicious traffic hijacking.
2 higher static findings superseded - not the current verdict (shown for transparency)
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:80
NODE_ENV=development npm add -D node-abi@latest
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:88
NODE_ENV=production npx tsc -
PKGBUILD:89
NODE_ENV=production npx vite build --config vite.config.ts
PKGBUILD
3 offending line(s) highlighted# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=recordly
_pkgname=Recordly
pkgver=1.3.3
_electronversion=43
_nodeversion=24
pkgrel=1
pkgdesc="Open-source screen recorder and editor with auto-zoom, cursor effects, and polished video export。(Use system-wide electron)"
arch=('any')
url="https://recordly.dev/"
_ghurl="https://github.com/webadderallorg/Recordly"
license=('AGPL-3.0-or-later')
depends=(
"electron${_electronversion}"
)
makedepends=(
'npm'
'nvm'
'git'
'curl'
'yarn'
'jq'
)
source=(
"${pkgname}-${pkgver}.tar.gz::${_ghurl}/archive/refs/tags/v${pkgver}.tar.gz"
"${pkgname}.sh"
)
sha256sums=('a06141f547d644d5dd208fa26e826df3b063f727d2fd7dc884937611cf85a0c6'
'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
_ensure_local_nvm() {
local NVM_DIR="${srcdir}/.nvm"
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
nvm install "${_nodeversion}"
nvm use "${_nodeversion}"
}
_set_build_env() {
export ELECTRON_DIST="/usr/lib/electron${_electronversion}"
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export SYSTEM_ELECTRON_VERSION="$(electron${_electronversion} -v | sed 's/v//g')"
export HOME="${srcdir}/.electron-gyp"
export NPM_CONFIG_CACHE="${srcdir}/.npm_cache"
export NPM_CONFIG_MAXSOCKETS=32
if [[ "$(curl -s ipinfo.io/country)" == *"CN"* ]]; then
{
export NPM_CONFIG_REGISTRY="https://registry.npmmirror.com"
export NODEJS_ORG_MIRROR="https://npmmirror.com/mirrors/node"
export ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
export ELECTRON_BUILDER_BINARIES_MIRROR="https://npmmirror.com/mirrors/electron-builder-binaries/"
}
find ./ -type f -name "package-lock.json" -exec sed -i "s/registry.npmjs.org/registry.npmmirror.com/g" {} +
fi
}
_get_app_dir() {
find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
}
_get_electron_version() {
_elec_ver=$(find "${srcdir}" -maxdepth 5 -name "package.json" ! -path "*/node_modules/*" \
-exec grep -l '"electron"' {} + | xargs -I{} jq -r '(.devDependencies.electron // .dependencies.electron) // empty' {} 2>/dev/null | head -1)
[[ -z "${_elec_ver}" ]] && return 1
echo -e "The electron version is: \033[1;31m${_elec_ver%%.*}\033[0m"
}
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
sed -i -e "
s/@electronversion@/${_electronversion}/g
s/@appname@/${pkgname}/g
s/@runname@/app.asar/g
s/@cfgdirname@/${_pkgname}/g
" "${srcdir}/${pkgname}.sh"
gendesk -q -f -n \
--pkgname="${pkgname}" \
--pkgdesc="${pkgdesc}" \
--categories="AudioVideo;Utility" \
--name="${_pkgname}" \
--exec="${pkgname} %U"
_set_build_env
_ensure_local_nvm
sed -i "s/\"electron\": \"[^\"]*\"/\"electron\": \"${SYSTEM_ELECTRON_VERSION}\"/g" package.json
find src -type f -exec sed -i "s/process.resourcesPath/\'\/usr\/lib\/${pkgname}\'/g" {} +
NODE_ENV=development npm add -D node-abi@latest
NODE_ENV=development npm install --legacy-peer-deps
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
_set_build_env
_ensure_local_nvm
NODE_ENV=production npm run build:platform-native-helpers
NODE_ENV=production npx tsc
NODE_ENV=production npx vite build --config vite.config.ts
NODE_ENV=production npm run normalize:electron-main-cjs
NODE_ENV=production npm run smoke:electron-main-cjs
NODE_ENV=production npm exec -c "electron-builder --linux dir -c.electronDist=${ELECTRON_DIST}"
}
package() {
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname}"
local _app_dir=$(_get_app_dir)
cp -a "${_app_dir}/resources/"* "${pkgdir}/usr/lib/${pkgname}/"
rm -rf "${pkgdir}/usr/lib/${pkgname}/default_app.asar"
icon_sizes=(16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024)
for _icons in "${icon_sizes[@]}";do
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/icons/icons/png/${_icons}.png" \
"${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname}.png"
done
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 4 |
| 2026-08-02 00:16:08 | LOW | 4 |
| 2026-08-01 00:11:18 | LOW | 4 |
| 2026-07-31 00:14:10 | LOW | 4 |
| 2026-07-30 00:17:23 | LOW | 4 |
| 2026-07-29 11:14:58 | LOW | 4 |
| 2026-07-29 11:11:22 | MEDIUM | 3 |