circle-ir 3.210.0 → 3.212.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/analysis/config-loader.d.ts.map +1 -1
- package/dist/analysis/config-loader.js +10 -3
- package/dist/analysis/config-loader.js.map +1 -1
- package/dist/analysis/findings.d.ts +2 -2
- package/dist/analysis/findings.d.ts.map +1 -1
- package/dist/analysis/findings.js +77 -1
- package/dist/analysis/findings.js.map +1 -1
- package/dist/browser/circle-ir.js +74 -67
- package/dist/core/circle-ir-core.cjs +10 -3
- package/dist/core/circle-ir-core.js +10 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-loader.d.ts","sourceRoot":"","sources":["../../src/analysis/config-loader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,UAAU,EACX,MAAM,oBAAoB,CAAC;AAE5B;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,CAEjD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,aAAa,EAAE,CAiB1E;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG;IACtD,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,UAAU,EAAE,gBAAgB,EAAE,CAAC;CAChC,CAcA;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,mBAAmB,EAAE,GAC7B,kBAAkB,EAAE,CAQtB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,cAAc,EAAE,MAAM,EAAE,EACxB,YAAY,EAAE,MAAM,EAAE,EACtB,qBAAqB,GAAE,MAA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wBAAgB,gBAAgB,IAAI,WAAW,CAO9C;AAMD;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,EA8F5C,CAAC"}
|
|
@@ -2270,9 +2270,16 @@ export const DEFAULT_SINKS = [
|
|
|
2270
2270
|
// HTML sanitizer bypass markers (known CVE patterns)
|
|
2271
2271
|
{ method: 'clean', class: 'AntiSamy', type: 'xss', cwe: 'CWE-79', severity: 'medium', arg_positions: [0] },
|
|
2272
2272
|
{ method: 'getValidSafeHTML', class: 'ESAPI', type: 'xss', cwe: 'CWE-79', severity: 'medium', arg_positions: [0] },
|
|
2273
|
-
//
|
|
2274
|
-
|
|
2275
|
-
|
|
2273
|
+
// NOTE (cognium-dev#270): `HttpServletRequest`/`HttpSession.getAttribute()`
|
|
2274
|
+
// were registered here as xss sinks to model "attribute reflection XSS", but
|
|
2275
|
+
// getAttribute is a *read* — its return value is tainted (a SOURCE, already
|
|
2276
|
+
// registered as `io_input` above), never an HTML-output context. With
|
|
2277
|
+
// `arg_positions: []` the entry produced a degenerate source==sink self-flow
|
|
2278
|
+
// (the same getAttribute call flagged as both), firing CWE-79 on route-helper
|
|
2279
|
+
// reads that are never rendered (elide `getPath`). The real sink is wherever
|
|
2280
|
+
// the read value is later written to a response (getWriter/JspWriter/template),
|
|
2281
|
+
// which the io_input source reaches on its own. Same over-broad-sink family as
|
|
2282
|
+
// #268 (StringBuilder.append). Removed.
|
|
2276
2283
|
// =========================================================================
|
|
2277
2284
|
// Rust Sinks
|
|
2278
2285
|
// =========================================================================
|