A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
This report summarizes scanner evidence for alibaba/Sentinel, a Java project with 23,148 GitHub stars. SynthScan examined 141,829 lines of code across 1519 source files, recording 41 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 24 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 41 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 41 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …aba/csp/sentinel/adapter/jaxrs/ProviderFilterTest.java | 156 | response.then().statusCode(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode()) | CODE |
| CRITICAL | …aba/csp/sentinel/adapter/jaxrs/ProviderFilterTest.java | 171 | return javax.ws.rs.core.Response.status(javax.ws.rs.core.Response.Status.OK) | CODE |
| CRITICAL | …aba/csp/sentinel/adapter/jaxrs/ProviderFilterTest.java | 191 | response.then().statusCode(javax.ws.rs.core.Response.Status.OK.getStatusCode()) | CODE |
| CRITICAL | …aba/csp/sentinel/adapter/jaxrs/ProviderFilterTest.java | 223 | blockedResp.then().statusCode(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode()) | CODE |
| CRITICAL | …aba/csp/sentinel/adapter/jaxrs/ProviderFilterTest.java | 237 | response.then().statusCode(javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR.getStatusCode()).body(equalTo( | CODE |
| CRITICAL | …ibaba/csp/sentinel/adapter/jaxrs/ClientFilterTest.java | 194 | assertEquals(javax.ws.rs.core.Response.Status.OK.getStatusCode(), response2.getStatus()); | CODE |
| CRITICAL | …ibaba/csp/sentinel/adapter/jaxrs/ClientFilterTest.java | 218 | assertEquals(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode(), response.getStatus()); | CODE |
| CRITICAL | …ibaba/csp/sentinel/adapter/jaxrs/ClientFilterTest.java | 236 | return javax.ws.rs.core.Response.status(javax.ws.rs.core.Response.Status.OK) | CODE |
| CRITICAL | …ibaba/csp/sentinel/adapter/jaxrs/ClientFilterTest.java | 260 | assertEquals(javax.ws.rs.core.Response.Status.OK.getStatusCode(), response.getStatus()); | CODE |
| CRITICAL | …/jaxrs/deployment/SentinelJaxRsQuarkusAdapterTest.java | 141 | response.then().statusCode(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode()) | CODE |
| CRITICAL | …/jaxrs/deployment/SentinelJaxRsQuarkusAdapterTest.java | 156 | return javax.ws.rs.core.Response.status(javax.ws.rs.core.Response.Status.OK) | CODE |
| CRITICAL | …/jaxrs/deployment/SentinelJaxRsQuarkusAdapterTest.java | 176 | response.then().statusCode(javax.ws.rs.core.Response.Status.OK.getStatusCode()) | CODE |
| CRITICAL | …/jaxrs/deployment/SentinelJaxRsQuarkusAdapterTest.java | 208 | blockedResp.then().statusCode(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode()) | CODE |
| CRITICAL | …/jaxrs/deployment/SentinelJaxRsQuarkusAdapterTest.java | 222 | response.then().statusCode(javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR.getStatusCode()).body(equalTo( | CODE |
| CRITICAL | …el/cluster/server/envoy/rls/SentinelRlsGrpcServer.java | 34 | .addService(new com.alibaba.csp.sentinel.cluster.server.envoy.rls.service.v3.SentinelEnvoyRlsServiceImpl()) | CODE |
| CRITICAL | …ba/csp/sentinel/demo/quarkus/GreetingResourceTest.java | 45 | .statusCode(javax.ws.rs.core.Response.Status.TOO_MANY_REQUESTS.getStatusCode()) | CODE |
| CRITICAL | …shboard/src/main/webapp/resources/lib/js/jquery.min.js | 4 | void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …r/gateway/sc/callback/RedirectBlockRequestHandler.java | 30 | public class RedirectBlockRequestHandler implements BlockRequestHandler { | CODE |
| LOW | …er/gateway/sc/callback/DefaultBlockRequestHandler.java | 35 | public class DefaultBlockRequestHandler implements BlockRequestHandler { | CODE |
| LOW | …r/gateway/sc/callback/RedirectBlockRequestHandler.java | 30 | public class RedirectBlockRequestHandler implements BlockRequestHandler { | CODE |
| LOW | …er/gateway/sc/callback/DefaultBlockRequestHandler.java | 36 | public class DefaultBlockRequestHandler implements BlockRequestHandler { | CODE |
| LOW | …pring/webflux/callback/DefaultBlockRequestHandler.java | 35 | public class DefaultBlockRequestHandler implements BlockRequestHandler { | CODE |
| LOW | …webapp/resources/app/scripts/controllers/param_flow.js | 75 | function notGoodNumberBetweenExclusive(num, l ,r) { | CODE |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 220 | function retrieveClusterAssignInfoOfApp() { | CODE |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 317 | function doApplyNewSingleServerAssign() { | CODE |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 371 | function doApplySingleServerAssignEdit() { | CODE |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 459 | function generateRequestLimitDataStr(limitData) { | CODE |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 499 | function retrieveClusterServerInfo() { | CODE |
| LOW | …n/webapp/resources/app/scripts/controllers/identity.js | 174 | function saveDegradeRuleAndContinue() { | CODE |
| LOW | …n/webapp/resources/app/scripts/controllers/identity.js | 212 | function saveAuthorityRuleAndContinue() { | CODE |
| LOW | …n/webapp/resources/app/scripts/controllers/identity.js | 291 | function saveParamFlowRuleAndContinue() { | CODE |
| LOW | …/app/scripts/controllers/cluster_app_server_monitor.js | 57 | function retrieveClusterServerInfo() { | CODE |
| LOW | …p/scripts/controllers/cluster_app_token_client_list.js | 84 | function retrieveClusterTokenClientInfo() { | CODE |
| LOW | …/resources/app/scripts/controllers/gateway/identity.js | 150 | function saveGatewayFlowRuleAndContinue() { | CODE |
| LOW | …/resources/app/scripts/controllers/gateway/identity.js | 213 | function saveDegradeRuleAndContinue() { | CODE |
| LOW | …p/resources/app/scripts/services/param_flow_service.js | 60 | function notGoodNumberBetweenExclusive(num, l ,r) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …csp/sentinel/demo/zuul2/gateway/GatewayRuleConfig.java | 20 | // It's recommended to leverage dynamic data source or the Sentinel dashboard to push the rules. | COMMENT |
| MEDIUM | …/csp/sentinel/demo/zuul/gateway/GatewayRuleConfig.java | 44 | // It's recommended to leverage dynamic data source or the Sentinel dashboard to push the rules. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …demo/datasource/zookeeper/ZookeeperDataSourceDemo.java | 41 | final String remoteAddress = "127.0.0.1:2181"; | COMMENT |
| LOW | …ces/app/scripts/controllers/cluster_app_server_list.js | 161 | serverCommandPortMap.set(serverHostPort, -1); | COMMENT |
| LOW | …sentinel/dashboard/repository/rule/RuleRepository.java | 81 | // * @param enable | COMMENT |