nosnitch 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/db.js ADDED
@@ -0,0 +1,28 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { dirname, join } from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import { Ajv } from "ajv";
5
+ const packageRoot = join(dirname(fileURLToPath(import.meta.url)), "..");
6
+ export const bundledDbPath = join(packageRoot, "db", "index.json");
7
+ export const schemaPath = join(packageRoot, "db", "schema.json");
8
+ /** Returns a list of problems. Empty means the database is valid. */
9
+ export function validateDatabase(db) {
10
+ if (typeof db !== "object" || db === null || !Array.isArray(db.apps)) {
11
+ return ["database must be an object with an apps list"];
12
+ }
13
+ const schema = JSON.parse(readFileSync(schemaPath, "utf8"));
14
+ const validate = new Ajv({ allErrors: true }).compile(schema);
15
+ const problems = [];
16
+ for (const [i, entry] of db.apps.entries()) {
17
+ if (!validate(entry)) {
18
+ const label = entry?.slug ?? `entry ${i}`;
19
+ for (const e of validate.errors ?? [])
20
+ problems.push(`${label}: ${e.instancePath || "/"} ${e.message}`);
21
+ }
22
+ }
23
+ return problems;
24
+ }
25
+ /** Loads the database bundled with the package. */
26
+ export function loadDatabase() {
27
+ return JSON.parse(readFileSync(bundledDbPath, "utf8"));
28
+ }
package/dist/errors.js ADDED
@@ -0,0 +1,16 @@
1
+ /** An error the user can act on. The CLI prints the message and the hint, never a stack trace. */
2
+ export class NosnitchError extends Error {
3
+ hint;
4
+ constructor(message, hint) {
5
+ super(message);
6
+ this.name = "NosnitchError";
7
+ this.hint = hint;
8
+ }
9
+ }
10
+ /** Wrong command line: unknown command, missing argument, bad option. */
11
+ export class UsageError extends NosnitchError {
12
+ constructor(message, hint = "Run nosnitch --help to see the commands and options.") {
13
+ super(message, hint);
14
+ this.name = "UsageError";
15
+ }
16
+ }
package/dist/fix.js ADDED
@@ -0,0 +1,44 @@
1
+ import { writeFileSync } from "node:fs";
2
+ import { dirname, join, resolve } from "node:path";
3
+ import { NosnitchError } from "./errors.js";
4
+ export const OVERRIDE_FILE = "compose.nosnitch.override.yml";
5
+ /** The override sits next to the first compose file so relative paths keep working. */
6
+ export function overridePath(composeFile) {
7
+ return join(dirname(resolve(composeFile)), OVERRIDE_FILE);
8
+ }
9
+ /**
10
+ * Builds a compose override holding only the environment additions that turn
11
+ * telemetry off. Returns null when there is nothing to add.
12
+ */
13
+ export function buildOverride(results, composeFileName) {
14
+ const fixable = results.filter((r) => r.fix_env.length > 0);
15
+ if (fixable.length === 0)
16
+ return null;
17
+ const lines = [
18
+ "# Generated by nosnitch. Turns off telemetry that is on by default.",
19
+ `# Use it with: docker compose -f ${composeFileName} -f ${OVERRIDE_FILE} up -d`,
20
+ "services:",
21
+ ];
22
+ for (const r of fixable) {
23
+ if (!r.verified)
24
+ lines.push(` # ${r.app}: unverified database entry, check the source before relying on it.`);
25
+ lines.push(` ${JSON.stringify(r.service)}:`, " environment:");
26
+ for (const e of r.fix_env)
27
+ lines.push(` ${e.name}: ${JSON.stringify(e.value)}`);
28
+ }
29
+ return `${lines.join("\n")}\n`;
30
+ }
31
+ /** Writes the override file. The original compose file is never opened for writing. */
32
+ export function writeOverride(results, composeFile) {
33
+ const text = buildOverride(results, composeFile.replace(/^.*[\\/]/, ""));
34
+ if (text === null)
35
+ return null;
36
+ const target = overridePath(composeFile);
37
+ try {
38
+ writeFileSync(target, text);
39
+ }
40
+ catch (err) {
41
+ throw new NosnitchError(`Could not write ${target}: ${err.message}`, "Check that the folder is writable. In Docker, mount the folder without :ro and, on Linux, add --user $(id -u):$(id -g).");
42
+ }
43
+ return target;
44
+ }
@@ -0,0 +1,92 @@
1
+ const DOCKER_HUB_REGISTRIES = new Set(["docker.io", "index.docker.io", "registry-1.docker.io", "registry.hub.docker.com"]);
2
+ /**
3
+ * Splits an image reference into name, tag and digest, and normalises the name
4
+ * so that "docker.io/library/redis:7", "library/redis" and "redis" all compare equal.
5
+ */
6
+ export function parseImage(image) {
7
+ let rest = image.trim();
8
+ let digest;
9
+ let tag;
10
+ const at = rest.indexOf("@");
11
+ if (at !== -1) {
12
+ digest = rest.slice(at + 1);
13
+ rest = rest.slice(0, at);
14
+ }
15
+ // A colon after the last slash is a tag. A colon before it is a registry port.
16
+ const lastSlash = rest.lastIndexOf("/");
17
+ const colon = rest.indexOf(":", lastSlash + 1);
18
+ if (colon !== -1) {
19
+ tag = rest.slice(colon + 1);
20
+ rest = rest.slice(0, colon);
21
+ }
22
+ const parts = rest.toLowerCase().split("/");
23
+ const first = parts[0] ?? "";
24
+ const hasRegistry = parts.length > 1 && (first.includes(".") || first.includes(":") || first === "localhost");
25
+ if (hasRegistry && DOCKER_HUB_REGISTRIES.has(first))
26
+ parts.shift();
27
+ if (parts.length === 2 && parts[0] === "library" && !(hasRegistry && !DOCKER_HUB_REGISTRIES.has(first)))
28
+ parts.shift();
29
+ return { name: parts.join("/"), ...(tag ? { tag } : {}), ...(digest ? { digest } : {}) };
30
+ }
31
+ const patternCache = new Map();
32
+ function patternToRegExp(pattern) {
33
+ const cached = patternCache.get(pattern);
34
+ if (cached)
35
+ return cached;
36
+ const escaped = parseImage(pattern)
37
+ .name.split("*")
38
+ .map((part) => part.replace(/[.+?^${}()|[\]\\]/g, "\\$&"))
39
+ .join(".*");
40
+ const compiled = new RegExp(`^${escaped}$`);
41
+ patternCache.set(pattern, compiled);
42
+ return compiled;
43
+ }
44
+ /**
45
+ * For an image on a private registry or mirror: the entry it would match if the
46
+ * registry host were removed. Used only to print a hint, never to decide a status.
47
+ */
48
+ export function findMirroredApp(image, apps) {
49
+ const parts = parseImage(image).name.split("/");
50
+ const first = parts[0] ?? "";
51
+ if (parts.length < 2 || !(first.includes(".") || first.includes(":") || first === "localhost"))
52
+ return undefined;
53
+ const rest = parts.slice(1);
54
+ return findApp(rest.join("/"), apps) ?? (rest.length > 1 ? findApp(rest.slice(1).join("/"), apps) : undefined);
55
+ }
56
+ export function matchesPattern(image, pattern) {
57
+ return patternToRegExp(pattern).test(parseImage(image).name);
58
+ }
59
+ /** Finds the database entry for an image. Exact name matches only: no guessing. */
60
+ export function findApp(image, apps) {
61
+ return apps.find((app) => app.images.some((pattern) => matchesPattern(image, pattern)));
62
+ }
63
+ /** Reads "1.2.3", "v1.2.3" or "1.2.3-suffix" into numbers. Returns undefined for tags like "latest". */
64
+ export function parseVersion(tag) {
65
+ const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+_].*)?$/.exec(tag ?? "");
66
+ if (!m)
67
+ return undefined;
68
+ return [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)];
69
+ }
70
+ /**
71
+ * True when the tag is provably at or above fixedIn. A partial tag such as "3"
72
+ * or "3.3" moves over time and may still point at an old pull, so it only
73
+ * counts when every release it could point to is already fixed.
74
+ */
75
+ export function isAtLeastVersion(tag, fixedIn) {
76
+ const fixed = parseVersion(fixedIn);
77
+ const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+_].*)?$/.exec(tag ?? "");
78
+ if (!fixed || !m)
79
+ return false;
80
+ const have = [Number(m[1]), m[2] === undefined ? undefined : Number(m[2]), m[3] === undefined ? undefined : Number(m[3])];
81
+ for (let i = 0; i < 3; i++) {
82
+ const h = have[i];
83
+ const f = fixed[i] ?? 0;
84
+ if (h === undefined)
85
+ return false;
86
+ if (h > f)
87
+ return true;
88
+ if (h < f)
89
+ return false;
90
+ }
91
+ return true;
92
+ }
package/dist/render.js ADDED
@@ -0,0 +1,121 @@
1
+ import { CONTRIBUTING_URL } from "./scanner.js";
2
+ /** Plain text table. Cells may contain newlines. */
3
+ export function table(headers, rows) {
4
+ const split = rows.map((row) => row.map((cell) => cell.split("\n")));
5
+ const widths = headers.map((h, i) => Math.max(h.length, ...split.flatMap((row) => (row[i] ?? [""]).map((line) => line.length))));
6
+ const line = (cells) => cells.map((cell, i) => cell.padEnd(widths[i] ?? 0)).join(" ").trimEnd();
7
+ const out = [line(headers), line(widths.map((w) => "-".repeat(w)))];
8
+ for (const row of split) {
9
+ const height = Math.max(...row.map((cell) => cell.length));
10
+ for (let n = 0; n < height; n++)
11
+ out.push(line(row.map((cell) => cell[n] ?? "")));
12
+ }
13
+ return out.join("\n");
14
+ }
15
+ function shorten(text, max = 70) {
16
+ return text.length > max ? `${text.slice(0, max - 3)}...` : text;
17
+ }
18
+ /** Digests are 71 characters of noise in a table. The JSON output keeps them whole. */
19
+ function shortImage(image) {
20
+ return image === null ? "-" : image.replace(/@sha256:([0-9a-f]{8})[0-9a-f]+/, "@sha256:$1...");
21
+ }
22
+ function defaultCell(r) {
23
+ if (r.telemetry_default === null)
24
+ return "-";
25
+ return r.verified ? r.telemetry_default : `${r.telemetry_default} (unverified)`;
26
+ }
27
+ function fixCell(r) {
28
+ switch (r.status) {
29
+ case "not-in-database":
30
+ return "not in database";
31
+ case "unresolved-image":
32
+ return "image name uses an unset variable";
33
+ case "no-image":
34
+ return "no image (built locally)";
35
+ case "off":
36
+ return "OK: off by default";
37
+ case "disabled":
38
+ return `OK: ${r.detected.join(", ")}`;
39
+ case "fixed":
40
+ return `OK: fixed in ${r.fixed_in}`;
41
+ default: {
42
+ const lines = r.fix_env.map((e) => `set ${e.name}=${e.value}`);
43
+ if (lines.length === 0)
44
+ lines.push(...r.manual.map((m) => `manual: ${shorten(m)}`));
45
+ if (lines.length === 0)
46
+ lines.push("no documented opt-out");
47
+ return lines.join("\n");
48
+ }
49
+ }
50
+ }
51
+ export function renderScan(results, warnings) {
52
+ const out = [];
53
+ out.push(table(["SERVICE", "IMAGE", "TELEMETRY DEFAULT", "DESTINATIONS", "FIX"], results.map((r) => [r.service, shortImage(r.image), defaultCell(r), r.destinations.join("\n") || "-", fixCell(r)])));
54
+ const failing = results.filter((r) => (r.status === "on" || r.status === "partial") && r.verified);
55
+ const unsure = results.filter((r) => !r.ok && !failing.includes(r));
56
+ const residual = results.filter((r) => r.status === "disabled" && r.still_sent);
57
+ const unknownImages = results.filter((r) => r.status === "not-in-database");
58
+ out.push("");
59
+ if (failing.length > 0) {
60
+ out.push(`${failing.length} service(s) send telemetry by default and are not opted out: ${failing.map((r) => r.service).join(", ")}`);
61
+ }
62
+ else {
63
+ out.push("No known telemetry left on.");
64
+ }
65
+ if (unsure.length > 0) {
66
+ out.push(`Not confirmed (unverified entry or undocumented default): ${unsure.map((r) => r.service).join(", ")}`);
67
+ }
68
+ for (const r of residual)
69
+ out.push(`${r.service}: still sent after opting out: ${r.still_sent}`);
70
+ if (unknownImages.length > 0) {
71
+ const names = [...new Set(unknownImages.map((r) => shortImage(r.image)))];
72
+ out.push(`Not in database (${names.length}): ${names.join(", ")}`);
73
+ out.push(` nosnitch does not guess. Know how one of these behaves? Add it: ${CONTRIBUTING_URL}`);
74
+ }
75
+ for (const r of unknownImages.filter((x) => x.possible_match)) {
76
+ out.push(`${r.service}: looks like a mirror of ${r.possible_match}. Mirrors are not matched automatically. Run: nosnitch check ${r.possible_match}`);
77
+ }
78
+ for (const r of results.filter((x) => x.status === "unresolved-image")) {
79
+ out.push(`${r.service}: the image name ${r.image} uses a variable that is not set. Set it in your shell or in the .env file next to the compose file, then scan again.`);
80
+ }
81
+ for (const w of [...results.flatMap((r) => r.problems), ...warnings])
82
+ out.push(`warning: ${w}`);
83
+ return out.join("\n");
84
+ }
85
+ export function renderCheck(r) {
86
+ if (r.status === "not-in-database" && r.possible_match) {
87
+ return `${r.image}: not in database.\nIt looks like a mirror of ${r.possible_match}. Mirrors are not matched automatically. Run: nosnitch check ${r.possible_match}`;
88
+ }
89
+ if (r.status === "not-in-database") {
90
+ return `${r.image}: not in database.\nnosnitch does not guess. Add it: ${CONTRIBUTING_URL}`;
91
+ }
92
+ const out = [];
93
+ out.push(`${r.app} (${r.image})`);
94
+ out.push(` telemetry default: ${defaultCell(r)}`);
95
+ if (r.status === "fixed")
96
+ out.push(` this tag is at or above ${r.fixed_in}, where the default became off`);
97
+ else if (r.fixed_in)
98
+ out.push(` default became off in: ${r.fixed_in}`);
99
+ if (r.what_is_sent)
100
+ out.push(` what is sent: ${r.what_is_sent}`);
101
+ out.push(` destinations: ${r.destinations.join(", ") || "not documented"}`);
102
+ for (const e of r.fix_env)
103
+ out.push(` disable: set ${e.name}=${e.value}`);
104
+ for (const m of r.manual)
105
+ out.push(` disable: ${m}`);
106
+ for (const e of r.optional_env)
107
+ out.push(` other outbound calls: set ${e.name}=${e.value}${e.note ? ` (${e.note})` : ""}`);
108
+ if (r.still_sent)
109
+ out.push(` still sent after opting out: ${r.still_sent}`);
110
+ if (r.notes)
111
+ out.push(` notes: ${r.notes}`);
112
+ for (const s of r.sources)
113
+ out.push(` source: ${s}`);
114
+ return out.join("\n");
115
+ }
116
+ export function renderList(apps) {
117
+ const rows = [...apps]
118
+ .sort((a, b) => a.slug.localeCompare(b.slug))
119
+ .map((a) => [a.slug, a.name, a.telemetry_default, a.verified ? "yes" : "no", a.images.join("\n")]);
120
+ return `${table(["SLUG", "NAME", "DEFAULT", "VERIFIED", "IMAGES"], rows)}\n\n${apps.length} apps, ${apps.filter((a) => a.verified).length} verified.`;
121
+ }
@@ -0,0 +1,159 @@
1
+ import { findApp, findMirroredApp, isAtLeastVersion, parseImage } from "./matcher.js";
2
+ export const CONTRIBUTING_URL = "https://github.com/Umerrrdo/nosnitch/blob/main/CONTRIBUTING.md";
3
+ function valueMatches(actual, pair) {
4
+ if (actual === undefined)
5
+ return false;
6
+ // No trimming: a stray space or quote reaches the app as part of the value.
7
+ const have = actual.toLowerCase();
8
+ return [pair.value, ...(pair.accepted_values ?? [])].some((v) => v.toLowerCase() === have);
9
+ }
10
+ /** Returns the NAME=value that satisfies the method, if the environment has one. */
11
+ function satisfiedBy(method, env) {
12
+ for (const pair of [method, ...(method.alternatives ?? [])]) {
13
+ if (valueMatches(env.get(pair.name), pair))
14
+ return `${pair.name}=${env.get(pair.name)}`;
15
+ }
16
+ return undefined;
17
+ }
18
+ function commandHasFlag(command, flag) {
19
+ return command.split(/\s+/).includes(flag);
20
+ }
21
+ function manualSteps(app) {
22
+ const steps = [];
23
+ for (const method of app.disable) {
24
+ if (method.type === "manual")
25
+ steps.push(method.instructions);
26
+ if (method.type === "config_file")
27
+ steps.push(`In ${method.path} set ${method.key} to ${method.value}`);
28
+ if (method.type === "flag")
29
+ steps.push(`Or start it with the flag ${method.flag}`);
30
+ }
31
+ return steps;
32
+ }
33
+ /** Evaluates an image plus its environment and command against one database entry. */
34
+ export function evaluate(service, image, app, env, command) {
35
+ const envMethods = app.disable.filter((m) => m.type === "env");
36
+ const required = envMethods.filter((m) => !m.optional);
37
+ const detected = [];
38
+ const missing = [];
39
+ const problems = [];
40
+ for (const method of required) {
41
+ const hit = satisfiedBy(method, env);
42
+ if (hit)
43
+ detected.push(hit);
44
+ else {
45
+ missing.push(method);
46
+ problems.push(...nearMisses(service, method, env));
47
+ }
48
+ }
49
+ for (const method of app.disable) {
50
+ if (method.type === "flag" && commandHasFlag(command, method.flag))
51
+ detected.push(method.flag);
52
+ }
53
+ const flagSet = app.disable.some((m) => m.type === "flag" && commandHasFlag(command, m.flag));
54
+ const envSet = required.length > 0 && missing.length === 0;
55
+ let status;
56
+ if (app.telemetry_default === "off")
57
+ status = "off";
58
+ else if (flagSet || envSet)
59
+ status = "disabled";
60
+ else if (app.fixed_in && isAtLeastVersion(parseImage(image).tag, app.fixed_in))
61
+ status = "fixed";
62
+ else
63
+ status = app.telemetry_default;
64
+ const needsAction = status === "on" || status === "partial" || status === "unknown";
65
+ return {
66
+ service,
67
+ image,
68
+ status,
69
+ ok: !needsAction,
70
+ app: app.name,
71
+ slug: app.slug,
72
+ telemetry_default: app.telemetry_default,
73
+ verified: app.verified,
74
+ destinations: app.destinations ?? [],
75
+ fix_env: needsAction ? missing.map((m) => ({ name: m.name, value: m.value })) : [],
76
+ optional_env: envMethods
77
+ .filter((m) => m.optional && !satisfiedBy(m, env))
78
+ .map((m) => ({ name: m.name, value: m.value, ...(m.note ? { note: m.note } : {}) })),
79
+ manual: needsAction ? manualSteps(app) : [],
80
+ detected,
81
+ what_is_sent: app.what_is_sent ?? null,
82
+ still_sent: app.still_sent ?? null,
83
+ fixed_in: app.fixed_in ?? null,
84
+ notes: app.notes ?? null,
85
+ sources: app.sources,
86
+ possible_match: null,
87
+ problems,
88
+ };
89
+ }
90
+ const QUOTED = /^(["'])(.*)\1$/;
91
+ /** Explains a value that looks like an opt-out but will not work as one. */
92
+ function nearMisses(service, method, env) {
93
+ const out = [];
94
+ for (const pair of [method, ...(method.alternatives ?? [])]) {
95
+ if (!env.has(pair.name))
96
+ continue;
97
+ const actual = env.get(pair.name);
98
+ if (actual === undefined) {
99
+ out.push(`service "${service}": ${pair.name} is passed through from the host without a value, so nosnitch cannot tell if it is set. Give it a value in the compose file.`);
100
+ }
101
+ else if (valueMatches(actual.trim().replace(QUOTED, "$2").trim(), pair)) {
102
+ out.push(`service "${service}": ${pair.name} is set to [${actual}] with extra quote characters or spaces. Compose passes them to the app as part of the value, so it does not count as ${pair.value}. Write it as ${pair.name}=${pair.value}.`);
103
+ }
104
+ }
105
+ return out;
106
+ }
107
+ function unmatched(service, image, status = image === null ? "no-image" : "not-in-database", possible = null) {
108
+ return {
109
+ service,
110
+ image,
111
+ status,
112
+ ok: true,
113
+ app: null,
114
+ slug: null,
115
+ telemetry_default: null,
116
+ verified: null,
117
+ destinations: [],
118
+ fix_env: [],
119
+ optional_env: [],
120
+ manual: [],
121
+ detected: [],
122
+ what_is_sent: null,
123
+ still_sent: null,
124
+ fixed_in: null,
125
+ notes: null,
126
+ sources: [],
127
+ possible_match: possible,
128
+ problems: [],
129
+ };
130
+ }
131
+ export function scanServices(services, apps) {
132
+ return services.map((svc) => {
133
+ if (!svc.image)
134
+ return unmatched(svc.name, null);
135
+ const app = findApp(svc.image, apps);
136
+ if (!app) {
137
+ // An unset variable in the name part means the real image is not known.
138
+ const nameUnknown = svc.unsetImageVars !== undefined && parseImage(svc.image).name.includes("$");
139
+ if (nameUnknown)
140
+ return unmatched(svc.name, svc.image, "unresolved-image");
141
+ return unmatched(svc.name, svc.image, "not-in-database", findMirroredApp(svc.image, apps)?.images[0] ?? null);
142
+ }
143
+ return evaluate(svc.name, svc.image, app, svc.env, svc.command);
144
+ });
145
+ }
146
+ /** Looks up one image with nothing set, as `nosnitch check` does. */
147
+ export function checkImage(image, apps) {
148
+ const app = findApp(image, apps);
149
+ if (!app)
150
+ return unmatched(image, image, "not-in-database", findMirroredApp(image, apps)?.images[0] ?? null);
151
+ return evaluate(image, image, app, new Map(), "");
152
+ }
153
+ /**
154
+ * 1 when a verified entry has telemetry on (fully or partly) and no opt-out was
155
+ * found. Unverified and unknown entries are reported but do not fail the run.
156
+ */
157
+ export function exitCodeFor(results) {
158
+ return results.some((r) => (r.status === "on" || r.status === "partial") && r.verified === true) ? 1 : 0;
159
+ }
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,51 @@
1
1
  {
2
2
  "name": "nosnitch",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Find out which apps in your Docker Compose file send telemetry by default, where it goes, and how to turn it off.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "nosnitch": "dist/cli.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "db/index.json",
13
+ "db/schema.json"
14
+ ],
15
+ "engines": {
16
+ "node": ">=20"
17
+ },
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.json",
20
+ "prepare": "npm run build",
21
+ "build:db": "node scripts/build-db.mjs",
22
+ "validate:db": "node scripts/build-db.mjs --check",
23
+ "check:sources": "node scripts/check-sources.mjs",
24
+ "test": "npm run build && node --test",
25
+ "prepublishOnly": "npm run build:db && npm test"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/Umerrrdo/nosnitch.git"
30
+ },
31
+ "homepage": "https://github.com/Umerrrdo/nosnitch#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/Umerrrdo/nosnitch/issues"
34
+ },
35
+ "keywords": [
36
+ "telemetry",
37
+ "privacy",
38
+ "docker",
39
+ "docker-compose",
40
+ "self-hosted",
41
+ "blocklist"
42
+ ],
43
+ "dependencies": {
44
+ "ajv": "^8.17.1",
45
+ "yaml": "^2.6.0"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^20.17.0",
49
+ "typescript": "^5.6.0"
50
+ }
51
+ }