main · *_release · release/*
thresholdsseverity ≥ minor · confidence ≥ medium · cap 12
max diff0.4 MB
pollevery 300s
NinjaRemote Installer — native installer/bootstrapper for the NinjaRemote agent (download, setup, licensing, platform integration). C++.
C++ installer/bootstrapper that deploys the NinjaRemote player onto end-user machines.
Windows-primary (macOS/Linux are config stubs); FLTK GUI + CLI/silent mode; CMake +
vcpkg (static linking), using Poco/libzip/libcurl. The player payload is typically
embedded in the EXE at build time (offline install), but a network/manifest-fetch path
also exists — treat either delivery route as in scope. Runs as the invoking user;
elevates for uninstall from Program Files by re-launching itself (UAC).
self-copy as the uninstall stub, URL-scheme + Add/Remove-Programs registration, player launch.
compile-time constants (install paths, filenames, keys); an embed-resource build helper
that bakes the payload/configs into the EXE (one EXE per arch).
(hash/signature) before decompress/exec — a real supply-chain surface. Downloaded payloads
must keep TLS/cert validation on.
crafted archive must not write outside the install dir.
temp-file handling, DLL/search-path hijack, and writable-directory races.
machine; review cleanup on every failure branch.
Filesystem mutations + stub copy/execute; process launch (no signature check on the launched
binary); registry writes (URL scheme, Add/Remove-Programs) — HKCU vs HKLM scope depends on
elevation; the silent-accept-EULA path (consent bypass / compliance).
%ProgramFiles%\NinjaRemote) — uninstallers and player-locators depend on it.ninjarmm URL scheme — deep-link invocations from the web app / agent.recurring bug source — use the conversion helpers.
non-English Windows.
_Orientation only — verify current specifics in the code; this describes durable architecture
and risk areas, not a snapshot._
How the monitored repos relate — so a change in one repo is reviewed with its blast
radius in mind (a change upstream of ncpeer can break ncpeer even if it looks local).
Orientation only; verify specifics in code.
speak the NCRP wire protocol (protocol/format changes must stay compatible across
client and server versions).
URLs, it pairs them and forwards frames verbatim. Signed join URLs are minted by the
Ninja backend — the signature scheme is a backend⇄relay contract, and the frame
semantics are a peer⇄peer contract.
a signed upload leg streams to a signed download leg through memory (never stored).
Two parallel implementations (Python ftsv2/ + Go fts_go/) must stay behaviorally
identical; the URL/signature scheme is shared-family with websocket-switch.
NinjaRemote file-transfer features ride on these relays when peers can't go direct.
or behaviour change here affects both consumers.
build against**. A dependency bump changes what those products link (security/ABI/build).
through the ncpeer_vcpkg overlay.
shares nccommon and ncpeer_vcpkg with ncpeer.
part of the remote-desktop family). Runs as a child process of the NinjaRMM agent (the
parent owns install/upgrade/policy/launch); NinjaFlow owns the CLI contract, config schema,
credential precedence, DB schema/migrations, and exit-code meanings the parent consumes —
those are cross-process contracts. Submits telemetry to the Ninja Backend. Shares no code with
ncpeer/nmsnj; adjacent to nmsnj only in domain (network), not in implementation.
not part of any product's build. It consumes the SBOMs the other products' pipelines emit
(Ninja-Remote/ncpeer, NMS/nmsnj, NinjaFlow all appear in its scope maps), scans them for CVEs
and files Jira issues — a downstream *security-scanning* relationship, not a code dependency.
Shares no code with the others; has its own DB/schema and a toolbox submodule.
authentication component: its pam_ninja.so gates SSH reverse-tunnel access into
Ninja infrastructure with a time-based OTP. Shares no code with the other repos; its
blast radius is operational (who can SSH-tunnel into hosts), not code-level. The client OTP
generators and the module must agree on the OTP scheme + shared secret.
these are *upstream* of ncpeer (and nccommon/vcpkg also of nmsnj) — weigh the consumer
side: API/ABI compatibility, build impact, and cross-platform reach.
contract.