Scan your whole stack
From OX Research Newsroom
Are you using @synopackageland/cli?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.54.14
@synopackageland/cli was last scanned on 25 Nov 2026 at version 0.54.14. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.54.14 LATEST | 25 Nov 2026 | No rules fired |
| 0.54.13 | 24 Nov 2026 | No rules fired |
| 0.54.12 | 23 Nov 2026 | No rules fired |
| 0.54.11 | 22 Nov 2026 | Not shown |
| 0.54.10 | 21 Nov 2026 | Not shown |
Findings for v0.54.14. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.54.14; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
synopkgland builds Synology DSM packages (SPK). Pick a template, declare what your app needs,
and the CLI checks, builds and installs the package.
Full documentation: https://www.varvis.me/docs/ (繁體中文).
Enable pnpm with Corepack before installing the CLI:
corepack enable pnpm
pnpm add -g @synopackageland/cli --registry=https://registry.npmjs.org
Native Go apps need Go and pnpm. The CLI is tested on the supported Node.js release.
synopkgland init -t native-go --with files,jobs,login --package MyApp my-app
cd my-app
(cd frontend && pnpm install)
synopkgland check --json
synopkgland build --arch x86_64 --json
synopkgland inspect dist/MyApp-0.1.0-0001-x86_64.spk --json
synopkgland deploy --host my-nas --arch x86_64 --json
synopkgland status --host my-nas --json
deploy --dry-run prints the deployment plan without connecting to a NAS. You can also install
the SPK with Package Center's Manual Install.
When packaging someone else's open-source App, name its original project/team
(or owner display name, then login) as maintainer and yourself as distributor.
Use init --upstream-fork --upstream <repo-url> --publisher <name> --publisher-url <url>;
--upstream-maintainer records a verified project/team name. Publisher defaults
come from SYNOPKGLAND_PUBLISHER / SYNOPKGLAND_PUBLISHER_URL. Offline lookups
leave TODOs; check --json reports attribution warnings without failing.
See the upstream scaffold and release checklist.
| Template | Use it for | Manifest |
|---|---|---|
native-go |
A Go backend with a Vue UI (or --ui plain) |
dsm-package.yaml |
native-python, native-node, native-rust |
The native-go App with a Python, Node.js (TypeScript) or Rust backend |
dsm-package.yaml |
binary |
A static Linux program you build yourself | dsm-package.yaml |
compose |
Unchanged upstream Compose, generated override and SDK planner | dsm-package.yaml |
Existing native products with their own payload layout use backend: {kind: native} in
dsm-package.yaml. Their systemd units accept only the package-process settings
listed in native systemd settings.
Declare language-independent DSM installation requirements with
dependencies.packages. They merge with inferred Node
requirements without changing the App's executable or runtime.
A backend in Python, Node or Rust uses backend: {runtime: python|node|rust, ...}: the CGI is
the SDK's Go runtime, which checks the DSM session and permissions.json and starts the App
from target/app as the package account for each request (see skills/reference/create.md).
App entry and registration explains administrator-only and Application Privileges admission, explicit method policies, gateway conflicts and the build-bound SDK checks.
External callers describes the local MCP bridge command, App-declared protocols and required trusted administrator entry. This opt-in contract does not add an MCP server or automatically wire an App's tool Engine.
The CLI packages, deploys and checks. The app-side code is the SDK
(synopackageland/syno-pkg-land-sdk): the Go module
github.com/synopackageland/syno-pkg-land-sdk and the npm package @synopackageland/sdk (Vue components at
@synopackageland/sdk/vue). The require github.com/synopackageland/syno-pkg-land-sdk line in
backend/go.mod is the app's only SDK version; build compiles the executor of that version
and checks both payloads against the resolved SDK's executor-manifest.json.
The manifest declares format 1, the exact executor release, its Go toolchain and
six SHA-256 digests. SDK minor versions are independent of CLI minor versions.
Portal panel text comes from the App's SDK even when it has no executor: the
existing identity_gateway.sdk pin, or otherwise the backend SDK requirement
(backend/go.mod, backend.sdk, Rust SDK tag, or project go.mod for a binary).
A Portal without an SDK is rejected by both check and build with
STANDALONE_PORTAL_SDK_REQUIRED. DSM 7.2-64570+ needs no executor for Portal.
SDK module downloads preserve normal Go checksum verification and the user's Go
settings; Go Apps also check their existing backend/go.sum. Commit that file
alongside package lockfiles. Do not disable checksum verification for public SDK
packages. Private mirrors can use explicitly configured Go authentication and
checksum settings; a failed fetch reports SDK_DOWNLOAD_FAILED.
The CLI pins an SDK release for its daemon controllers, Compose planning and installer context. Explicit App SDK declarations take precedence. Locally installed templates retain their own scaffold SDK pins; none declare daemon ingress.
daemon.nofile is currently unsupported. check, build and inspect report
STANDALONE_DAEMON_NOFILE_UNSUPPORTED: registering a system unit does not let
package-account hooks activate it. Remove this option to use the daemon's inherited
limits. This does not guarantee a higher file descriptor limit. See
daemon file descriptor limits and migration.
Every App method is declared once in operations.json; ctl generate writes the
permissions table and runtime bindings. Dynamic names and custom HTTP dispatchers
are rejected. Use fixed
api.HandleHTTP prefixes for authorized raw HTTP and ipc.ServeUnix for private
package Unix sockets. The audit follows each shipped Linux binary's import graph;
unimported development commands are excluded. Use
identity_gateway.upstream_auth_paths for client API paths that use upstream
authentication. See App entry and registration.
The CLI's Go route auditor and its build, Compose helpers, Go environment probe,
and Git upstream lookup have no wall-clock limit by default. To cap each of
these subprocesses, export SYNOPKGLAND_SUBPROCESS_TIMEOUT_SECONDS in the shell.
Use whole seconds from 1 to 86400, or 0 for no limit. This is a per-process
limit, including when ctl generate audits multiple targets.
Apps needing a secure context can declare identity_gateway.secure_context: required
with the latest SDK; HTTP navigation then shows standard HTTPS guidance. See
HTTPS guidance.
init and add read their templates from the locally installed
@synopackageland/templates. The CLI's npm dependency range selects compatible
templates patches during installation or update. Templates
patches need only a templates release; update the CLI installation with pnpm to receive them.
init defaults to native-go with Vue. The CLI writes its own ~ version,
selects the newest stable, non-deprecated SDK and UI releases in its declared
compatibility ranges, and writes the same exact SDK version to npm and the backend.
UI stays in the supported minor line. Registry errors or unavailable compatible
releases print one hint and use the shipped defaults; there is no short custom timeout.
Templates are still read from the installed package, never downloaded by init.
The CLI compatibility ranges live in src/init-versions.ts.
Templates do not ship npm lockfiles. Run pnpm install in the project root and
frontend (and the Node backend) to create them, then commit them and use
pnpm install --frozen-lockfile for subsequent installs. For Go, run
(cd backend && go mod tidy) before check/build. When init selects a newer Rust
SDK tag, run (cd backend && cargo generate-lockfile) before check/build;
the old release's Cargo.lock is removed rather than relabeling its commit.
SYNOPKGLAND_SDK_DIR still overrides the generated SDK dependency for local development.
Existing Apps may use SDK executor manifest format 1 across SDK minor versions. The
exact SDK Go module sum anchors the build manifest; npm integrity anchors the
identical manifest in @synopackageland/sdk/executor-manifest.json. No manifest
is fetched at NAS runtime. Missing, malformed or unsupported new manifests fail
closed. CLI runtime defaults use its pinned SDK independently of the templates. SDK releases inside the init compatibility range do not require a templates release; new CLI capabilities or a new manifest
format can still require one.
For development against local checkouts, set SYNOPKGLAND_TEMPLATES_DIR to a
templates checkout and SYNOPKGLAND_SDK_DIR to an SDK checkout; SPKs built with
SYNOPKGLAND_SDK_DIR warn EXECUTOR_DIGEST_UNVERIFIED and must not be published. A Vue project
packs the local SDK into its frontend (pnpm install --no-frozen-lockfile) without building it: run
pnpm install && pnpm run build in $SYNOPKGLAND_SDK_DIR/ts first, and again after SDK changes.
Frontend builds may emit app.module.js exporting mount(root, ctx), plus
app.css and relative ES module chunks. The CLI packages that output under a
content-addressed UI directory, so entry, lazy chunks and CSS share one build
URL. inspect verifies that tree against the build inventory. Classic app.js
Apps keep their existing registration contract and paths. See the SDK's
frontend bundle guide.
To check the CLI's DSM terminology rules against templates without a new templates release:
SYNOPKGLAND_TEMPLATES_DIR=/path/to/templates pnpm run test:glossary
This compares OFF_GLOSSARY and the Italian sentence rule, including regex sources and
flags. It supports declaration-only rules with read-only use in glossaryProblems;
post-declaration mutations, aliases and other unsupported rule uses fail the check instead of
comparing a partial snapshot. The command also fails on drift or missing source. It needs a checkout because templates
does not publish scripts/test/i18n.test.mjs. The npm gate runs this check when
SYNOPKGLAND_TEMPLATES_DIR is set; otherwise it explicitly reports that the drift check was skipped.
Add them with init --with … or later with synopkgland add <capability…>.
| Capability | What the app can do | Who approves |
|---|---|---|
files |
Browse, read and write NAS files as the signed-in DSM user | Nobody; File Station applies that user's permissions |
jobs |
Run background jobs and schedules as the package | Nobody |
login |
Sign users in with their DSM account, without the DSM desktop | Nobody; requires HTTPS for password sign-in |
delegate |
Move files into a user's chosen folder while the user is offline | An administrator, once |
root-ops |
Run fixed root/*.sh scripts for administrators |
An administrator, once |
portal |
Open the app from its own Application Portal alias, with a login page style (login_style changes the colour, wallpaper and title) |
An administrator applies the alias; DSM 7.2-64570+ needs no executor (INFO asks DSM to reload nginx on start and stop). DSM 7.1-42661+ needs an executor to register the entry |
Delegate is implemented; its default operation is files.moveFromStaging.
Device lifecycle acceptance on real hardware is still pending for delegate and root operations.
Every template has a dsm-scripts/ folder with DSM's own script names: preinst, postinst,
preupgrade, postupgrade, preuninst, postuninst and start-stop-status. Each does nothing
until you edit it. build packs them and calls each one from the generated script of the same
name, after the SDK's steps (before them for preupgrade, preuninst and stop); they run as
the package account, with DSM's arguments, environment and exit codes. Projects without
dsm-scripts/ build as before. See synopkgland skill show lifecycle.
Root work after an install or upgrade, such as removing what an older version left, is not a
lifecycle script: name a root/ program as root.start in dsm-package.yaml. The executor runs
it as root once at the first start of each new version, while the administrator's approval is
live, for at most 60 seconds; a failure is logged and does not block the start, and the executor
status reports the result as start_step. While it runs, the executor answers only status
(state: "starting") and refuses other requests with the retryable EXECUTOR_STARTING; the DSM
window's approval waits for it, while a status read answers executor_starting at once and the
SDK's panels check again on their own. The program cannot declare run or job, and
declaring it changes the policy digest, so an administrator approves the App again.
Before releasing an executor App, compare it with the previous released SPK of that package and architecture. Include the resulting summary in release notes:
synopkgland build --arch x86_64 --baseline previous.spk --json
synopkgland inspect current.spk --baseline previous.spk
The summary covers root program digests, permission/parameter differences, task template changes and executor-only handover eligibility. Without a comparable baseline, approval retention is unknown. Eligibility still requires live protected runtime and exact DSM task readback. See the approval guide.
Native Apps appear in Hyper Backup's backup wizard as applications. By default Hyper Backup stops
the App, the SDK archives its data folder (the package's var) and Hyper Backup starts it again;
a restore replaces that folder. backup: {online: true} keeps the App running and reads
SQLite databases in place under a read transaction; exclude leaves scratch paths out; data_version guards restores of newer data; hook runs a packaged
freeze/thaw executable; backup: {hyper_backup: false} opts out. Compose Apps are not
covered. The build compiles the SDK backup control with Go, also for a prebuilt backend; without
Go it skips the default backup with a warning. Hyper Backup runs the generated scripts/backup/ as root: a fixed script that only
switches to the package account and moves one archive it never reads. This DSM-owned hook does
not change how the App runs or its privilege tier. See synopkgland skill show backup.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.