0sec-cli 0.22.0 → 0.22.1
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/0.js +27 -27
- package/chunks/{adapt-loop-7I57LXXR.js → adapt-loop-J6QCZZTB.js} +4 -4
- package/chunks/{artifact-scraper-PYZ3RU3O.js → artifact-scraper-MFKT6OI4.js} +2 -2
- package/chunks/{assumption-mining-MFLF43IR.js → assumption-mining-646LYSJY.js} +12 -12
- package/chunks/{chunk-RSIUX3RW.js → chunk-3E2KALZ5.js} +2 -2
- package/chunks/{chunk-HUNAPTKV.js → chunk-4G7OVYJX.js} +1 -1
- package/chunks/{chunk-UV5QWZGE.js → chunk-5BTJMINS.js} +7 -7
- package/chunks/{chunk-VMRRNRMR.js → chunk-7XCKYNLO.js} +1 -1
- package/chunks/{chunk-2GV4HQKE.js → chunk-AV2LG2L7.js} +2 -2
- package/chunks/{chunk-CAYANSH6.js → chunk-BCSRRQG5.js} +21 -31
- package/chunks/{chunk-MICHDTBK.js → chunk-BOUGKEKA.js} +1 -1
- package/chunks/{chunk-RRD4XXPU.js → chunk-CPWA6RWE.js} +3 -3
- package/chunks/{chunk-YIQSGNAA.js → chunk-GOEA3NW6.js} +5 -5
- package/chunks/{chunk-SJBCK2EI.js → chunk-HHPWRY2M.js} +25 -25
- package/chunks/{chunk-5MWAG3FT.js → chunk-IFME676H.js} +1 -1
- package/chunks/{chunk-LCRTAQN2.js → chunk-IVQV574Y.js} +1 -1
- package/chunks/{chunk-76KSBWOQ.js → chunk-KAU6NLGP.js} +1 -1
- package/chunks/{chunk-EGZGZFAH.js → chunk-LGCASF2C.js} +24 -23
- package/chunks/{chunk-OAYUPGF6.js → chunk-NLH4LMWH.js} +1 -1
- package/chunks/{chunk-RE5EZDG2.js → chunk-OHHCGDJ2.js} +2 -2
- package/chunks/{chunk-UU7PQP6N.js → chunk-OSBPGWTE.js} +3 -3
- package/chunks/{chunk-OWLJYJ5O.js → chunk-TV27OWIW.js} +6 -6
- package/chunks/{chunk-7UFUALR2.js → chunk-V6GHX34G.js} +4 -4
- package/chunks/{chunk-VNRY6AWF.js → chunk-VWITLWXB.js} +1 -1
- package/chunks/{chunk-IO7R7WBM.js → chunk-WSDDGFA6.js} +1 -1
- package/chunks/{chunk-XFCTUKXR.js → chunk-WZRVS7SB.js} +1 -1
- package/chunks/{chunk-7DEHG7YT.js → chunk-X7LAEEUW.js} +1 -1
- package/chunks/{chunk-HR2TU42B.js → chunk-XA2O4WXA.js} +2 -2
- package/chunks/{chunk-LYUAM3TG.js → chunk-XCISCI4T.js} +1 -1
- package/chunks/{chunk-LPTRPRZR.js → chunk-XDKB2P5X.js} +1 -1
- package/chunks/{chunk-TZFIAMWZ.js → chunk-YL6YAGLL.js} +1 -1
- package/chunks/{chunk-DM5C5L5D.js → chunk-ZKQ2I3S2.js} +1 -1
- package/chunks/{codex-models-7TLJSY3L.js → codex-models-NHQW45SO.js} +3 -3
- package/chunks/{commands-NEI7L3QA.js → commands-N6GN5SBF.js} +83 -83
- package/chunks/{db-5AP3JB4W.js → db-5IWEJUYV.js} +3 -3
- package/chunks/{dist-DD4H6HMQ.js → dist-BS4CY4RG.js} +1 -1
- package/chunks/{dist-5YHYNLI3.js → dist-FSS7MBDF.js} +2 -2
- package/chunks/{dist-3FNZIBB4.js → dist-L3XJWWZ6.js} +24 -22
- package/chunks/{eval-runner-43BO2C4T.js → eval-runner-EMEGF24P.js} +8 -8
- package/chunks/{exploit-agent-N4A5ELBK.js → exploit-agent-KW4EB7BE.js} +1 -1
- package/chunks/{exploit-autoclimb-N7P6KIF5.js → exploit-autoclimb-CXJ2ERRO.js} +1 -1
- package/chunks/{exploit-climb-WNEJUB5W.js → exploit-climb-TJWLY4XC.js} +2 -2
- package/chunks/{fix-Z452M4EC.js → fix-UUKPXCFB.js} +4 -4
- package/chunks/{harness-QJJJVSG4.js → harness-C5HOKIEV.js} +3 -3
- package/chunks/{hunt-scan-K6D2V3PX.js → hunt-scan-KZZ444V2.js} +10 -10
- package/chunks/{kernel-primitive-TKUACPKD.js → kernel-primitive-Z77IR7YS.js} +2 -2
- package/chunks/{kernel-vm-runner-RAAO2PGT.js → kernel-vm-runner-JW77P276.js} +2 -2
- package/chunks/{native-loop-2ZRJENZ3.js → native-loop-P6P5GYVJ.js} +7 -7
- package/chunks/{orchestrate-2GWGNTBF.js → orchestrate-DWWUT5RC.js} +23 -23
- package/chunks/{run-U3XU4CTC.js → run-GAFKBCTN.js} +20305 -20336
- package/chunks/{runtime-G75TEWQY.js → runtime-H7YBR5IZ.js} +3 -3
- package/chunks/{scope-WXI46UHJ.js → scope-QWY4VQZ7.js} +2 -2
- package/chunks/{session-store-27L3ZU73.js → session-store-XIDFGG7K.js} +2 -2
- package/chunks/{variant-candidates-YWZORZMK.js → variant-candidates-7D4F5E4H.js} +3 -3
- package/chunks/{web-recon-prepass-YVMFXCIK.js → web-recon-prepass-VXXBPDAV.js} +3 -3
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
searchPublicReports,
|
|
20
20
|
searchSimilar,
|
|
21
21
|
searchTargetHistory
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YL6YAGLL.js";
|
|
23
23
|
import {
|
|
24
24
|
buildPlaybookInjection,
|
|
25
25
|
classifyPromptLayerImpact,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
loadJournal,
|
|
35
35
|
rehydrateContext,
|
|
36
36
|
renderSeedMessages
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NLH4LMWH.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_WORKBENCH_BROKER_LIMITS,
|
|
40
40
|
analyticsPipeline,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
summarizeScannerResult,
|
|
82
82
|
superviseChild,
|
|
83
83
|
withRunContribution
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-OHHCGDJ2.js";
|
|
85
85
|
import {
|
|
86
86
|
acquireHostToken,
|
|
87
87
|
aggregateVerdict,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
sanitizeUntrustedToolResult,
|
|
113
113
|
validatePluginManifest,
|
|
114
114
|
withScopeEnforcement
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-X7LAEEUW.js";
|
|
116
116
|
import {
|
|
117
117
|
allowlistedChildEnv,
|
|
118
118
|
sanitizedEnv
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
LlmApiRuntime,
|
|
122
122
|
diag,
|
|
123
123
|
features
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-AV2LG2L7.js";
|
|
125
125
|
import {
|
|
126
126
|
DEFAULT_ALLOW_MODEL_SELF_EXTENSION,
|
|
127
127
|
DEFAULT_AUTONOMY_MODE,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
homeStateDir,
|
|
135
135
|
jevConfigFromEnvironment,
|
|
136
136
|
resolveIdentities
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-KAU6NLGP.js";
|
|
138
138
|
import {
|
|
139
139
|
external_exports
|
|
140
140
|
} from "./chunk-VIT5ALXF.js";
|
|
@@ -11945,7 +11945,7 @@ async function executeEntraPosture(ctx, args) {
|
|
|
11945
11945
|
const { runIdentityAssessment } = await import("./identity-62SVRW4H.js");
|
|
11946
11946
|
let scope;
|
|
11947
11947
|
if (typeof args.scope === "string" && args.scope.trim()) {
|
|
11948
|
-
const { ScopePolicy: ScopePolicy2 } = await import("./scope-
|
|
11948
|
+
const { ScopePolicy: ScopePolicy2 } = await import("./scope-QWY4VQZ7.js");
|
|
11949
11949
|
try {
|
|
11950
11950
|
scope = ScopePolicy2.fromJsonFile(scopedPath(ctx, args.scope.trim()));
|
|
11951
11951
|
} catch (error) {
|
|
@@ -11991,7 +11991,7 @@ async function executeEntraPosture(ctx, args) {
|
|
|
11991
11991
|
};
|
|
11992
11992
|
}
|
|
11993
11993
|
async function executeAssembleAdvisory(_ctx, args) {
|
|
11994
|
-
const { osecDB } = await import("./dist-
|
|
11994
|
+
const { osecDB } = await import("./dist-FSS7MBDF.js");
|
|
11995
11995
|
const { renderAdvisoryMarkdown, assembleEvidencePack, decideFilingState, renderVendorNotificationMarkdown, EmptyPocError, UnreproducedFindingError } = await import("./disclose-LDNKAVRH.js");
|
|
11996
11996
|
const dbPath = typeof args.db_path === "string" && args.db_path.trim() ? args.db_path.trim() : void 0;
|
|
11997
11997
|
const scanId = typeof args.scan_id === "string" && args.scan_id.trim() ? args.scan_id.trim() : void 0;
|
|
@@ -12098,7 +12098,7 @@ function rowToAdvisoryFinding(row) {
|
|
|
12098
12098
|
return finding;
|
|
12099
12099
|
}
|
|
12100
12100
|
async function executeCveLookup(_ctx, args) {
|
|
12101
|
-
const { findCveArtifacts, normaliseCveId } = await import("./artifact-scraper-
|
|
12101
|
+
const { findCveArtifacts, normaliseCveId } = await import("./artifact-scraper-MFKT6OI4.js");
|
|
12102
12102
|
const rawCve = String(args.cve ?? args.cve_id ?? "").trim();
|
|
12103
12103
|
if (!rawCve)
|
|
12104
12104
|
return errResult("`cve` is required, e.g. CVE-2024-1086");
|
|
@@ -13620,8 +13620,8 @@ function refuseOutOfScope(ctx, url) {
|
|
|
13620
13620
|
return null;
|
|
13621
13621
|
}
|
|
13622
13622
|
async function loadPersistedFinding(findingId, dbPathArg) {
|
|
13623
|
-
const { osecDB, resolveOsecDbPath, listOsecRunDatabasePaths } = await import("./dist-
|
|
13624
|
-
const { findingSchema, formatZodError } = await import("./dist-
|
|
13623
|
+
const { osecDB, resolveOsecDbPath, listOsecRunDatabasePaths } = await import("./dist-FSS7MBDF.js");
|
|
13624
|
+
const { findingSchema, formatZodError } = await import("./dist-BS4CY4RG.js");
|
|
13625
13625
|
const { resolve: resolve14 } = await import("node:path");
|
|
13626
13626
|
const { existsSync: existsSync9 } = await import("node:fs");
|
|
13627
13627
|
const requestedId = findingId.trim();
|
|
@@ -13746,8 +13746,8 @@ async function executeVariantHunt(ctx, args) {
|
|
|
13746
13746
|
return errResult2("`source` is required (a source tree path or git URL)");
|
|
13747
13747
|
const { resolve: resolve14, join: join17 } = await import("node:path");
|
|
13748
13748
|
const { prepare } = await import("./prepare-KYHGFWCJ.js");
|
|
13749
|
-
const { generateVariantCandidates } = await import("./variant-candidates-
|
|
13750
|
-
const { runHuntScan, makeSkepticVerifier } = await import("./hunt-scan-
|
|
13749
|
+
const { generateVariantCandidates } = await import("./variant-candidates-7D4F5E4H.js");
|
|
13750
|
+
const { runHuntScan, makeSkepticVerifier } = await import("./hunt-scan-KZZ444V2.js");
|
|
13751
13751
|
let resolvedTarget;
|
|
13752
13752
|
try {
|
|
13753
13753
|
resolvedTarget = scopedPath2(ctx, target);
|
|
@@ -13813,8 +13813,8 @@ async function executeAssumptionHunt(ctx, args) {
|
|
|
13813
13813
|
const { tmpdir: tmpdir5 } = await import("node:os");
|
|
13814
13814
|
const { prepare } = await import("./prepare-KYHGFWCJ.js");
|
|
13815
13815
|
const { collectScopeFiles } = await import("./source-files-REHOM44I.js");
|
|
13816
|
-
const { runAssumptionHunt } = await import("./assumption-mining-
|
|
13817
|
-
const { makeSkepticVerifier } = await import("./hunt-scan-
|
|
13816
|
+
const { runAssumptionHunt } = await import("./assumption-mining-646LYSJY.js");
|
|
13817
|
+
const { makeSkepticVerifier } = await import("./hunt-scan-KZZ444V2.js");
|
|
13818
13818
|
let resolvedTarget;
|
|
13819
13819
|
try {
|
|
13820
13820
|
resolvedTarget = scopedPath2(ctx, target);
|
|
@@ -13893,8 +13893,8 @@ async function executeGenerateFix(ctx, args) {
|
|
|
13893
13893
|
if (!repoArg)
|
|
13894
13894
|
return errResult2("`repo` is required (the repo root the patch applies to) \u2014 no scoped source path is set to default to.");
|
|
13895
13895
|
const { resolve: resolve14 } = await import("node:path");
|
|
13896
|
-
const { runSourceFix } = await import("./fix-
|
|
13897
|
-
const { LlmApiRuntime: LlmApiRuntime2 } = await import("./runtime-
|
|
13896
|
+
const { runSourceFix } = await import("./fix-UUKPXCFB.js");
|
|
13897
|
+
const { LlmApiRuntime: LlmApiRuntime2 } = await import("./runtime-H7YBR5IZ.js");
|
|
13898
13898
|
const loaded = await loadPersistedFinding(findingId, typeof args.db_path === "string" ? args.db_path : void 0);
|
|
13899
13899
|
if ("error" in loaded)
|
|
13900
13900
|
return errResult2(loaded.error);
|
|
@@ -13995,7 +13995,7 @@ async function executeProtocolConformance(ctx, args) {
|
|
|
13995
13995
|
return errResult2(denial);
|
|
13996
13996
|
const { runHttpConformanceCheck } = await import("./http-conformance-U5F6GKYG.js");
|
|
13997
13997
|
const { createLiveHttpSender } = await import("./http-sender-I5XFFY35.js");
|
|
13998
|
-
const { LlmApiRuntime: LlmApiRuntime2 } = await import("./runtime-
|
|
13998
|
+
const { LlmApiRuntime: LlmApiRuntime2 } = await import("./runtime-H7YBR5IZ.js");
|
|
13999
13999
|
const llm = new LlmApiRuntime2({ type: "api", timeout: 6e4 });
|
|
14000
14000
|
const send = createLiveHttpSender();
|
|
14001
14001
|
const protocol = {
|
|
@@ -14134,7 +14134,7 @@ async function executeSafetyEval(ctx, args) {
|
|
|
14134
14134
|
const denial = refuseOutOfScope(ctx, target);
|
|
14135
14135
|
if (denial)
|
|
14136
14136
|
return errResult2(denial);
|
|
14137
|
-
const { runEval } = await import("./eval-runner-
|
|
14137
|
+
const { runEval } = await import("./eval-runner-EMEGF24P.js");
|
|
14138
14138
|
const categories = Array.isArray(args.categories) ? args.categories.map((c) => String(c)).filter(Boolean) : void 0;
|
|
14139
14139
|
const timeout = typeof args.timeout_ms === "number" && args.timeout_ms > 0 ? args.timeout_ms : void 0;
|
|
14140
14140
|
let scorecard;
|
|
@@ -14313,14 +14313,14 @@ async function executeWeaponizeKernel(ctx, args) {
|
|
|
14313
14313
|
if (!hasEngagementScope(ctx)) {
|
|
14314
14314
|
return errResult2("weaponize_kernel requires an active engagement scope. It is not available for a no-scope session.");
|
|
14315
14315
|
}
|
|
14316
|
-
const { runWeaponization, kernelVmArtifactsReady } = await import("./harness-
|
|
14316
|
+
const { runWeaponization, kernelVmArtifactsReady } = await import("./harness-C5HOKIEV.js");
|
|
14317
14317
|
if (!kernelVmArtifactsReady()) {
|
|
14318
14318
|
return errResult2("weaponize_kernel is denied: kernel-VM artifacts are not present. It only ever runs inside a DISPOSABLE kernel VM \u2014 set ZERO_KERNEL_QEMU_KERNEL and ZERO_KERNEL_QEMU_DISK to existing image paths. Refusing to run without the VM.");
|
|
14319
14319
|
}
|
|
14320
14320
|
const dmesg = typeof args.dmesg === "string" ? args.dmesg : "";
|
|
14321
14321
|
if (!dmesg.trim())
|
|
14322
14322
|
return errResult2("`dmesg` is required (the kernel crash log / KASAN splat to weaponize).");
|
|
14323
|
-
const { classifyPrimitiveFromDmesg } = await import("./kernel-primitive-
|
|
14323
|
+
const { classifyPrimitiveFromDmesg } = await import("./kernel-primitive-Z77IR7YS.js");
|
|
14324
14324
|
const crashType = typeof args.crash_type === "string" && args.crash_type.trim() ? args.crash_type.trim() : void 0;
|
|
14325
14325
|
const primitive = classifyPrimitiveFromDmesg(dmesg, crashType);
|
|
14326
14326
|
const reproducer = typeof args.reproducer === "string" && args.reproducer.trim() ? args.reproducer : void 0;
|
|
@@ -14355,12 +14355,12 @@ async function executeCveAdapt(ctx, args) {
|
|
|
14355
14355
|
if (!hasEngagementScope(ctx)) {
|
|
14356
14356
|
return errResult2("cve_adapt requires an active engagement scope. It is not available for a no-scope session.");
|
|
14357
14357
|
}
|
|
14358
|
-
const { kernelVmArtifactsReady } = await import("./harness-
|
|
14358
|
+
const { kernelVmArtifactsReady } = await import("./harness-C5HOKIEV.js");
|
|
14359
14359
|
if (!kernelVmArtifactsReady()) {
|
|
14360
14360
|
return errResult2("cve_adapt is denied: its default verification boots a kernel VM and kernel-VM artifacts are not present. Set ZERO_KERNEL_QEMU_KERNEL and ZERO_KERNEL_QEMU_DISK to existing image paths. Refusing to run without the VM.");
|
|
14361
14361
|
}
|
|
14362
|
-
const { adaptAndVerify } = await import("./adapt-loop-
|
|
14363
|
-
const { findCveArtifacts, normaliseCveId } = await import("./artifact-scraper-
|
|
14362
|
+
const { adaptAndVerify } = await import("./adapt-loop-J6QCZZTB.js");
|
|
14363
|
+
const { findCveArtifacts, normaliseCveId } = await import("./artifact-scraper-MFKT6OI4.js");
|
|
14364
14364
|
const rawCve = String(args.cve ?? "").trim();
|
|
14365
14365
|
if (!rawCve)
|
|
14366
14366
|
return errResult2("`cve` is required, e.g. CVE-2024-1086.");
|
|
@@ -22152,7 +22152,7 @@ var ToolExecutor = class _ToolExecutor {
|
|
|
22152
22152
|
* inside `runNativeAgentLoop`), so this is effectively free.
|
|
22153
22153
|
*/
|
|
22154
22154
|
async loadSubagentDeps() {
|
|
22155
|
-
const { runNativeAgentLoop: runNativeAgentLoop2 } = await import("./native-loop-
|
|
22155
|
+
const { runNativeAgentLoop: runNativeAgentLoop2 } = await import("./native-loop-P6P5GYVJ.js");
|
|
22156
22156
|
return { runNativeAgentLoop: runNativeAgentLoop2 };
|
|
22157
22157
|
}
|
|
22158
22158
|
subagentTools(messaging) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseRateLimitFlag,
|
|
7
7
|
runBaselineWebChecks,
|
|
8
8
|
runWebDiscoveryProbe
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XCISCI4T.js";
|
|
10
10
|
import {
|
|
11
11
|
generatePov,
|
|
12
12
|
oastConfirmedPayload,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveSymbol,
|
|
33
33
|
runWeaponization,
|
|
34
34
|
structLayout
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-7XCKYNLO.js";
|
|
36
36
|
import {
|
|
37
37
|
BENIGN_MAX_CLASS,
|
|
38
38
|
classifyDmesgDanger,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
parseSlabCache,
|
|
48
48
|
rankDanger,
|
|
49
49
|
sniffCrashType
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ZKQ2I3S2.js";
|
|
51
51
|
import {
|
|
52
52
|
collectScopeFiles,
|
|
53
53
|
countScopeFilesUpTo
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveContainedSourcePath,
|
|
67
67
|
runAssumptionHunt,
|
|
68
68
|
runSubsystemInvariantHunt
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-OSBPGWTE.js";
|
|
70
70
|
import {
|
|
71
71
|
PROJECT_OBSERVATION_PROMPT,
|
|
72
72
|
PROPOSAL_FEATURE_NAMES,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
runAnalysisAgent,
|
|
86
86
|
runHuntScan,
|
|
87
87
|
validateResearchProposal
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-5BTJMINS.js";
|
|
89
89
|
import {
|
|
90
90
|
BUILTIN_GUARDS,
|
|
91
91
|
DEFERRED_CONTROL_TOOL_NAMES,
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
webPentestAttackPrompt,
|
|
171
171
|
webPentestDiscoveryPrompt,
|
|
172
172
|
webPentestPrompt
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-HHPWRY2M.js";
|
|
174
174
|
import {
|
|
175
175
|
formatTargetHistoryForPrompt,
|
|
176
176
|
normalizeRepositoryHint,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
searchAdvisories,
|
|
179
179
|
searchTargetHistory,
|
|
180
180
|
toOsvEcosystem
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-YL6YAGLL.js";
|
|
182
182
|
import {
|
|
183
183
|
parseSanitizerLog,
|
|
184
184
|
verifyOracleByCategory
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
} from "./chunk-UEX7PFSE.js";
|
|
194
194
|
import {
|
|
195
195
|
resolveJournalPaths
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-NLH4LMWH.js";
|
|
197
197
|
import {
|
|
198
198
|
buildKernelAppend,
|
|
199
199
|
buildQemuCommand,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
runReproducerInKernelVm,
|
|
205
205
|
verifyAcrossBoots,
|
|
206
206
|
verifyKernelFinding
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-WZRVS7SB.js";
|
|
208
208
|
import {
|
|
209
209
|
analyticsPipeline,
|
|
210
210
|
applyPatchOps,
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
startWorkbenchBroker,
|
|
234
234
|
truncateMiddle,
|
|
235
235
|
withRunContribution
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-OHHCGDJ2.js";
|
|
237
237
|
import {
|
|
238
238
|
runHttpConformanceCheck
|
|
239
239
|
} from "./chunk-SQCBHFWN.js";
|
|
@@ -242,10 +242,10 @@ import {
|
|
|
242
242
|
createRuntime,
|
|
243
243
|
detectAvailableRuntimes,
|
|
244
244
|
pickRuntimeForStage
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-IFME676H.js";
|
|
246
246
|
import {
|
|
247
247
|
restoreFindingReviewFields
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-VWITLWXB.js";
|
|
249
249
|
import {
|
|
250
250
|
canAutoSuppressDetailed,
|
|
251
251
|
evidenceKindForFinding,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
validatePluginManifest,
|
|
319
319
|
validateThemeArtifact,
|
|
320
320
|
withScopeEnforcement
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-X7LAEEUW.js";
|
|
322
322
|
import {
|
|
323
323
|
allowlistedChildEnv,
|
|
324
324
|
sanitizedEnv
|
|
@@ -328,7 +328,7 @@ import {
|
|
|
328
328
|
LlmApiRuntime,
|
|
329
329
|
diag,
|
|
330
330
|
features
|
|
331
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-AV2LG2L7.js";
|
|
332
332
|
import {
|
|
333
333
|
AGENT_ACTION_ASSURANCE_SCHEMA_VERSION,
|
|
334
334
|
AgentActionEvidenceManifestSchema,
|
|
@@ -351,7 +351,7 @@ import {
|
|
|
351
351
|
resolveIdentities,
|
|
352
352
|
severityRank,
|
|
353
353
|
splitCost
|
|
354
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-KAU6NLGP.js";
|
|
355
355
|
import {
|
|
356
356
|
ZodFirstPartyTypeKind,
|
|
357
357
|
external_exports,
|
|
@@ -9750,7 +9750,7 @@ function isRepairableDbError(error2) {
|
|
|
9750
9750
|
}
|
|
9751
9751
|
async function openRunDatabase(dbPath) {
|
|
9752
9752
|
try {
|
|
9753
|
-
const { osecDB, repairOsecDatabase, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-
|
|
9753
|
+
const { osecDB, repairOsecDatabase, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-FSS7MBDF.js");
|
|
9754
9754
|
const storage = resolveOsecRunStorage({ dbPath });
|
|
9755
9755
|
try {
|
|
9756
9756
|
return {
|
|
@@ -15780,7 +15780,7 @@ var MemoryStore = class {
|
|
|
15780
15780
|
async db() {
|
|
15781
15781
|
if (this.dbHandle)
|
|
15782
15782
|
return this.dbHandle;
|
|
15783
|
-
const mod = await import("./dist-
|
|
15783
|
+
const mod = await import("./dist-FSS7MBDF.js");
|
|
15784
15784
|
const instance = new mod.osecDB(this.dbPath);
|
|
15785
15785
|
this.dbHandle = instance;
|
|
15786
15786
|
return this.dbHandle;
|
|
@@ -24187,7 +24187,7 @@ async function agenticScanInternal(opts) {
|
|
|
24187
24187
|
}
|
|
24188
24188
|
const runState = await (async () => {
|
|
24189
24189
|
try {
|
|
24190
|
-
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-
|
|
24190
|
+
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-FSS7MBDF.js");
|
|
24191
24191
|
const storage2 = resolveOsecRunStorage({
|
|
24192
24192
|
dbPath,
|
|
24193
24193
|
runId: resumeScanId ?? runId,
|
|
@@ -24599,7 +24599,7 @@ async function agenticScanInternal(opts) {
|
|
|
24599
24599
|
const isWebPrepass = config2.mode === "web" || config2.mode === "http_audit";
|
|
24600
24600
|
if (isWebPrepass && features.webRecon) {
|
|
24601
24601
|
try {
|
|
24602
|
-
const { runWebReconPrePass } = await import("./web-recon-prepass-
|
|
24602
|
+
const { runWebReconPrePass } = await import("./web-recon-prepass-VXXBPDAV.js");
|
|
24603
24603
|
const prepassPosture = resolveEngagementForConfig(config2);
|
|
24604
24604
|
const { findings: rf, promptBlock } = await runWebReconPrePass(config2, {
|
|
24605
24605
|
posture: prepassPosture,
|
|
@@ -28152,7 +28152,7 @@ async function packageAudit(opts) {
|
|
|
28152
28152
|
const pkg = installPackageForEcosystem(ecosystem, config2.package, config2.version, emit);
|
|
28153
28153
|
const runState = await (async () => {
|
|
28154
28154
|
try {
|
|
28155
|
-
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-
|
|
28155
|
+
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-FSS7MBDF.js");
|
|
28156
28156
|
const storage = resolveOsecRunStorage({ dbPath: config2.dbPath });
|
|
28157
28157
|
return {
|
|
28158
28158
|
db: new osecDB(storage.dbPath),
|
|
@@ -37013,7 +37013,7 @@ async function sourceReview(opts) {
|
|
|
37013
37013
|
const { repoPath, cloned, tempDir } = resolveRepo(config2.repo, emit);
|
|
37014
37014
|
const runState = await (async () => {
|
|
37015
37015
|
try {
|
|
37016
|
-
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-
|
|
37016
|
+
const { osecDB, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-FSS7MBDF.js");
|
|
37017
37017
|
const storage = resolveOsecRunStorage({ dbPath: config2.dbPath });
|
|
37018
37018
|
return {
|
|
37019
37019
|
db: new osecDB(storage.dbPath),
|
|
@@ -39705,7 +39705,7 @@ function setEnv(env) {
|
|
|
39705
39705
|
};
|
|
39706
39706
|
}
|
|
39707
39707
|
async function defaultVerify(opts) {
|
|
39708
|
-
const mod = await import("./kernel-vm-runner-
|
|
39708
|
+
const mod = await import("./kernel-vm-runner-JW77P276.js");
|
|
39709
39709
|
return mod.verifyKernelFinding(opts);
|
|
39710
39710
|
}
|
|
39711
39711
|
|
|
@@ -51448,7 +51448,7 @@ async function runPipeline(opts) {
|
|
|
51448
51448
|
};
|
|
51449
51449
|
const runState = await (async () => {
|
|
51450
51450
|
try {
|
|
51451
|
-
const { osecDB, repairOsecDatabase, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-
|
|
51451
|
+
const { osecDB, repairOsecDatabase, resolveOsecRunStorage, writeOsecRunReport } = await import("./dist-FSS7MBDF.js");
|
|
51452
51452
|
const storage = resolveOsecRunStorage({
|
|
51453
51453
|
dbPath: opts.dbPath,
|
|
51454
51454
|
runId: opts.resumeScanId ?? opts.runId,
|
|
@@ -70779,6 +70779,7 @@ export {
|
|
|
70779
70779
|
assessEscalation,
|
|
70780
70780
|
shouldWeaponize,
|
|
70781
70781
|
describeEscalation,
|
|
70782
|
+
parseImpactAssessment,
|
|
70782
70783
|
buildKernelPromotionEnvelope,
|
|
70783
70784
|
isConfirmed,
|
|
70784
70785
|
isHypothesisOnly,
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
homeStateDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAU6NLGP.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/agent/journal/types.js
|
|
9
9
|
var JOURNAL_SCHEMA_VERSION = 1;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
ScopePolicy,
|
|
9
9
|
isScopeEnforcementEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X7LAEEUW.js";
|
|
11
11
|
import {
|
|
12
12
|
allowlistedChildEnv,
|
|
13
13
|
sanitizedEnv
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
cloudStateDir,
|
|
18
18
|
createPresentationEvent,
|
|
19
19
|
homeStateDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KAU6NLGP.js";
|
|
21
21
|
import {
|
|
22
22
|
external_exports
|
|
23
23
|
} from "./chunk-VIT5ALXF.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
makeSkepticVerifier,
|
|
6
6
|
runHuntScan,
|
|
7
7
|
scoreGeometry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5BTJMINS.js";
|
|
9
9
|
import {
|
|
10
10
|
runReproducerInKernelVm
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WZRVS7SB.js";
|
|
12
12
|
import {
|
|
13
13
|
LlmApiRuntime
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AV2LG2L7.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
@@ -3,25 +3,25 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
agenticScan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LGCASF2C.js";
|
|
7
7
|
import {
|
|
8
8
|
source_default
|
|
9
9
|
} from "./chunk-HLFS6WV2.js";
|
|
10
10
|
import {
|
|
11
11
|
runAgentLoop
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5BTJMINS.js";
|
|
13
13
|
import {
|
|
14
14
|
getToolsForRole
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HHPWRY2M.js";
|
|
16
16
|
import {
|
|
17
17
|
createRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IFME676H.js";
|
|
19
19
|
import {
|
|
20
20
|
osecDB
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VWITLWXB.js";
|
|
22
22
|
import {
|
|
23
23
|
LlmApiRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AV2LG2L7.js";
|
|
25
25
|
|
|
26
26
|
// packages/cli/src/commands/orchestrate.ts
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
normalizeSettings,
|
|
13
13
|
saveSettings,
|
|
14
14
|
submissionBlockedReason
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GOEA3NW6.js";
|
|
16
16
|
import {
|
|
17
17
|
runSmolvmWorkbench
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LGCASF2C.js";
|
|
19
19
|
import {
|
|
20
20
|
ANALYTICS_LEVEL_ENV,
|
|
21
21
|
getSmolvmWorkbenchStatus,
|
|
22
22
|
isAdmittedSmolvmWorkbench,
|
|
23
23
|
levelAtLeast,
|
|
24
24
|
resolveAnalyticsLevel
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OHHCGDJ2.js";
|
|
26
26
|
import {
|
|
27
27
|
homeStateDir
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KAU6NLGP.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__require,
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
homeStateDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAU6NLGP.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/triage/kernel-vm-runner.js
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
parsePatch,
|
|
9
9
|
readEvolutionArtifact,
|
|
10
10
|
resolveScopedPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OHHCGDJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
homeStateDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KAU6NLGP.js";
|
|
15
15
|
import {
|
|
16
16
|
external_exports
|
|
17
17
|
} from "./chunk-VIT5ALXF.js";
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
jitterFor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YL6YAGLL.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/scope/rate-limit.js
|
|
9
9
|
var TokenBucket = class {
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
homeStateDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAU6NLGP.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/cve/artifact-scraper.js
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
homeStateDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAU6NLGP.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/scope/waf-detect.js
|
|
9
9
|
function readHeader(headers, name) {
|
|
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
severityRank
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAU6NLGP.js";
|
|
7
7
|
|
|
8
8
|
// packages/core/dist/triage/kernel-primitive.js
|
|
9
9
|
function maxSeverity(a, b) {
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
CodexCatalogRefreshError,
|
|
6
6
|
loadCodexModelCatalog,
|
|
7
7
|
parseCodexModels
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WSDDGFA6.js";
|
|
9
|
+
import "./chunk-AV2LG2L7.js";
|
|
10
|
+
import "./chunk-KAU6NLGP.js";
|
|
11
11
|
import "./chunk-VIT5ALXF.js";
|
|
12
12
|
import "./chunk-VCSFCHAJ.js";
|
|
13
13
|
export {
|