Scan your whole stack
Are you using @kozou/svelte-ui?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.21.2
@kozou/svelte-ui was last scanned on 15 Nov 2026 at version 1.21.2. Risk score 45 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 1.21.2 LATEST | 15 Nov 2026 | 1 rule fired |
| 1.21.1 | 6 Nov 2026 | No rules fired |
| 1.21.0 | 19 Oct 2026 | No rules fired |
| 1.20.1 | 19 Oct 2026 | Not shown |
| 1.20.0 | 18 Oct 2026 | Not shown |
Findings for v1.21.2. 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.
A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.
HIGHThe score describes 1.21.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
SvelteKit + Svelte 5 Admin UI for Kozou. Reads
a SchemaContext from @kozou/core and talks to a
backend through the DataAdapter interface defined there. Used
standalone, its default adapter speaks PostgREST; under kozou dev
the default is Kozou's bundled in-house REST backend (@kozou/api).
Status: published to npm as
@kozou/svelte-ui. The package ships only the adapter-nodebuild/artifact; host integration viakozou devshipped in v0.1.1.
| Layer | Pick |
|---|---|
| Framework | SvelteKit 2 / Svelte 5 |
| Adapter | @sveltejs/adapter-node |
| Styling | Tailwind v4 + shadcn-svelte design tokens |
| Forms | sveltekit-superforms + zod 4 |
| Tables | Plain <table> markup; sort and pagination links from @kozou/ui-core |
| HTTP | fetch via the DataAdapter interface from @kozou/core |
| Path | Purpose |
|---|---|
/ |
Dashboard — list every table + view in the introspected schema |
/tables/[table] |
Table listing with URL-driven search / sort / pagination |
/tables/[table]/new |
Create record — zod-validated form, superforms-backed |
/tables/[table]/[id] |
Detail view + ?/delete form action |
/tables/[table]/[id]/edit |
Edit record |
/views/[view] |
Read-only view listing |
The create / edit forms render a searchable picker for foreign-key columns:
Known limitation: a key containing an empty-string component cannot be
picked or round-tripped through the form — '' is the picker contract's
unselected sentinel (shared with the single-column picker). Such rows remain
manageable through the API.
Picker eligibility and the all-or-nothing composite write are UI-level
conveniences, not an enforcement boundary: the form actions validate
per-column shapes and forward the payload through the configured adapter
(including service-token mode under kozou dev), and the same composite
component columns are individually editable wherever the relation is not
picker-eligible. Row-level invariants belong to PostgreSQL constraints and
RLS — the project's enforcement posture.
Query parameters on the list / view routes:
?q=<text> — case-insensitive search across the resolved
text-like columns.?sort=col:asc,col2:desc — one or more sort segments.?page=<n> — 1-based; defaults to 1.?pageSize=<m> — defaults to 50.Required environment variables (Node 20+, pnpm 9+):
DATABASE_URL — PostgreSQL connection string. Used by
hooks.server.ts to introspect the schema on first request.KOZOU_ADAPTER_URL — base URL of the backend the DataAdapter
talks to (default http://localhost:3000).Optional, both concerning the "Connect an AI agent" page:
KOZOU_MCP_HTTP_PORT — port the co-located MCP Streamable HTTP
server listens on, used to build the copy-paste client config
(default 3334). kozou dev sets this from its own config.
KOZOU_UI_MCP_POSTURE — how the MCP endpoint runs, which decides
whether the connection page exists and what it says about
authentication. kozou dev sets it from its own config on every run:
off — no listener (server.mcp.http.enabled: false). The page
404s and both links to it (the header link and the dashboard card)
are gone, so nothing advertises an endpoint that is not listening.
Set this yourself when you run this server standalone next to no
MCP endpoint.local — serving with no authentication (the loopback default).oauth — serving as an OAuth 2.1 protected resource
(server.mcp.http.auth). The config snippets keep the same shape —
one URL, no client secret, since a client discovers the
authorization server from the endpoint itself — but the URL comes
from KOZOU_UI_MCP_RESOURCE rather than the request host.Absent reads as local, which is the posture a standalone UI is in.
A value this build does not recognize (a typo, or a newer CLI) still
offers the page, resolving the address the way local does, but says
nothing about authentication rather than guessing.
KOZOU_UI_MCP_RESOURCE — the canonical resource URI
(server.mcp.http.auth.resource) to hand out in the oauth posture,
used verbatim including its path. kozou dev sets it whenever that
block exists. Without it the page builds the endpoint from the
browser's request host and the MCP port, which is wrong behind the
proxy or tunnel that makes resource necessary in the first place.
Ignored in the other postures, where nothing declared a canonical URI.
KOZOU_UI_MCP_ADVERTISED_URL — the same thing for the postures with no
auth block (server.mcp.http.advertisedUrl): the address clients reach
the endpoint at, when that differs from the port it binds — a remapped
published port, a tunnel, a devcontainer, a proxy. Used verbatim, path
included; the CLI refuses any path but /mcp, so what arrives here
never describes an endpoint mounted under a path prefix. kozou dev
sets it whenever the field is configured, and sets at most one of this
and KOZOU_UI_MCP_RESOURCE. Ignored in the oauth posture, where
resource is the address clients discover.
# from the monorepo root
pnpm install
# build the SvelteKit production bundle (Node + client artifacts)
pnpm --filter @kozou/svelte-ui run build
# unit + integration tests
pnpm --filter @kozou/svelte-ui run test
# start the dev server
DATABASE_URL=postgres://kozou:kozou@localhost:5432/kozou \
KOZOU_ADAPTER_URL=http://localhost:3000 \
pnpm --filter @kozou/svelte-ui run dev
Building before running pnpm test exercises the smoke case in
test/smoke/build.test.ts; the case is skipped (not failed) when
the build artifacts are absent so a fresh checkout still gets a
green pnpm test run.
Run the standalone dev server end-to-end against a real PostgreSQL and a
REST backend at KOZOU_ADAPTER_URL (default http://localhost:3000).
Standalone, this package's default adapter speaks PostgREST, so bring up
a PostgreSQL and a PostgREST pointed at it:
pnpm --filter @kozou/svelte-ui run dev — open
http://localhost:5173/.?q=…) — the URL updates and rows narrow.asc → desc,
?sort= updates in the URL./tables/[table]./views/[view] — listing renders with no
New / Edit / Delete controls (read-only).Route code (src/routes/**) never imports PostgrestDataAdapter
directly. The eslint config in the repository root
(.eslintrc.cjs) enforces this: routes that try to hardcode a
PostgREST URL, dereference a PGRST_* env var, or reference
PostgREST by name fail lint. Routes go through getAdapter() in
src/lib/server/adapter.ts, which constructs the configured
adapter from KOZOU_ADAPTER_URL (default http://localhost:3000).
Apache 2.0. See LICENSE at the repository root.
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.