cantarella-framework 1.2.0 → 1.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.0
4
+
5
+ - New modules: Nuclei template scanning, Sherlock username search, httpx live host probing, and CISA KEV and EPSS vulnerability lookup.
6
+
7
+ ## 1.3.0
8
+
9
+ - New wrapper modules: ffuf content discovery, Nikto web scan, WhatWeb fingerprinting, and sqlmap in batch mode.
10
+
3
11
  ## 1.2.0
4
12
 
5
13
  - New native modules: CORS checker, JWT inspector, password strength estimator, and RDAP domain lookup.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Cantarella is a modular security framework with a clean interactive CLI and a local GUI. The core manages modules, targets, runs, results, and reports. Modules do the actual work, either as native modules or as wrappers around mature external tools.
4
4
 
5
- > Phase 5 public-release preparation: the npm package is installable globally as `canta`, with install/security documentation and a changelog. Publishing to npm is the remaining release step.
5
+ > The package is published on npm as `cantarella-framework`. Install it globally with `npm install -g cantarella-framework`.
6
6
 
7
7
  ## Quick start
8
8
 
@@ -0,0 +1,78 @@
1
+ const KEV_FEED_URL = process.env.CANTA_KEV_FEED_URL ?? "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json";
2
+ const EPSS_API_URL = process.env.CANTA_EPSS_API_URL ?? "https://api.first.org/data/v1/epss";
3
+
4
+ async function fetchJson(url) {
5
+ const response = await fetch(url, { signal: AbortSignal.timeout(15000) });
6
+ if (!response.ok) throw new Error(`HTTP ${response.status} from ${url}`);
7
+ return response.json();
8
+ }
9
+
10
+ let input = "";
11
+ process.stdin.setEncoding("utf8");
12
+ process.stdin.on("data", (chunk) => (input += chunk));
13
+ process.stdin.on("end", async () => {
14
+ const request = JSON.parse(input || "{}");
15
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
16
+ const cve = String(request.target ?? "").trim().toUpperCase();
17
+ if (!/^CVE-\d{4}-\d{4,}$/.test(cve)) {
18
+ emit({ type: "error", message: `Invalid CVE ID: ${String(request.target ?? "")}. Expected a format like CVE-2021-44228.` });
19
+ process.exitCode = 1;
20
+ return;
21
+ }
22
+ try {
23
+ const [kevResult, epssResult] = await Promise.allSettled([
24
+ fetchJson(KEV_FEED_URL),
25
+ fetchJson(`${EPSS_API_URL}?cve=${encodeURIComponent(cve)}`),
26
+ ]);
27
+ if (kevResult.status === "rejected" && epssResult.status === "rejected") {
28
+ emit({ type: "error", message: `Could not reach the KEV feed or the EPSS API: ${kevResult.reason.message}` });
29
+ process.exitCode = 1;
30
+ return;
31
+ }
32
+ let kevEntry = null;
33
+ let kevAvailable = false;
34
+ if (kevResult.status === "fulfilled") {
35
+ kevAvailable = true;
36
+ const vulnerabilities = Array.isArray(kevResult.value?.vulnerabilities) ? kevResult.value.vulnerabilities : [];
37
+ kevEntry = vulnerabilities.find((item) => String(item.cveID ?? "").toUpperCase() === cve) ?? null;
38
+ }
39
+ let epss = null;
40
+ let epssPercentile = null;
41
+ let epssDate = null;
42
+ let epssAvailable = false;
43
+ if (epssResult.status === "fulfilled") {
44
+ epssAvailable = true;
45
+ const row = Array.isArray(epssResult.value?.data) ? epssResult.value.data[0] : null;
46
+ if (row) {
47
+ epss = Number(row.epss);
48
+ epssPercentile = Number(row.percentile);
49
+ epssDate = row.date ?? null;
50
+ }
51
+ }
52
+ const inKev = kevEntry !== null;
53
+ const summary = inKev
54
+ ? `${cve} is in the CISA KEV catalog (due ${kevEntry.dueDate ?? "unknown"})${epss !== null ? ` with EPSS ${epss}.` : "."}`
55
+ : `${cve} is not in the CISA KEV catalog${epss !== null ? `; EPSS ${epss}.` : "."}`;
56
+ emit({
57
+ type: "result",
58
+ summary,
59
+ data: {
60
+ cve,
61
+ in_kev: inKev,
62
+ vendor: kevEntry?.vendorProject ?? null,
63
+ product: kevEntry?.product ?? null,
64
+ date_added: kevEntry?.dateAdded ?? null,
65
+ due_date: kevEntry?.dueDate ?? null,
66
+ kev_available: kevAvailable,
67
+ epss,
68
+ epss_percentile: epssPercentile,
69
+ epss_date: epssDate,
70
+ epss_available: epssAvailable,
71
+ },
72
+ });
73
+ emit({ type: "done", summary: `KEV lookup finished: ${cve} ${inKev ? "is in the CISA KEV catalog" : "is not in the CISA KEV catalog"}.` });
74
+ } catch (error) {
75
+ emit({ type: "error", message: `KEV lookup failed: ${error.message}` });
76
+ process.exitCode = 1;
77
+ }
78
+ });
@@ -0,0 +1,14 @@
1
+ {
2
+ "category": "threat-intel",
3
+ "core_api": "^0.1.0",
4
+ "description": "Checks a CVE ID against the CISA Known Exploited Vulnerabilities catalog and its EPSS score.",
5
+ "entry": "index.mjs",
6
+ "id": "threat-intel/kev-lookup",
7
+ "kind": "native",
8
+ "maintenance": "active",
9
+ "name": "KEV Lookup",
10
+ "options": [],
11
+ "risk": "low",
12
+ "schema_version": 1,
13
+ "version": "0.1.0"
14
+ }
@@ -0,0 +1,33 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const wordlist = String(request.options?.wordlist ?? "/usr/share/wordlists/dirb/common.txt");
11
+ const child = spawn("ffuf", ["-u", target, "-w", wordlist, "-json", "-s"], { stdio: ["ignore", "pipe", "pipe"] });
12
+ let stdout = "";
13
+ let stderr = "";
14
+ child.stdout.on("data", (chunk) => (stdout += chunk));
15
+ child.stderr.on("data", (chunk) => (stderr += chunk));
16
+ child.on("error", (error) => {
17
+ emit({ type: "error", message: `ffuf failed: ${error.message}` });
18
+ process.exitCode = 1;
19
+ });
20
+ child.on("close", (code) => {
21
+ let results = [];
22
+ try {
23
+ results = (JSON.parse(stdout).results ?? []).map((item) => ({ url: item.url, status: item.status, length: item.length }));
24
+ } catch {}
25
+ if (code !== 0 && !results.length) {
26
+ emit({ type: "error", message: `ffuf failed: ${stderr.trim() || `exited with ${code}`}` });
27
+ process.exitCode = 1;
28
+ return;
29
+ }
30
+ emit({ type: "result", summary: `ffuf found ${results.length} results for ${target}.`, data: { target, wordlist, results } });
31
+ emit({ type: "done", summary: "ffuf scan finished." });
32
+ });
33
+ });
@@ -0,0 +1,28 @@
1
+ {
2
+ "schema_version": 1,
3
+ "id": "web/ffuf",
4
+ "name": "ffuf",
5
+ "version": "0.1.0",
6
+ "category": "web",
7
+ "kind": "wrapper",
8
+ "risk": "medium",
9
+ "description": "Runs ffuf content discovery against a URL containing FUZZ.",
10
+ "entry": "index.mjs",
11
+ "core_api": "^0.1.0",
12
+ "maintenance": "active",
13
+ "options": [
14
+ {
15
+ "name": "wordlist",
16
+ "type": "string",
17
+ "description": "Path to the wordlist file.",
18
+ "default": "/usr/share/wordlists/dirb/common.txt"
19
+ }
20
+ ],
21
+ "external_tools": [
22
+ {
23
+ "name": "ffuf",
24
+ "command": "ffuf",
25
+ "install_hint": "Install ffuf from your distribution packages."
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,53 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const child = spawn("httpx", ["-u", target, "-json", "-silent"], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `httpx failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ const probes = [];
21
+ for (const line of stdout.split("\n")) {
22
+ const trimmed = line.trim();
23
+ if (!trimmed) continue;
24
+ try {
25
+ const item = JSON.parse(trimmed);
26
+ probes.push({
27
+ url: item.url ?? "",
28
+ host: item.host ?? "",
29
+ scheme: item.scheme ?? "",
30
+ status_code: item.status_code ?? null,
31
+ title: item.title ?? "",
32
+ content_length: item.content_length ?? null,
33
+ technologies: item.technologies ?? [],
34
+ });
35
+ } catch {
36
+ // Non-JSON lines are skipped; raw output is kept as evidence.
37
+ }
38
+ }
39
+ if (code !== 0 && !probes.length) {
40
+ emit({ type: "error", message: `httpx failed: ${stderr.trim() || `exited with ${code}`}` });
41
+ process.exitCode = 1;
42
+ return;
43
+ }
44
+ emit({
45
+ type: "result",
46
+ summary: probes.length
47
+ ? `httpx probed ${probes.length} target for ${target}.`
48
+ : `httpx finished for ${target} with no probe result.`,
49
+ data: { target, probes: probes.slice(0, 200) },
50
+ });
51
+ emit({ type: "done", summary: `httpx probe finished: ${probes.length} results.` });
52
+ });
53
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "category": "recon",
3
+ "core_api": "^0.1.0",
4
+ "description": "Probes a target with httpx and reports status, title, and detected technologies.",
5
+ "entry": "index.mjs",
6
+ "external_tools": [
7
+ {
8
+ "command": "httpx",
9
+ "install_hint": "Install httpx from your distribution packages or with Go.",
10
+ "name": "httpx"
11
+ }
12
+ ],
13
+ "id": "recon/httpx",
14
+ "kind": "wrapper",
15
+ "maintenance": "active",
16
+ "name": "httpx",
17
+ "options": [],
18
+ "risk": "low",
19
+ "schema_version": 1,
20
+ "version": "0.1.0"
21
+ }
@@ -0,0 +1,29 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const child = spawn("nikto", ["-h", target, "-nointeractive"], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `Nikto failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ const lines = stdout.split("\n").map((line) => line.trim()).filter((line) => line.startsWith("+"));
21
+ if (code !== 0 && !lines.length) {
22
+ emit({ type: "error", message: `Nikto failed: ${stderr.trim() || `exited with ${code}`}` });
23
+ process.exitCode = 1;
24
+ return;
25
+ }
26
+ emit({ type: "result", summary: `Nikto reported ${lines.length} lines for ${target}.`, data: { target, findings: lines.slice(0, 200) } });
27
+ emit({ type: "done", summary: "Nikto scan finished." });
28
+ });
29
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "schema_version": 1,
3
+ "id": "web/nikto",
4
+ "name": "Nikto",
5
+ "version": "0.1.0",
6
+ "category": "web",
7
+ "kind": "wrapper",
8
+ "risk": "medium",
9
+ "description": "Runs a Nikto web server scan against a target URL.",
10
+ "entry": "index.mjs",
11
+ "core_api": "^0.1.0",
12
+ "maintenance": "active",
13
+ "options": [],
14
+ "external_tools": [
15
+ {
16
+ "name": "Nikto",
17
+ "command": "nikto",
18
+ "install_hint": "Install nikto from your distribution packages."
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,51 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const child = spawn("nuclei", ["-u", target, "-silent", "-jsonl"], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `Nuclei failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ const findings = [];
21
+ for (const line of stdout.split("\n")) {
22
+ const trimmed = line.trim();
23
+ if (!trimmed) continue;
24
+ try {
25
+ const item = JSON.parse(trimmed);
26
+ findings.push({
27
+ template_id: item.templateID ?? item.templateId ?? "",
28
+ name: item.info?.name ?? "",
29
+ severity: item.info?.severity ?? "",
30
+ host: item.host ?? "",
31
+ matched_at: item["matched-at"] ?? "",
32
+ });
33
+ } catch {
34
+ // Non-JSON lines are skipped; raw output is kept as evidence.
35
+ }
36
+ }
37
+ if (code !== 0 && !findings.length) {
38
+ emit({ type: "error", message: `Nuclei failed: ${stderr.trim() || `exited with ${code}`}` });
39
+ process.exitCode = 1;
40
+ return;
41
+ }
42
+ emit({
43
+ type: "result",
44
+ summary: findings.length
45
+ ? `Nuclei matched ${findings.length} templates for ${target}.`
46
+ : `Nuclei finished for ${target} with no matched templates.`,
47
+ data: { target, findings: findings.slice(0, 200) },
48
+ });
49
+ emit({ type: "done", summary: `Nuclei scan finished: ${findings.length} templates matched.` });
50
+ });
51
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "category": "web",
3
+ "core_api": "^0.1.0",
4
+ "description": "Runs Nuclei template scanning against a target URL and reports matched templates.",
5
+ "entry": "index.mjs",
6
+ "external_tools": [
7
+ {
8
+ "command": "nuclei",
9
+ "install_hint": "Install nuclei from your distribution packages or with Go.",
10
+ "name": "Nuclei"
11
+ }
12
+ ],
13
+ "id": "web/nuclei",
14
+ "kind": "wrapper",
15
+ "maintenance": "active",
16
+ "name": "Nuclei",
17
+ "options": [],
18
+ "risk": "medium",
19
+ "schema_version": 1,
20
+ "version": "0.1.0"
21
+ }
@@ -0,0 +1,43 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const username = String(request.target ?? "");
10
+ const child = spawn("sherlock", [username, "--print-found", "--no-color", "--timeout", "10"], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `Sherlock failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ const accounts = [];
21
+ for (const line of stdout.split("\n")) {
22
+ const trimmed = line.trim();
23
+ if (!trimmed.startsWith("[+]")) continue;
24
+ const body = trimmed.slice(3).trim();
25
+ const separator = body.indexOf(":");
26
+ if (separator === -1) continue;
27
+ accounts.push({ site: body.slice(0, separator).trim(), url: body.slice(separator + 1).trim() });
28
+ }
29
+ if (code !== 0 && !accounts.length) {
30
+ emit({ type: "error", message: `Sherlock failed: ${stderr.trim() || `exited with ${code}`}` });
31
+ process.exitCode = 1;
32
+ return;
33
+ }
34
+ emit({
35
+ type: "result",
36
+ summary: accounts.length
37
+ ? `Sherlock found ${accounts.length} accounts for ${username}.`
38
+ : `Sherlock found no accounts for ${username}.`,
39
+ data: { username, accounts: accounts.slice(0, 200) },
40
+ });
41
+ emit({ type: "done", summary: `Sherlock search finished: ${accounts.length} accounts found.` });
42
+ });
43
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "category": "osint",
3
+ "core_api": "^0.1.0",
4
+ "description": "Searches for a username across social networks and websites with Sherlock.",
5
+ "entry": "index.mjs",
6
+ "external_tools": [
7
+ {
8
+ "command": "sherlock",
9
+ "install_hint": "Install sherlock with pipx install sherlock-project or from your distribution packages.",
10
+ "name": "Sherlock"
11
+ }
12
+ ],
13
+ "id": "osint/sherlock",
14
+ "kind": "wrapper",
15
+ "maintenance": "active",
16
+ "name": "Sherlock",
17
+ "options": [],
18
+ "risk": "low",
19
+ "schema_version": 1,
20
+ "version": "0.1.0"
21
+ }
@@ -0,0 +1,34 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const child = spawn("sqlmap", ["-u", target, "--batch", "--level=1", "--risk=1"], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `sqlmap failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ const lines = stdout.split("\n").map((line) => line.trim()).filter(Boolean);
21
+ const interesting = lines.filter((line) => /injectable|vulnerable|parameter|back-end DBMS/i.test(line));
22
+ if (code !== 0 && !lines.length) {
23
+ emit({ type: "error", message: `sqlmap failed: ${stderr.trim() || `exited with ${code}`}` });
24
+ process.exitCode = 1;
25
+ return;
26
+ }
27
+ emit({
28
+ type: "result",
29
+ summary: interesting.length ? `sqlmap reported ${interesting.length} interesting lines for ${target}.` : `sqlmap finished for ${target} with no injectable parameter reported.`,
30
+ data: { target, findings: interesting.slice(0, 100) },
31
+ });
32
+ emit({ type: "done", summary: "sqlmap scan finished." });
33
+ });
34
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "schema_version": 1,
3
+ "id": "web/sqlmap",
4
+ "name": "sqlmap",
5
+ "version": "0.1.0",
6
+ "category": "web",
7
+ "kind": "wrapper",
8
+ "risk": "high",
9
+ "description": "Runs sqlmap against a target URL in batch mode.",
10
+ "entry": "index.mjs",
11
+ "core_api": "^0.1.0",
12
+ "maintenance": "active",
13
+ "options": [],
14
+ "external_tools": [
15
+ {
16
+ "name": "sqlmap",
17
+ "command": "sqlmap",
18
+ "install_hint": "Install sqlmap from your distribution packages."
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,33 @@
1
+ import { spawn } from "node:child_process";
2
+
3
+ let input = "";
4
+ process.stdin.setEncoding("utf8");
5
+ process.stdin.on("data", (chunk) => (input += chunk));
6
+ process.stdin.on("end", () => {
7
+ const request = JSON.parse(input || "{}");
8
+ const emit = (event) => process.stdout.write(`${JSON.stringify(event)}\n`);
9
+ const target = String(request.target ?? "");
10
+ const child = spawn("whatweb", ["--log-json=-", target], { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ child.stdout.on("data", (chunk) => (stdout += chunk));
14
+ child.stderr.on("data", (chunk) => (stderr += chunk));
15
+ child.on("error", (error) => {
16
+ emit({ type: "error", message: `WhatWeb failed: ${error.message}` });
17
+ process.exitCode = 1;
18
+ });
19
+ child.on("close", (code) => {
20
+ let plugins = [];
21
+ try {
22
+ const parsed = JSON.parse(stdout);
23
+ plugins = Object.keys(parsed[0]?.plugins ?? {});
24
+ } catch {}
25
+ if (code !== 0 && !plugins.length) {
26
+ emit({ type: "error", message: `WhatWeb failed: ${stderr.trim() || `exited with ${code}`}` });
27
+ process.exitCode = 1;
28
+ return;
29
+ }
30
+ emit({ type: "result", summary: `WhatWeb detected ${plugins.length} technologies on ${target}.`, data: { target, technologies: plugins } });
31
+ emit({ type: "done", summary: "WhatWeb scan finished." });
32
+ });
33
+ });
@@ -0,0 +1,21 @@
1
+ {
2
+ "schema_version": 1,
3
+ "id": "recon/whatweb",
4
+ "name": "WhatWeb",
5
+ "version": "0.1.0",
6
+ "category": "recon",
7
+ "kind": "wrapper",
8
+ "risk": "low",
9
+ "description": "Fingerprints web technologies with WhatWeb.",
10
+ "entry": "index.mjs",
11
+ "core_api": "^0.1.0",
12
+ "maintenance": "active",
13
+ "options": [],
14
+ "external_tools": [
15
+ {
16
+ "name": "WhatWeb",
17
+ "command": "whatweb",
18
+ "install_hint": "Install whatweb from your distribution packages."
19
+ }
20
+ ]
21
+ }
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "release:notes": "node scripts/release-notes.mjs"
20
20
  },
21
21
  "type": "module",
22
- "version": "1.2.0",
22
+ "version": "1.4.0",
23
23
  "workspaces": [
24
24
  "packages/*"
25
25
  ],
@@ -11,7 +11,7 @@ process.stdout.on("error", (error) => {
11
11
  process.exit(0);
12
12
  throw error;
13
13
  });
14
- const VERSION = "1.2.0";
14
+ const VERSION = "1.4.0";
15
15
  const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../..");
16
16
  function banner() {
17
17
  return (process.stdout.columns ?? 80) >= 72 ? BANNER : COMPACT_BANNER;
@@ -78,8 +78,8 @@ export function createGuiServer(root) {
78
78
  }
79
79
  }
80
80
  sendJson(response, 200, {
81
- version: "1.2.0",
82
- update_message: (await checkForUpdate("1.2.0")).message,
81
+ version: "1.4.0",
82
+ update_message: (await checkForUpdate("1.4.0")).message,
83
83
  categories: CATEGORIES,
84
84
  modules: modules.map(({ manifest }) => manifest),
85
85
  external_tools: [...tools.values()],