Repository navigation
Replies: 1 comment
Noctalia 键盘监听 / 后门 / 数据外传 专项安全审计报告
结论摘要
按风险排序的主要发现:
1. 键盘监听排查 —— 无键记录1.1 按键流与日志
1.2 锁屏认证 —— 设计良好,一处 fail-open
密码路径全程: 【中】fail-open: 1.3 剪贴板历史 —— 静态加密好,实时文本面需注意
1.4 其他
2. 后门排查 —— 未发现后门;设计内高能力面需管理已排除:混淆载荷(XOR/base64 blob 零命中,base64 仅为 data-URI/剪贴板/签名代码)、日期/主机名/MAC/环境变量门控、动态 eval(Luau 无 2.1 外部命令执行点(wrapper:
|
| 调用点 | 命令来源 | 判断 |
|---|---|---|
src/scripting/luau_host.cpp:276,2899 |
插件脚本 | 设计能力(见 §2.3) |
src/launcher/dmenu_provider.cpp:261,268(模板 :37-41) |
配置 exec 模板;{selection}/{query} 未加引号拼接 |
【中】注入面:源命令输出含敌意内容时可注入 shell |
src/shell/clipboard/clipboard_panel.cpp:1702 |
配置命令 + shellQuote 转义的临时路径 |
已转义 |
src/capture/screenshot_service.cpp:356 |
配置的截图 pipeCommand(PNG 入 stdin) | 设计内 |
src/theme/template_engine.cpp:1631-1680、src/theme/hook_runner.cpp:148 |
主题模板 hook | 见 §2.2 |
src/hooks/hook_manager.cpp:29-38 |
配置生命周期 hook | 配置信任 |
src/shell/session/session_action_runner.cpp 等 |
配置 | 配置信任 |
src/shell/greeter/greeter_appearance_sync.cpp:327,897-931 |
pkexec/run0 调 root 属主辅助程序;有 isTrustedPrivilegeExecutable 校验(root 属主、非组/他可写、非 FUSE、父目录 root 属主,:114-134) |
有加固 |
src/auth/pam_authenticator.cpp:382 |
fork+exec /proc/self/exe pam-helper,密码走管道 |
固定 argv |
| 其他(合成器/亮度/硬件/字体/终端/desktop-entry) | 固定 argv | 无 |
外部数据 → 命令执行:通知正文、窗口标题、天气、日历事件均不进入命令行。最接近的缺口是 dmenu 的未引号拼接(上表)。
2.2 主题模板 hook —— 远端内容可带 shell 钩子【高】
- 社区模板目录来自
api.noctalia.dev(src/theme/community_templates.cpp:32,686),条目含pre_hook/post_hook/undo_hook字符串(:175-177)。 - 应用模板时钩子经
/bin/sh -lc执行(src/theme/template_engine.cpp:1653附近、src/theme/hook_runner.cpp:148)。 - 完整性:文件与钩子的校验是服务器同信道下发的 MD5(
community_templates.cpp:758),无签名链。 - 未发现应用前展示钩子内容或要求用户确认的机制。
enableCommunityTemplates默认 true(config_types.h:1880)。
信任模型:API 服务器(或其被攻破者)可向选择"应用社区主题"的用户推送任意 shell 命令。建议:钩子执行前弹窗展示并确认、或默认禁用钩子、或引入签名验证。
2.3 Luau 插件体系 —— 任意代码执行 + 无门槛网络【高】
| 项 | 现状 |
|---|---|
| 沙箱 | 有 luaL_sandbox/luaL_sandboxthread + 内存/中断预算(luau_host.cpp:2266-2278),但 API 面本身即全能力 |
| 能力面 | 完整 shell(runAsync/runStream/runInTerminal)、任意路径文件读/写/删/改名(resolveHostPath 允许绝对与 ~ 路径,:994)、HTTP/stream/download(无 manifest 权限门槛,:2181-2183)、剪贴板读写、getenv、日历事件 |
| 加载路径 | 本地 dataDir()/plugins 与 stateDir/plugins/{sources,materialized};require() 限模块目录内 |
| 来源 | 默认 git 源 github.com/noctalia-dev/{official,community}-plugins(config_types.cpp:62-70) |
| 自动更新 | PluginAutoUpdateMode 默认 All —— 启动时 + 每 6 小时后台 git 更新(plugin_manager.cpp:365-440),按目录钉扎的完整 SHA 导出启用的插件 |
| 代码签名 | 无(仅推荐指标有 sodium 签名) |
任意已启用插件 = 用户级完全权限(读剪贴板 → HTTP 外传只是其中一条链)。建议:默认 autoUpdate=Off 或仅手动更新;插件源做签名校验;HTTP/剪贴板等敏感 API 引入 manifest 权限声明。
2.4 IPC 信任边界
- socket:
$XDG_RUNTIME_DIR/noctalia-$WAYLAND_DISPLAY.sock,XDG_RUNTIME_DIR缺失时回退/tmp(src/ipc/ipc_service.cpp:315-323)。 - 无
SO_PEERCRED校验(像素流 socket 有 euid 校验,pixel_stream_client.cpp:112),权限依赖 umask(/tmp回退路径跨用户可达性取决于 umask)。 - 同 UID 客户端能力(
src/cli/schema_msg.h):锁屏/挂起/注销/重启/关机(无直接解锁命令)、config-set(可植入 hook 命令、可禁用锁屏 —— 见 §1.2 fail-open)、剪贴板读/写/清、通知显示/触发/清除、插件启停与插件端点分发、音量/亮度/DPMS/媒体、UI 控制。 - 无直接 exec 动词。威胁模型与"同 UID 进程可改写配置"一致,但结合锁屏 fail-open 构成实际提级。建议:socket 显式 chmod 0600 +
SO_PEERCRED(可参照本工程 quickshell 的做法)。
2.5 DBus 面
- 持有:
org.freedesktop.Notifications(服务端,正文仅显示/存储)、org.kde.StatusNotifierWatcher。 - 客户端:
org.freedesktop.secrets(keyring,作为加密存储密钥源)、NM/iwd SecretAgent(WiFi 密码 → keyring)。 - 未发现 DBus 数据 → 命令执行路径。
3. 数据上传 / 外传排查 —— 无隐蔽遥测;默认联网面需知情
3.1 网络组件总表
| 组件 | 目的地 / 方法 | 触发 | 默认 | 发送数据 |
|---|---|---|---|---|
src/system/telemetry_service.cpp:128 |
POST https://api.noctalia.dev/ping |
启动一次 | 关(config_types.h:1395) |
持久 instanceId UUID、版本、合成器、发行版标签、RAM GB、显示器分辨率/缩放、UI 缩放 |
src/theme/community_palettes.cpp:29,133 |
GET api.noctalia.dev/palettes |
启动 + 主题重载 | 开(无开关) | 仅 IP/UA |
src/theme/community_templates.cpp:32,686 |
GET api.noctalia.dev/templates |
启动 + 按需下载 | 开 | 仅 IP/UA |
src/scripting/plugin_catalog.cpp:283-301 |
git clone/fetch GitHub 插件仓库 |
启动 + 每 6h | 开(autoUpdate=All) | IP → GitHub |
src/scripting/plugin_recommendations.cpp:276,360 |
GET /v1/plugin-metrics、POST /v1/plugins/<id>/vote |
设置页 / 用户投票 | 用户动作 | voter_token(本地随机密钥 HMAC)+ 布尔 |
src/system/location_service.cpp:186,195 |
GET api.noctalia.dev/geolocate、/geocode |
仅 autoLocate=true(默认 false)或配置地址 |
休眠 | 仅 IP(服务端 IP 地理定位) |
src/system/weather_service.cpp:510 |
GET api.open-meteo.com/v1/forecast |
有坐标后周期(≥5min) | 休眠 | 精确坐标 + IP |
src/dbus/network/external_ip_service.cpp:110 |
GET api.noctalia.dev/ip |
网络/VPN 变化 + 5min | 关 | 公网 IP(功能本身) |
src/calendar/google_oauth.cpp:12-90 |
POST api.noctalia.dev/v1/calendar/oauth/google/start、GET /result、POST /refresh(body 含 refresh_token) |
用户添加 Google 账户 | 用户动作 | 刷新令牌明文经中转主机 |
src/calendar/google_client.cpp:186,238 |
GET googleapis.com/calendar/v3/... |
账户配置后周期同步 | 用户动作 | 仅 access token |
src/calendar/caldav_* |
用户配置的 CalDAV URL,Basic 认证 | 账户配置/周期 | 用户动作 | 凭据仅到该服务器 |
src/dbus/mpris/mpris_art.cpp:88,182 |
GET i.ytimg.com/... 或播放器封面 URL |
媒体元数据出现即自动 | 开 | IP + 媒体身份 |
| 更新检查 / 语言包下载 | 无(i18n 内嵌于程序) | — | — | — |
net/http_client.cpp 为唯一 curl 多路层:TLS 校验、FAILONERROR、30s 超时、UA noctalia/<ver>;全局离线开关 shell.offlineMode。OAuth 用外部浏览器(无内嵌 webview,calendar_service.cpp:1304)——凭据不经过 shell 自身的渲染层。
3.2 凭据与本地写盘
- Google/CalDAV 密钥:
security::SecretStore(freedesktop Secret Service keyring),SecureBuffer锁页;历史明文凭据文件仅一次性迁移读取,写入 0600。日历事件缓存 XChaCha20-Poly1305 加密。 ~/.local/state/noctalia/instance.id(UUID);~/.cache/noctalia/(天气/地理缓存);/tmp/noctalia-media-art/<hash>.img(MPRIS 封面,全局可读 tmp,低)。
3.3 响应解析注入面
JSON(nlohmann 类型检查)/XML(CalDAV href)。日历事件链接限 http(s):// + 主机 + ≤2048 字符,仅点击打开(event_link.cpp:38-51)——事件数据不能执行命令。风险集中在 §2.2 模板钩子与 §2.3 插件。
3.4 隐私总结
- 无主机名/用户名/MAC/machine-id/文档内容外传。
- 遥测 opt-in 默认关,内容为粗粒度硬件/OS 事实。
- 默认联网面:主题目录 + 插件 git 自动更新 + 媒体封面 → 相关第三方可见用户 IP 与"在用 noctalia"。
- 唯一持久标识:opt-in 的
instanceId与每安装的voter_token。 - Google OAuth 刷新令牌经
api.noctalia.dev是最敏感的第三方信任点(该主机可持令牌访问用户日历)。
4. 风险发现与建议
4.1 【高】插件供应链与能力面
默认自动更新 + 无代码签名 + 插件全能力(shell/文件/HTTP/剪贴板)。建议:autoUpdate 默认改为手动;插件源引入签名验证;敏感 API(HTTP、剪贴板、文件)按 manifest 权限声明。
4.2 【高】社区主题模板 shell 钩子
服务器下发钩子 + 仅 MD5 同信道完整性 + 无确认机制。建议:应用前展示并确认钩子内容;或默认禁用钩子;或签名验证。
4.3 【中】锁屏 fail-open
配置禁用锁屏即解锁 + IPC 可触发 config-reload。建议:锁屏激活时拒绝"禁用锁屏"生效,或要求凭据确认。
4.4 【中】Google OAuth 刷新令牌经中转主机
第三方 broker 可见刷新令牌。建议:改用本地 loopback OAuth 流程(PKCE),或至少在 UI 明示该信任假设。
4.5 【中】dmenu 未引号拼接
{selection}/{query} 拼进 /bin/sh -c。建议:argv 形式执行或严格 shell 转义(剪贴板路径已有的 shellQuote 可作参照)。
4.6 【中】实时剪贴板对脚本敞开
clipboardText() 无权限门槛 + 插件 HTTP。建议:为剪贴板/HTTP API 引入权限门槛或敏感内容(密码管理器 MIME)实时读取也脱敏。
4.7 【低】IPC 加固
无 SO_PEERCRED、umask 权限、/tmp 回退。建议:chmod 0600 + 对端 UID 校验。
4.8 【低】其他
- MPRIS 封面写
/tmp(全局可读)→ 改私有目录。 - 密码管理器 MIME 过滤覆盖面窄(仅
x-kde-passwordManagerHint)→ 扩展敏感 MIME 列表。 - 软件键盘/IME 无速率限制(依赖系统 PAM)。
- 主题目录/插件更新无关闭开关(除
offlineMode全局断网)。
5. 残余风险(本次未覆盖)
- third_party/luau、wuffs、material_color_utilities、fzy 的逐行审阅(按 stock 处理)。
- libheif / NVIDIA/RSMI 库自身。
- Wayland 协议实现层(wlr-screencopy/data-control)的协议符合性。
6. 复核方法
- 键盘面:输入事件全路径(seat → 路由 → 控件/锁屏/脚本)逐跳核对;密码流逐语句核对擦除与脱敏点。
- 执行面:全部进程启动点枚举并溯源命令来源(固定/配置/脚本/远端);逐个检查拼接与转义。
- 网络面:全树网络模式检索 + 以
net/http_client为汇聚点反查全部调用方,逐组件记录目的地/触发/默认/载荷。 - 权限面:IPC/DBus/脚本 API 能力逐项定性。
Uh oh!
There was an error while loading. Please reload this page.
Noctalia Security Audit: Keylogging / Backdoors / Data Exfiltration
external/shell/noctalia(Noctalia, a native C++ Wayland desktop shell with an embedded Luau scripting engine; ~1350 source files; provides bar, launcher, notifications, lock screen, clipboard history, control center, wallpaper, widgets)Executive Summary
secureClearwiping and redacted loggingMain findings by risk:
pre_hook/post_hook/undo_hookshell hooks (executed via/bin/sh -lc), with integrity provided only by MD5 hashes delivered by the same server — no signatures, and no pre-application hook-content confirmation mechanism was found.config-reloadis reachable over the per-user IPC socket — a same-UID process can unlock the screen without credentials.api.noctalia.devbroker host.{selection}/{query}are spliced unquoted into/bin/sh -c— command injection if the source command emits hostile output.clipboardText()has no permission gate), and combined with plugin HTTP this is an exfiltration path.1. Keyboard Monitoring — no keylogging
1.1 Keystroke flow and logging
src/wayland/wayland_seat.cpp:700-760(xkb → KeyboardEvent) →src/app/application_ui.cpp:454-472→ lock screen / panels / controls. No logging of keycodes/keysyms/typed text (the seat layer logs only keymap/bind state); no keystroke persistence anywhere.KeybindMatcher(src/core/input/keybind_matcher.h), applied only to keys delivered to noctalia's own surfaces (Wayland focus-scoped).capture_keyschords in their manifest; matching press/release events are delivered to LuauonKey(chord, pressed)only while that panel holds keyboard focus (src/shell/panel/plugin_panel.cpp:93-125). The script receives the declared chord spec string, not typed text;Cancelis always reserved for the host.application_ui.cpp:455-456).1.2 Lock-screen authentication — well designed, one fail-open
loginservice via fork+exec ofnoctalia pam-helper(src/auth/pam_authenticator.cpp:337-441):193-215); never via argv, never on disk, never over DBus/IPCsecureClearon both sides (:26-31,432-439):285,299-330)purpose=Password,sensitiveData, and provides no surrounding text to the IME (src/ui/controls/input.cpp:736-751)The password path is:
lock_surface.cpp:487(passwordMode input) →lock_screen.cpp:1435-1490(authentication) → PAM helper. Never written to disk, never sent anywhere, never exposed to Luau.[MEDIUM] Fail-open:
LockScreen::onConfigChanged()unlocks when the lock screen is disabled in config (lock_screen.cpp:437-441), andconfig-reloadcan be triggered over the IPC socket (src/cli/schema_msg.h:474). A same-UID process can edit config + reload → unlock without credentials. Grace-period unlock defaults to 0 and is revoked on resume from suspend (lock_screen.cpp:608-637). Recommendation: while the lock screen is active, ignore config changes that disable it, or require credential confirmation before applying.1.3 Clipboard history — encrypted at rest; live-text surface needs attention
src/wayland/clipboard_service.h:114-128)$XDG_STATE_HOME/noctalia/clipboard/{index.enc, entries/*.enc}, XChaCha20-Poly1305-IETF (src/security/encrypted_file_store.cpp:82-190); key from the Secret Service keyring (src/security/secret_store.cpp:206-268); dirs/files forced 0700/0600; legacy plaintext files are migrated once and removedx-kde-passwordManagerHintMIME is excluded (clipboard_service.cpp:62-74,1381-1386); password-manager content without that MIME enters historyclipboardText()(src/scripting/luau_host.cpp:896-902) and CLIclipboard-text; combined with plugin HTTP this is an exfiltration path (see §2.3)1.4 Other
src/wayland/text_input_service.h); committed text stays inside UI controls.lock_keys_serviceonly reads/sys/class/leds/*::{caps,num,scroll}lock/brightness(LED state) — no key content.screen_time.jsonrecords per-app usage (app-id + duration; no titles, no keys).2. Backdoors — none found; by-design high-capability surfaces need management
Ruled out: obfuscated payloads (XOR/base64 blobs zero hits; base64 is used only for data-URIs/clipboard/signature code), date/hostname/MAC/env gating, dynamic eval (vendored Luau has no
loadstring),ptrace, access to/etc/shadow/~/.ssh/.gnupg/browser profiles.dlopenis limited tolibheif.so.1/libnvidia-ml.so.1/librsmi(hardware probing);memfdis used only for capture buffers / gamma LUTs (legitimate, sealed).2.1 External command execution sites (wrapper:
src/core/process/process.h; string overloads go through/bin/sh -c)src/scripting/luau_host.cpp:276,2899src/launcher/dmenu_provider.cpp:261,268(template:37-41){selection}/{query}substituted unquotedsrc/shell/clipboard/clipboard_panel.cpp:1702shellQuoted temp pathsrc/capture/screenshot_service.cpp:356src/theme/template_engine.cpp:1631-1680,src/theme/hook_runner.cpp:148src/hooks/hook_manager.cpp:29-38src/shell/session/session_action_runner.cppetc.src/shell/greeter/greeter_appearance_sync.cpp:327,897-931isTrustedPrivilegeExecutablevalidation (root-owned, non-group/world-writable, non-FUSE, root-owned parents,:114-134)src/auth/pam_authenticator.cpp:382/proc/self/exe pam-helper; password via pipeExternal data → command execution: notification bodies, window titles, weather, and calendar events never reach a command line. The closest gap is the dmenu unquoted splice (table above).
2.2 Theme-template hooks — remote content can carry shell hooks [HIGH]
api.noctalia.dev(src/theme/community_templates.cpp:32,686); entries carrypre_hook/post_hook/undo_hookstrings (:175-177)./bin/sh -lc(src/theme/template_engine.cpp:1653area,src/theme/hook_runner.cpp:148).community_templates.cpp:758) — no signature chain.enableCommunityTemplatesdefaults to true (config_types.h:1880).Trust model: the API server (or anyone who compromises it) can push arbitrary shell commands to users who apply a community theme. Recommendation: show and confirm hooks before running, or disable hooks by default, or introduce signature verification.
2.3 Luau plugin system — arbitrary code execution + ungated network [HIGH]
luaL_sandbox/luaL_sandboxthread+ memory/interrupt budgets (luau_host.cpp:2266-2278), but the API surface itself is full-capabilityrunAsync/runStream/runInTerminal), arbitrary-path file read/write/remove/rename (resolveHostPathallows absolute and~paths,:994), HTTP/stream/download (no manifest permission gate,:2181-2183), clipboard read/write,getenv, calendar eventsdataDir()/pluginsand per-sourcestateDir/plugins/{sources,materialized};require()resolves inside the module dirgithub.com/noctalia-dev/{official,community}-plugins(config_types.cpp:62-70)PluginAutoUpdateModedefaults to All — background git update at startup + every 6h (plugin_manager.cpp:365-440); enabled plugins are exported at catalog-pinned full-SHA revisionsAny enabled plugin = full user-level privilege (clipboard read → HTTP egress is just one chain). Recommendations: default
autoUpdate=Offor manual-only; signed plugin sources; manifest permission declarations for sensitive APIs (HTTP, clipboard, files).2.4 IPC trust boundary
$XDG_RUNTIME_DIR/noctalia-$WAYLAND_DISPLAY.sock, falling back to/tmpwhenXDG_RUNTIME_DIRis unset (src/ipc/ipc_service.cpp:315-323).SO_PEERCREDcheck (the pixel-stream socket does check euid,pixel_stream_client.cpp:112); permissions depend on umask (the/tmpfallback's cross-user reachability depends on umask).src/cli/schema_msg.h): lock/suspend/logout/reboot/shutdown (no direct unlock verb),config-set(can plant hook commands and disable the lock screen — see the §1.2 fail-open), clipboard read/write/clear, notification show/invoke/clear, plugin enable/disable plus plugin-endpoint dispatch, volume/brightness/DPMS/media, UI control.SO_PEERCREDon the socket (the in-tree Quickshell hardening is a reference pattern).2.5 DBus surface
org.freedesktop.Notifications(server; body only displayed/stored),org.kde.StatusNotifierWatcher.org.freedesktop.secrets(keyring, used as key source for encrypted stores), NM/iwd SecretAgent (WiFi secrets → keyring).3. Data Upload / Exfiltration — no covert telemetry; default network surface needs awareness
3.1 Network components
src/system/telemetry_service.cpp:128POST https://api.noctalia.dev/pingconfig_types.h:1395)instanceIdUUID, version, compositor, distro label, RAM GB, monitor resolutions/scales, UI scalesrc/theme/community_palettes.cpp:29,133GET api.noctalia.dev/palettessrc/theme/community_templates.cpp:32,686GET api.noctalia.dev/templatessrc/scripting/plugin_catalog.cpp:283-301git clone/fetchGitHub plugin repossrc/scripting/plugin_recommendations.cpp:276,360GET /v1/plugin-metrics,POST /v1/plugins/<id>/votevoter_token(HMAC of a local random key) + boolsrc/system/location_service.cpp:186,195GET api.noctalia.dev/geolocate,/geocodeautoLocate=true(default false) or configured addresssrc/system/weather_service.cpp:510GET api.open-meteo.com/v1/forecastsrc/dbus/network/external_ip_service.cpp:110GET api.noctalia.dev/ipsrc/calendar/google_oauth.cpp:12-90POST api.noctalia.dev/v1/calendar/oauth/google/start,GET /result,POST /refresh(body containsrefresh_token)src/calendar/google_client.cpp:186,238GET googleapis.com/calendar/v3/...src/calendar/caldav_*src/dbus/mpris/mpris_art.cpp:88,182GET i.ytimg.com/...or player art URLnet/http_client.cppis the single libcurl-multi layer: TLS-verified, FAILONERROR, 30s timeout, UAnoctalia/<ver>; global kill-switchshell.offlineMode. OAuth uses an external browser (no embedded webview,calendar_service.cpp:1304) — credentials do not pass through the shell's own rendering layer.3.2 Credentials and local writes
security::SecretStore(freedesktop Secret Service keyring), held in lockedSecureBuffers; legacy plaintext credential files are read only for one-time migration; writes are 0600. The calendar event cache is XChaCha20-Poly1305 encrypted.~/.local/state/noctalia/instance.id(UUID);~/.cache/noctalia/(weather/geo caches);/tmp/noctalia-media-art/<hash>.img(MPRIS artwork, world-readable tmp — low).3.3 Response-parsing injection surface
JSON (nlohmann, type-checked) and XML (CalDAV href extraction). Calendar event links are restricted to
http(s)://with a host, ≤2048 chars, and open only on click (event_link.cpp:38-51) — event data cannot execute commands. The real risks are the template hooks (§2.2) and plugins (§2.3).3.4 Privacy summary
instanceIdand a per-installvoter_token.api.noctalia.devis the most sensitive third-party trust point (that host can hold a token that reads the user's calendar).4. Risk Findings and Recommendations
4.1 [HIGH] Plugin supply chain and capability set
Default auto-update + no code signing + full-capability plugins (shell/files/HTTP/clipboard). Recommendations: default
autoUpdateto manual; signed plugin sources; manifest permission declarations for sensitive APIs (HTTP, clipboard, files).4.2 [HIGH] Community theme-template shell hooks
Server-delivered hooks + same-channel MD5-only integrity + no confirmation mechanism. Recommendations: display and confirm hook contents before applying; or disable hooks by default; or verify signatures.
4.3 [MEDIUM] Lock-screen fail-open
Disabling the lock screen in config unlocks it, and config-reload is IPC-reachable. Recommendation: while locked, refuse to apply config changes that disable the lock screen, or require credential confirmation.
4.4 [MEDIUM] Google OAuth refresh token via broker host
A third-party broker sees the refresh token. Recommendation: switch to a local loopback OAuth flow (PKCE), or at minimum disclose this trust assumption in the UI.
4.5 [MEDIUM] dmenu unquoted splicing
{selection}/{query}spliced into/bin/sh -c. Recommendation: argv-form execution or strict shell quoting (the clipboard path'sshellQuoteis a reference).4.6 [MEDIUM] Live clipboard open to scripts
clipboardText()has no permission gate, and plugins have HTTP. Recommendation: permission gates for clipboard/HTTP APIs, or redact sensitive (password-manager MIME) content from live reads too.4.7 [LOW] IPC hardening
No SO_PEERCRED, umask permissions,
/tmpfallback. Recommendation: chmod 0600 + peer UID check.4.8 [LOW] Other
/tmp(world-readable) → use a private directory.x-kde-passwordManagerHint→ extend the sensitive MIME list.offlineMode).5. Residual Risks (out of scope)
6. Methodology
net/http_clientaggregation point; per-component destination/trigger/default/payload recorded.All reactions