@clear-capabilities/agentic-security-scanner 0.149.4 → 0.150.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/CHANGELOG.md +138 -0
- package/bin/agentic-security.js +533 -2
- package/dist/1122.index.js +16 -16
- package/dist/1208.index.js +23 -0
- package/dist/1301.index.js +3 -3
- package/dist/1310.index.js +3161 -0
- package/dist/1379.index.js +3 -3
- package/dist/1444.index.js +3 -3
- package/dist/1660.index.js +1 -1
- package/dist/1700.index.js +5 -5
- package/dist/1905.index.js +107 -12
- package/dist/1920.index.js +10 -10
- package/dist/2238.index.js +4 -4
- package/dist/2271.index.js +3 -3
- package/dist/2432.index.js +8 -8
- package/dist/2659.index.js +1 -1
- package/dist/2826.index.js +2 -2
- package/dist/2830.index.js +3 -3
- package/dist/2923.index.js +1 -1
- package/dist/3001.index.js +4 -4
- package/dist/3117.index.js +4 -4
- package/dist/3180.index.js +9 -9
- package/dist/3276.index.js +1 -1
- package/dist/3415.index.js +1 -1
- package/dist/3499.index.js +1 -1
- package/dist/3518.index.js +4 -4
- package/dist/3736.index.js +7 -7
- package/dist/3839.index.js +4 -4
- package/dist/4113.index.js +441 -418
- package/dist/4265.index.js +4 -4
- package/dist/4384.index.js +8 -3
- package/dist/4399.index.js +292 -0
- package/dist/4547.index.js +2 -2
- package/dist/4863.index.js +6 -6
- package/dist/4970.index.js +2 -2
- package/dist/5051.index.js +15 -15
- package/dist/5144.index.js +4 -4
- package/dist/5333.index.js +8 -8
- package/dist/5343.index.js +2 -2
- package/dist/5350.index.js +6 -6
- package/dist/5561.index.js +1 -1
- package/dist/5637.index.js +10 -5
- package/dist/5724.index.js +21642 -0
- package/dist/5756.index.js +588 -0
- package/dist/5830.index.js +3 -3
- package/dist/6257.index.js +170 -0
- package/dist/6626.index.js +5 -5
- package/dist/6662.index.js +1 -1
- package/dist/6675.index.js +4 -4
- package/dist/6730.index.js +10 -10
- package/dist/6829.index.js +4 -4
- package/dist/6944.index.js +2 -2
- package/dist/6994.index.js +143 -0
- package/dist/7039.index.js +541 -0
- package/dist/7178.index.js +11 -6
- package/dist/7227.index.js +3 -3
- package/dist/7552.index.js +2 -2
- package/dist/7709.index.js +2 -2
- package/dist/7838.index.js +1037 -0
- package/dist/8218.index.js +4 -4
- package/dist/8476.index.js +4 -4
- package/dist/8513.index.js +8 -8
- package/dist/8520.index.js +1 -1
- package/dist/8752.index.js +4 -4
- package/dist/9207.index.js +2 -2
- package/dist/9220.index.js +5 -5
- package/dist/9390.index.js +6 -6
- package/dist/9503.index.js +2 -2
- package/dist/9560.index.js +3221 -0
- package/dist/957.index.js +127 -0
- package/dist/9801.index.js +1 -1
- package/dist/9824.index.js +5 -5
- package/dist/agentic-security.mjs +23 -23
- package/dist/agentic-security.mjs.sha256 +1 -1
- package/package.json +4 -3
- package/src/discovery/disprove.js +6 -1
- package/src/discovery/hunter.js +10 -1
- package/src/discovery/llm-invoke.js +77 -0
- package/src/egress/policy.js +11 -1
- package/src/egress/redact.js +1 -1
- package/src/engine.js +37 -1
- package/src/llm-validator/agent-loop.js +215 -0
- package/src/llm-validator/agent-tools.js +271 -0
- package/src/llm-validator/explain-proposal.js +106 -0
- package/src/llm-validator/fix-proposal.js +149 -0
- package/src/llm-validator/index.js +51 -3
- package/src/llm-validator/model-capabilities.js +269 -0
- package/src/llm-validator/model-probe.js +232 -0
- package/src/llm-validator/model-status.js +27 -0
- package/src/llm-validator/ollama-provider.js +382 -0
- package/src/llm-validator/oom-feedback.js +69 -0
- package/src/llm-validator/poc-proposal.js +122 -0
- package/src/llm-validator/providers.js +75 -0
- package/src/llm-validator/redact.js +177 -11
- package/src/report/index.js +33 -0
- package/src/sast/java-ast-folding.js +18 -2
package/dist/1122.index.js
CHANGED
|
@@ -2,7 +2,7 @@ export const id = 1122;
|
|
|
2
2
|
export const ids = [1122,3180];
|
|
3
3
|
export const modules = {
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 21122:
|
|
6
6
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
7
7
|
|
|
8
8
|
|
|
@@ -16,17 +16,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16
16
|
// UNUSED EXPORTS: _validTimeoutMs
|
|
17
17
|
|
|
18
18
|
// EXTERNAL MODULE: external "node:fs"
|
|
19
|
-
var external_node_fs_ = __webpack_require__(
|
|
19
|
+
var external_node_fs_ = __webpack_require__(73024);
|
|
20
20
|
// EXTERNAL MODULE: external "node:os"
|
|
21
|
-
var external_node_os_ = __webpack_require__(
|
|
21
|
+
var external_node_os_ = __webpack_require__(48161);
|
|
22
22
|
// EXTERNAL MODULE: external "node:path"
|
|
23
|
-
var external_node_path_ = __webpack_require__(
|
|
23
|
+
var external_node_path_ = __webpack_require__(76760);
|
|
24
24
|
// EXTERNAL MODULE: external "node:child_process"
|
|
25
|
-
var external_node_child_process_ = __webpack_require__(
|
|
25
|
+
var external_node_child_process_ = __webpack_require__(31421);
|
|
26
26
|
// EXTERNAL MODULE: external "node:url"
|
|
27
|
-
var external_node_url_ = __webpack_require__(
|
|
27
|
+
var external_node_url_ = __webpack_require__(73136);
|
|
28
28
|
// EXTERNAL MODULE: ./scripts/generate-html-report.mjs + 1 modules
|
|
29
|
-
var generate_html_report = __webpack_require__(
|
|
29
|
+
var generate_html_report = __webpack_require__(73180);
|
|
30
30
|
;// CONCATENATED MODULE: ./src/ir/chrome-probe.mjs
|
|
31
31
|
// chrome-probe.mjs — Milestone 4, sub-project PNG/SVG/PDF export.
|
|
32
32
|
//
|
|
@@ -402,7 +402,7 @@ async function exportSvg(graph, opts = {}) {
|
|
|
402
402
|
|
|
403
403
|
/***/ }),
|
|
404
404
|
|
|
405
|
-
/***/
|
|
405
|
+
/***/ 73180:
|
|
406
406
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
407
407
|
|
|
408
408
|
|
|
@@ -412,11 +412,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
412
412
|
});
|
|
413
413
|
|
|
414
414
|
// EXTERNAL MODULE: external "node:fs"
|
|
415
|
-
var external_node_fs_ = __webpack_require__(
|
|
415
|
+
var external_node_fs_ = __webpack_require__(73024);
|
|
416
416
|
// EXTERNAL MODULE: external "node:path"
|
|
417
|
-
var external_node_path_ = __webpack_require__(
|
|
417
|
+
var external_node_path_ = __webpack_require__(76760);
|
|
418
418
|
// EXTERNAL MODULE: external "node:url"
|
|
419
|
-
var external_node_url_ = __webpack_require__(
|
|
419
|
+
var external_node_url_ = __webpack_require__(73136);
|
|
420
420
|
;// CONCATENATED MODULE: ./scripts/bundle-frontend.mjs
|
|
421
421
|
// bundle-frontend.mjs — Milestone 4, sub-project Self-contained HTML
|
|
422
422
|
// report. A minimal, hand-rolled ES-module bundler, deliberately NOT a
|
|
@@ -596,9 +596,9 @@ function bundleFrontendModules(entryAbsPath) {
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
// EXTERNAL MODULE: ./src/lineage/export-json.js
|
|
599
|
-
var export_json = __webpack_require__(
|
|
599
|
+
var export_json = __webpack_require__(40859);
|
|
600
600
|
// EXTERNAL MODULE: ./src/shared/frontend-root.js
|
|
601
|
-
var frontend_root = __webpack_require__(
|
|
601
|
+
var frontend_root = __webpack_require__(61185);
|
|
602
602
|
;// CONCATENATED MODULE: ./scripts/generate-html-report.mjs
|
|
603
603
|
// generate-html-report.mjs — Milestone 4, sub-project Self-contained
|
|
604
604
|
// HTML report. Assembles ONE offline-safe HTML document: inline CSS,
|
|
@@ -712,14 +712,14 @@ ${bundledJs}
|
|
|
712
712
|
|
|
713
713
|
/***/ }),
|
|
714
714
|
|
|
715
|
-
/***/
|
|
715
|
+
/***/ 61185:
|
|
716
716
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
717
717
|
|
|
718
718
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
719
719
|
/* harmony export */ D: () => (/* binding */ resolveFrontendRoot)
|
|
720
720
|
/* harmony export */ });
|
|
721
|
-
/* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
722
|
-
/* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
721
|
+
/* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73024);
|
|
722
|
+
/* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76760);
|
|
723
723
|
// frontend-root.js — locates the Data Flow Explorer's `frontend/` assets
|
|
724
724
|
// (index.html/src/styles) regardless of whether this code is running:
|
|
725
725
|
// - unbundled, straight out of scanner/src/ or scanner/scripts/ (dev/test —
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const id = 1208;
|
|
2
|
+
export const ids = [1208];
|
|
3
|
+
export const modules = {
|
|
4
|
+
|
|
5
|
+
/***/ 91208:
|
|
6
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
7
|
+
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ BaseJavaCstVisitor: () => (/* reexport safe */ _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__.ak),
|
|
11
|
+
/* harmony export */ BaseJavaCstVisitorWithDefaults: () => (/* reexport safe */ _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__.C5),
|
|
12
|
+
/* harmony export */ "default": () => (/* reexport safe */ _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__.Ay),
|
|
13
|
+
/* harmony export */ lexAndParse: () => (/* reexport safe */ _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__.Ch),
|
|
14
|
+
/* harmony export */ parse: () => (/* reexport safe */ _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__.qg)
|
|
15
|
+
/* harmony export */ });
|
|
16
|
+
/* harmony import */ var _node_modules_java_parser_src_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65724);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/***/ })
|
|
22
|
+
|
|
23
|
+
};
|
package/dist/1301.index.js
CHANGED
|
@@ -2,7 +2,7 @@ export const id = 1301;
|
|
|
2
2
|
export const ids = [1301];
|
|
3
3
|
export const modules = {
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 81301:
|
|
6
6
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
7
7
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -11,8 +11,8 @@ export const modules = {
|
|
|
11
11
|
/* harmony export */ validateTarget: () => (/* binding */ validateTarget)
|
|
12
12
|
/* harmony export */ });
|
|
13
13
|
/* unused harmony export _internals */
|
|
14
|
-
/* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
15
|
-
/* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
14
|
+
/* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73024);
|
|
15
|
+
/* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76760);
|
|
16
16
|
// Verifier target harness (FR-LIVE-HARNESS).
|
|
17
17
|
//
|
|
18
18
|
// Customer projects describe how to bring up the app they want the verifier
|