@slicedearth/whoisleuth-cli 1.32.0 → 1.32.2
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/DISCLOSURE
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
WHOISleuth is a defensive domain investigation and brand-protection tool. Its
|
|
2
|
+
command-line package can collect bounded WHOIS, RDAP, DNS, HTTP, TLS,
|
|
3
|
+
certificate-transparency, website, and related infrastructure evidence. It can
|
|
4
|
+
also generate and review lookalike-domain candidates, compare saved evidence,
|
|
5
|
+
and prepare analyst-controlled reports. These security-relevant capabilities
|
|
6
|
+
can have both legitimate and potentially harmful uses.
|
|
7
|
+
|
|
8
|
+
WHOISleuth is intended for authorised defensive investigation, abuse response,
|
|
9
|
+
threat research, domain acquisition due diligence, asset review, and education.
|
|
10
|
+
Network collection is initiated explicitly by the operator, uses bounded
|
|
11
|
+
requests, and keeps source provenance and incomplete results visible. The tool
|
|
12
|
+
does not exploit targets, bypass access controls, submit credentials, execute
|
|
13
|
+
remote page scripts, or automate enforcement actions.
|
|
14
|
+
|
|
15
|
+
Operators are responsible for using WHOISleuth only on systems and data they
|
|
16
|
+
are authorised to examine and in accordance with applicable laws, provider
|
|
17
|
+
terms, and organisational policies. Observations and heuristic signals are
|
|
18
|
+
investigative leads, not proof of ownership, intent, safety, or maliciousness.
|
|
@@ -245,6 +245,17 @@ export function investigationGuideHref(stageId, domain, recipeId = 'new_domain_t
|
|
|
245
245
|
return `/brands?new=1&domain=${encodeURIComponent(normalized)}#official-domains`;
|
|
246
246
|
return stageDefinition.path;
|
|
247
247
|
}
|
|
248
|
+
export function investigationGuideApprovedHref(guide, stageId) {
|
|
249
|
+
const stageDefinition = investigationGuideStageForGuide(guide, stageId);
|
|
250
|
+
if (!stageDefinition)
|
|
251
|
+
return '/dashboard';
|
|
252
|
+
if (stageDefinition.workspace === 'bulk'
|
|
253
|
+
&& guide.recipeId === 'brand_sweep'
|
|
254
|
+
&& guide.reviewDomains.length > 0) {
|
|
255
|
+
return '/bulk?source=discover#domains';
|
|
256
|
+
}
|
|
257
|
+
return investigationGuideHref(stageDefinition.id, guide.domain, guide.recipeId, guide.focusDomain);
|
|
258
|
+
}
|
|
248
259
|
function createStageProgress(stageDefinition, now) {
|
|
249
260
|
return { id: stageDefinition.id, outcome: 'pending', approvedAt: null, openedAt: null, reviewNote: null, updatedAt: now };
|
|
250
261
|
}
|
package/package.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
"name": "@slicedearth/whoisleuth-cli",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
|
+
"contentPolicy": {
|
|
6
|
+
"class": "dual-use"
|
|
7
|
+
},
|
|
5
8
|
"description": "Local-first WHOIS, RDAP, DNS, TLS, certificate transparency, and domain investigation CLI.",
|
|
6
9
|
"keywords": [
|
|
7
10
|
"whois",
|
|
@@ -29,7 +32,7 @@
|
|
|
29
32
|
"bugs": {
|
|
30
33
|
"url": "https://github.com/slicedearth/whoisleuth/issues"
|
|
31
34
|
},
|
|
32
|
-
"version": "1.32.
|
|
35
|
+
"version": "1.32.2",
|
|
33
36
|
"dependencies": {
|
|
34
37
|
"parse5": "^8.0.1",
|
|
35
38
|
"tldts": "^7.4.9",
|
|
@@ -41,6 +44,7 @@
|
|
|
41
44
|
"lib/**/*.mjs",
|
|
42
45
|
"frontend/src/lib/analysis/**/*.js",
|
|
43
46
|
"docs/cli.md",
|
|
47
|
+
"DISCLOSURE",
|
|
44
48
|
"LICENSE",
|
|
45
49
|
"LICENSES/*.txt",
|
|
46
50
|
"NOTICE",
|