Benign arch Download

wallet-recovery-wizard-bin 5.11.0-1

Arch Linux CN repo tree member patharchlinuxcn or alarmcn package tree path
SHA-2569db4e688eeed70d4f3f200c5939a83bd837e2667496e62e6849d186c2ecbee9f

Evidence

Shell path to a dot-entry under $HOME wallet-recovery-wizard.sh · lines 1–24
1#!/bin/bash
2set -e
3_APPDIR="/usr/lib/@appname@"
4_RUNNAME="${_APPDIR}/@runname@"
5
6# Base environment variables
7export ELECTRON_IS_DEV=0
8export ELECTRON_FORCE_IS_PACKAGED=true
9export ELECTRON_DISABLE_SECURITY_WARNINGS=true
10export NODE_ENV=production
11export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
12export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
13
14# 1. Display System Optimization (X11 & Wayland)
15# Use 'auto' to allow modern Electron (v20+) to detect the best platform
16# This helps with Wayland window decorations, fractional scaling, and GPU acceleration
17export ELECTRON_OZONE_PLATFORM_HINT="${ELECTRON_OZONE_PLATFORM_HINT:-auto}"
18
19# 2. Desktop Environment (DE) Compatibility
20# Set CHROME_DESKTOP to match the .desktop file for correct taskbar icon grouping
21export CHROME_DESKTOP="@[email protected]"
22
23# Fix for Electron's trash implementation on different DEs
24case "${XDG_CURR …
Shell changes working directory wallet-recovery-wizard.sh · lines 65–73
65:10… box and Execution Permissions
66# Disable sandbox if running as root without ELECTRON_RUN_AS_NODE
67_SANDBOX_ARG=()
68if [[ "${EUID}" -eq 0 ]] && [[ "${ELECTRON_RUN_AS_NODE}" != "1" ]]; then
69 _SANDBOX_ARG=("--no-sandbox")
70fi
71
72cd "${_APPDIR}"
73exec electron@electronversion@ "${flags[@]}" "${_SANDBOX_ARG[@]}" "${_RUNNAME}" "$@"
python interpreter keyword (beyond shebang) PKGBUILD · lines 13–17
13depends=(
14 "electron${_electronversion}"
15 'python'
16)
17options=(
find enumerates regular files PKGBUILD · lines 25–33
25 'a774c2f54fbbeeaac3cefc0f7250796d30c86d27f0fd40b7eaf9c0fdb021623d')
26_get_app_dir() {
27 find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
28}
29_check_electron_version() {
30 echo "Verifying Electron version..."
31 local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
32 [[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
33 local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
Search for image file extensions PKGBUILD · lines 54–58
54 local _app_dir=$(_get_app_dir)
55 cp -a "${_app_dir}/resources/". "${pkgdir}/usr/lib/${pkgname%-bin}/"
56 find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
57 _extension="${_i##*.}"
58 _icon_path="${_i#*share/icons/}"

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.