Repository Analysis

alibaba/nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

2.1 Likely human-written View on GitHub
2.1
Adjusted Score
2.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
32,985
Stars
Java
Language
855,746
Lines of Code
5618
Files
396
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 141HIGH 2MEDIUM 62LOW 191

Pattern Findings

396 matches across 8 categories. Click a row to expand file-level details.

Hallucination Indicators141 hits · 1375 pts
SeverityFileLineSnippet
CRITICAL…acos/core/monitor/GrpcServerThreadPoolMonitorTest.java55 org.springframework.test.util.ReflectionTestUtils.setField(monitor, "sdkServer", sdkServer);
CRITICAL…acos/core/monitor/GrpcServerThreadPoolMonitorTest.java56 org.springframework.test.util.ReflectionTestUtils.setField(monitor, "clusterServer",
CRITICAL…acos/core/monitor/GrpcServerThreadPoolMonitorTest.java80 org.springframework.test.util.ReflectionTestUtils.setField(monitor, "sdkServer", sdkServer);
CRITICAL…acos/core/monitor/GrpcServerThreadPoolMonitorTest.java81 org.springframework.test.util.ReflectionTestUtils.setField(monitor, "clusterServer",
CRITICAL…stributed/distro/task/load/DistroLoadDataTaskTest.java133 .thenReturn(new com.alibaba.nacos.core.distributed.distro.entity.DistroData(
CRITICAL…stributed/distro/task/load/DistroLoadDataTaskTest.java134 new com.alibaba.nacos.core.distributed.distro.entity.DistroKey("k", type), null));
CRITICAL…distributed/distro/task/delay/DistroDelayTaskTest.java60 task.merge(new com.alibaba.nacos.common.task.AbstractDelayTask() {
CRITICAL…nacos/core/distributed/raft/NacosStateMachineTest.java411 org.junit.jupiter.api.Assertions.assertThrows(RuntimeException.class,
CRITICAL…nacos/core/distributed/raft/NacosStateMachineTest.java484 byte[] metaBytes = com.alibaba.nacos.common.utils.JacksonUtils.toJson(meta)
CRITICAL…ibaba/nacos/core/distributed/raft/JRaftServerTest.java515 new com.alibaba.nacos.core.distributed.raft.utils.FailoverClosureImpl(
CRITICAL…ibaba/nacos/core/distributed/raft/JRaftServerTest.java526 new com.alibaba.nacos.core.distributed.raft.utils.FailoverClosureImpl(
CRITICAL…ibaba/nacos/core/distributed/raft/JRaftServerTest.java692 new com.alibaba.nacos.core.distributed.raft.utils.FailoverClosureImpl(
CRITICAL…ibaba/nacos/core/distributed/raft/JRaftServerTest.java716 new com.alibaba.nacos.core.distributed.raft.utils.FailoverClosureImpl(
CRITICAL…ibaba/nacos/core/distributed/raft/JRaftServerTest.java755 new com.alibaba.nacos.core.distributed.raft.utils.FailoverClosureImpl(
CRITICAL…/nacos/core/distributed/raft/utils/JRaftUtilsTest.java134 new com.alipay.sofa.jraft.option.NodeOptions();
CRITICAL…/nacos/core/distributed/raft/utils/JRaftUtilsTest.java150 com.alibaba.nacos.sys.utils.DiskUtils.deleteDirectory(tempDir.getAbsolutePath());
CRITICAL…/nacos/core/distributed/raft/utils/JRaftUtilsTest.java167 new com.alipay.sofa.jraft.option.NodeOptions();
CRITICAL…/nacos/core/distributed/raft/utils/JRaftUtilsTest.java190 new com.alipay.sofa.jraft.option.NodeOptions();
CRITICAL…acos/core/plugin/PluginClusterSyncIntegrationTest.java182 new com.alibaba.nacos.core.plugin.model.PluginInfo();
CRITICAL…acos/core/plugin/PluginClusterSyncIntegrationTest.java185 info.setPluginType(com.alibaba.nacos.api.plugin.PluginType.fromType(type));
CRITICAL…acos/core/plugin/PluginClusterSyncIntegrationTest.java202 new com.alibaba.nacos.core.plugin.model.PluginInfo();
CRITICAL…acos/core/plugin/PluginClusterSyncIntegrationTest.java205 info.setPluginType(com.alibaba.nacos.api.plugin.PluginType.fromType(type));
CRITICAL…m/alibaba/nacos/core/distributed/raft/JRaftServer.java201 com.alipay.sofa.jraft.NodeManager.getInstance();
CRITICAL…nacos/core/control/remote/TpsControlRequestFilter.java91 com.alibaba.nacos.plugin.control.Loggers.TPS.warn(
CRITICAL…nacos/core/control/remote/TpsControlRequestFilter.java99 com.alibaba.nacos.plugin.control.Loggers.TPS.warn(
CRITICAL…/test/config/ConfigExportAndImportAPIConfigITCase.java597 .setConnectTimeout(org.apache.hc.core5.util.Timeout.ofMilliseconds(connectTimeout))
CRITICAL…/test/config/ConfigExportAndImportAPIConfigITCase.java598 .setConnectionRequestTimeout(org.apache.hc.core5.util.Timeout.ofMicroseconds(socketTimeout))
CRITICAL…/alibaba/nacos/istio/xds/ServiceEntryXdsGenerator.java147 result.add(io.envoyproxy.envoy.service.discovery.v3.Resource.newBuilder()
CRITICAL…os/copilot/service/SkillGenerationServiceImplTest.java267 new com.alibaba.nacos.copilot.model.ConversationHistory();
CRITICAL…os/copilot/service/SkillGenerationServiceImplTest.java272 new com.alibaba.nacos.copilot.model.ConversationMessage();
CRITICAL…/copilot/service/SkillOptimizationServiceImplTest.java308 new com.alibaba.nacos.copilot.model.ConversationHistory();
CRITICAL…/copilot/service/SkillOptimizationServiceImplTest.java313 new com.alibaba.nacos.copilot.model.ConversationMessage();
CRITICAL…s/plugin/auth/impl/DefaultAiVisibilityServiceTest.java66 com.alibaba.nacos.sys.env.EnvUtil.setEnvironment(environment);
CRITICAL…s/plugin/auth/impl/DefaultAiVisibilityServiceTest.java79 com.alibaba.nacos.sys.env.EnvUtil.setEnvironment(environment);
CRITICAL…s/plugin/auth/impl/DefaultAiVisibilityServiceTest.java85 com.alibaba.nacos.sys.env.EnvUtil.setEnvironment(null);
CRITICAL…ugin/auth/impl/controller/v3/UserControllerV3Test.java88 com.alibaba.nacos.sys.env.EnvUtil.setEnvironment(environment);
CRITICAL…ugin/auth/impl/controller/v3/UserControllerV3Test.java487 assertEquals(com.alibaba.nacos.api.model.v2.ErrorCode.ILLEGAL_STATE.getCode(),
CRITICAL…a/nacos/plugin/auth/impl/users/NacosUserModelTest.java48 new com.alibaba.nacos.plugin.auth.impl.persistence.User();
CRITICAL…ig/server/controller/v3/ConfigOpsControllerV3Test.java340 com.alibaba.nacos.common.model.RestResultUtils.success("import success"));
CRITICAL…aba/nacos/config/server/aspect/ConfigChangeAspect.java73 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.publishConfig(..))";
CRITICAL…aba/nacos/config/server/aspect/ConfigChangeAspect.java79 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.deleteConfig(..))";
CRITICAL…cos/config/server/aspect/CapacityManagementAspect.java53 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.publishConfig(..))";
CRITICAL…cos/config/server/aspect/CapacityManagementAspect.java56 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.deleteConfig(..))";
CRITICAL…ibaba/nacos/config/server/aspect/RequestLogAspect.java51 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.publishConfig(..))";
CRITICAL…ibaba/nacos/config/server/aspect/RequestLogAspect.java54 "execution(* com.alibaba.nacos.config.server.service.query.ConfigQueryChainService.handle(..))";
CRITICAL…ibaba/nacos/config/server/aspect/RequestLogAspect.java57 "execution(* com.alibaba.nacos.config.server.service.ConfigOperationService.deleteConfig(..))";
CRITICAL…ibaba/nacos/config/server/aspect/RequestLogAspect.java60 "execution(* com.alibaba.nacos.core.remote.RequestHandler.handleRequest(..)) "
CRITICALconsole-ui/src/pages/AI/McpDetail/McpDetail.js1360 {this.state.serverConfig.toolSpec.securitySchemes.map((scheme, index) => (
CRITICAL…a/com/alibaba/nacos/lock/aspect/RequestLockAspect.java43 value = "execution(* com.alibaba.nacos.core.remote.RequestHandler.handleRequest(..)) && target(com.alibaba.nacos
CRITICAL…a/nacos/ai/config/McpServerIndexConfigurationTest.java68 @org.springframework.beans.factory.annotation.Autowired(required = false)
CRITICAL…a/nacos/ai/config/McpServerIndexConfigurationTest.java85 @org.springframework.beans.factory.annotation.Autowired(required = false)
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java135 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java290 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java343 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java487 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java523 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java573 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java826 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java829 new com.alibaba.nacos.api.model.response.Namespace();
CRITICAL…m/alibaba/nacos/ai/index/CachedMcpServerIndexTest.java832 new com.alibaba.nacos.api.model.response.Namespace();
81 more matches not shown…
Decorative Section Separators51 hits · 168 pts
SeverityFileLineSnippet
MEDIUM…ores/__tests__/agentspec-store-toggle.property.test.ts13// ── Mock @/api/agentspec before importing the store ────────────────────────
MEDIUM…ores/__tests__/agentspec-store-toggle.property.test.ts33// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…ores/__tests__/agentspec-store-toggle.property.test.ts43// ── Helpers ────────────────────────────────────────────────────────────────
MEDIUM…ores/__tests__/agentspec-store-toggle.property.test.ts60// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…s/__tests__/agentspec-store-fetchlist.property.test.ts15// ── Mock agentSpecApi.list before importing the store ──────────────────────
MEDIUM…s/__tests__/agentspec-store-fetchlist.property.test.ts37// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…s/__tests__/agentspec-store-fetchlist.property.test.ts65// ── Helpers ────────────────────────────────────────────────────────────────
MEDIUM…s/__tests__/agentspec-store-fetchlist.property.test.ts82// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…__tests__/agentspec-store-resetsearch.property.test.ts13// ── Mock @/api/agentspec before importing the store ────────────────────────
MEDIUM…__tests__/agentspec-store-resetsearch.property.test.ts33// ── Helpers ────────────────────────────────────────────────────────────────
MEDIUM…__tests__/agentspec-store-resetsearch.property.test.ts50// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…ts__/agentspec-store-selection-subset.property.test.ts14// ── Mock agentSpecApi.list before importing the store ──────────────────────
MEDIUM…ts__/agentspec-store-selection-subset.property.test.ts36// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…ts__/agentspec-store-selection-subset.property.test.ts79// ── Helpers ────────────────────────────────────────────────────────────────
MEDIUM…ts__/agentspec-store-selection-subset.property.test.ts96// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…ntSpec/__tests__/editor-serialization.property.test.ts15// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…ntSpec/__tests__/editor-serialization.property.test.ts54// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…nents/__tests__/version-state-machine.property.test.ts16// ── Expected state machine definition ──────────────────────────────────────
MEDIUM…nents/__tests__/version-state-machine.property.test.ts27// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…nents/__tests__/version-state-machine.property.test.ts37// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…nents/__tests__/language-mode-mapping.property.test.ts13// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…nents/__tests__/language-mode-mapping.property.test.ts38// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…onents/__tests__/manifest-undeletable.property.test.ts15// ── Constants ──────────────────────────────────────────────────────────────
MEDIUM…onents/__tests__/manifest-undeletable.property.test.ts20// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…onents/__tests__/manifest-undeletable.property.test.ts41// ── Helper: simulate delete operations on a file tree ──────────────────────
MEDIUM…onents/__tests__/manifest-undeletable.property.test.ts71// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…/components/__tests__/file-tree-build.property.test.ts16// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…/components/__tests__/file-tree-build.property.test.ts39// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…onents/__tests__/label-key-validation.property.test.ts14// ── Valid key pattern ──────────────────────────────────────────────────────
MEDIUM…onents/__tests__/label-key-validation.property.test.ts18// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…onents/__tests__/label-key-validation.property.test.ts42// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…/components/__tests__/version-sorting.property.test.ts14// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…/components/__tests__/version-sorting.property.test.ts36// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…t/components/__tests__/zip-validation.property.test.ts14// ── Arbitrary generators ───────────────────────────────────────────────────
MEDIUM…t/components/__tests__/zip-validation.property.test.ts46// ── Tests ──────────────────────────────────────────────────────────────────
MEDIUM…SpecDetail/__tests__/layout-alignment.property.test.ts17// ── Helpers ────────────────────────────────────────────────────────────────
MEDIUM…SpecDetail/__tests__/layout-alignment.property.test.ts62// ── Pre-extracted data ─────────────────────────────────────────────────────
MEDIUM…SpecDetail/__tests__/layout-alignment.property.test.ts68// ── Task 6.1: Property 1 — Card style consistency ─────────────────────────
MEDIUM…SpecDetail/__tests__/layout-alignment.property.test.ts156// ── Task 6.2: Property 2 — Layout structure consistency ───────────────────
MEDIUMdistribution/bin/startup-native.sh15#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh17#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh46#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh48#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh54#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh56#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh136#===========================================================================================
MEDIUMdistribution/bin/startup-native.sh138#===========================================================================================
MEDIUMdistribution/bin/startup.sh164#===========================================================================================
MEDIUMdistribution/bin/startup.sh166#===========================================================================================
MEDIUMdistribution/bin/startup.sh171#===========================================================================================
MEDIUMdistribution/bin/startup.sh173#===========================================================================================
Verbosity Indicators80 hits · 126 pts
SeverityFileLineSnippet
LOW…alibaba/nacos/ai/pipeline/PublishPipelineExecutor.java100 // Step 1: Check config
LOW…alibaba/nacos/ai/pipeline/PublishPipelineExecutor.java106 // Step 2: Get matching pipeline services
LOW…alibaba/nacos/ai/pipeline/PublishPipelineExecutor.java114 // Step 3: Create execution record
LOW…alibaba/nacos/ai/pipeline/PublishPipelineExecutor.java135 // Step 4: Submit async task
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java257 // Step 1: Parse ZIP and validate
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java265 // Step 2: Skip if already exists, don't overwrite user-customized content
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java272 // Step 3: Write to storage (unlike upload, bootstrap skips draft workflow and writes directly)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java279 // Step 4: Insert meta + version rows with status directly set to online (published)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java285 // Step 5: Initialize index manifest for client discovery
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java751 // Step 1: Read content from base version and copy to new version's storage path
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java758 // Step 2: Insert draft version row
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java767 // Step 3: Update meta's editingVersion pointer
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java865 // Step 3: Move version status from draft to reviewing
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java869 // Step 4: Build pipeline context (containing SKILL.md and all resource files)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java877 // Step 5: Check if a publish pipeline is available
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java884 // Step 6: Run pipeline asynchronously; fall back to direct publish if startup fails
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1110 // Step 1: Verify meta exists and is readable
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1117 // Step 2: Find available versions from index manifest
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1125 // Step 3: Resolve actual version from version/label params (labels like "latest" are looked up in manifest)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1132 // Step 4: Get file list from manifest and read storage content
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1140 // Step 5: Publish download event for download count tracking
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java482 // Step 1: Find meta and verify read permission
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java491 // Step 2: Load all version rows and assemble version summary list
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java514 // Step 3: Merge meta info and version list into SkillMeta detail response
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java616 // Step 1: Build name matching condition: exact match or fuzzy match (with wildcards)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java627 // Step 2: Assemble query conditions (with visibility filtering) and execute paginated query
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java647 // Step 3: Convert meta rows to SkillSummary (with version labels, editing/reviewing status, etc.)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java784 // Step 1: Validate parameters
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java794 // Step 2: Confirm meta exists, has write permission, and has an editing draft
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java809 // Step 3: Overwrite storage files with new content, update version row's storage JSON and meta description
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java847 // Step 1: Verify meta exists and has write permission
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java852 // Step 2: Determine the target version to submit (prefer explicit version, otherwise infer from editing/reviewi
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java931 // Step 1: Update version status to online, clear reviewing pointer in meta
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java936 // Step 2: Write version's file list to index manifest (for client discovery)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1244 // Step 1: Copy labels from meta (e.g., latest tag)
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1250 // Step 2: Iterate all version rows, collect online versions and their file lists
LOW…nacos/ai/service/skills/SkillOperationServiceImpl.java1266 // Step 3: Only write manifest when online versions exist
LOW…ai/service/skills/SkillClientOperationServiceImpl.java82 // Step 1: Resolve target version up-front so we can short-circuit on MD5 match without
LOW…ai/service/skills/SkillClientOperationServiceImpl.java87 // Step 2: Read the published content MD5 directly from the version row's storage JSON.
LOW…ai/service/skills/SkillClientOperationServiceImpl.java90 // Step 3: Fast path — client cache is fresh, no need to load skill bytes.
LOW…ai/service/skills/SkillClientOperationServiceImpl.java96 // Step 4: Load the skill via the regular query path. This also validates meta visibility
LOW…ai/service/skills/SkillClientOperationServiceImpl.java100 // Step 5: Decide effective MD5. When the version row is missing the field (legacy publish
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java709 // Step 2: Read stored contentMd5 from version row's storage JSON
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java712 // Step 3: Fast path — client cache is fresh
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java718 // Step 4: Load full AgentSpec from storage
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java728 // Step 5: Determine effective MD5; back-fill if missing (legacy data)
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java845 // Step 1: Copy storage content from base version to new version path
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java850 // Step 2: Insert draft version row
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java855 // Step 3: Update meta's editingVersion pointer
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java161 // Step 1: Find meta and verify read permission
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java170 // Step 2: Load all version rows and assemble version summary list
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java195 // Step 3: Merge meta info and version list into AgentSpecMeta detail response
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java409 // Step 1: Parse ZIP and validate agentspec name
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java416 // Step 2: Check if an agentspec with the same name already exists
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java436 // Step 3: Assign new version number and create draft
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java464 // Step 1: Parse ZIP and validate
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java471 // Step 2: If already exists, try to repair broken built-in data; otherwise skip
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java484 // Step 3: Brand-new bootstrap: write to storage and directly create published meta + version (skip draft workfl
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java656 // Step 1: Verify meta exists, is readable, and is enabled
LOW…/service/agentspecs/AgentSpecOperationServiceImpl.java667 // Step 2: Resolve target version from version/label params (labels like "latest" are looked up in meta versionI
20 more matches not shown…
Hyper-Verbose Identifiers87 hits · 90 pts
SeverityFileLineSnippet
LOW…ibaba/nacos/core/auth/RemoteRequestAuthFilterTest.java228 static class MockRequestHandler extends RequestHandler<Request, HealthCheckResponse> {
LOW…ibaba/nacos/core/auth/RemoteRequestAuthFilterTest.java237 static class MockInnerRequestHandler extends RequestHandler<Request, HealthCheckResponse> {
LOW…ba/nacos/core/remote/grpc/GrpcRequestAcceptorTest.java525 class MockRequestHandler extends RequestHandler<HealthCheckRequest, HealthCheckResponse> {
LOW…r/remote/request/PluginAvailabilityRequestHandler.java41public class PluginAvailabilityRequestHandler
LOW…ibaba/nacos/core/remote/HealthCheckRequestHandler.java34public class HealthCheckRequestHandler
LOW…java/com/alibaba/nacos/core/remote/RequestHandler.java32public abstract class RequestHandler<T extends Request, S extends Response> {
LOW…s/core/remote/core/ServerLoaderInfoRequestHandler.java47public class ServerLoaderInfoRequestHandler
LOW…cos/core/remote/core/ServerReloaderRequestHandler.java48public class ServerReloaderRequestHandler
LOW…a/com/alibaba/nacos/test/ability/AbilityDiscovery.java277 class ClientRequestHandler extends RequestHandler<ConfigQueryRequest, ConfigQueryResponse> {
LOW…a/com/alibaba/nacos/test/ability/AbilityDiscovery.java297 class ClusterClientRequestHandler extends RequestHandler<ConfigQueryRequest, ConfigQueryResponse> {
LOW…os/config/server/remote/ConfigQueryRequestHandler.java63public class ConfigQueryRequestHandler
LOW…s/config/server/remote/ConfigRemoveRequestHandler.java49public class ConfigRemoveRequestHandler
LOW…rver/remote/ConfigChangeClusterSyncRequestHandler.java56public class ConfigChangeClusterSyncRequestHandler
LOW…nfig/server/remote/ConfigFuzzyWatchRequestHandler.java57public class ConfigFuzzyWatchRequestHandler
LOW…rver/remote/ConfigChangeBatchListenRequestHandler.java49public class ConfigChangeBatchListenRequestHandler
LOW…/config/server/remote/ConfigPublishRequestHandler.java58public class ConfigPublishRequestHandler
LOWconsole-ui/src/utils/validateContent.js70function validateKeyOrValueForProperty(property, start, end) {
LOWconsole-ui/src/utils/pipelineApi.js31export function fetchPipelineExecutionDetail(pipelineId, callbacks) {
LOWconsole-ui/src/utils/pipelineApi.js47export function fetchPipelineExecutionList(query, callbacks) {
LOWconsole-ui/src/utils/pipelineApi.js74export function mapExecutionToPipelineInfo(exec) {
LOWconsole-ui-next/src/lib/change-password.ts11export function validateChangePasswordForm(
LOWconsole-ui-next/src/lib/markdown-utils.ts11export function hasNonFrontmatterMarkdownBody(md: string): boolean {
LOWconsole-ui-next/src/pages/skillDetail/index.tsx1579function suggestNextVersionFromBase(baseVersion: string): string {
LOWconsole-ui-next/src/pages/newAgentSpec/version-mode.ts16export function planAgentSpecEditorVersionMode({
LOW…nsole-ui-next/src/pages/newMcpServer/endpoint-utils.ts23export function isManagedDirectEndpointRef(serviceRef?: McpServiceRef) {
LOW…sole-ui-next/src/pages/permissionsManagement/index.tsx36export default function PermissionsManagementPage() {
LOW…le-ui-next/src/pages/configurationManagement/index.tsx52export default function ConfigurationManagementPage() {
LOWconsole-ui-next/src/pages/agentSpecDetail/index.tsx1608function suggestNextVersionFromBase(baseVersion: string): string {
LOWconsole-ui-next/src/pages/agentSpecDetail/index.tsx1620function validateDraftTargetVersion(targetVersion: string, basedOnVersion: string): string | null {
LOW…-ui-next/src/pages/agentSpecDetail/version-workflow.ts8export function buildAgentSpecEditorSearch({
LOW…SpecDetail/__tests__/layout-alignment.property.test.ts38function extractCardHeaderClassNames(src: string): string[] {
LOW…SpecDetail/__tests__/layout-alignment.property.test.ts52function extractCardTitleClassNames(src: string): string[] {
LOW…es/promptManagement/components/prompt-version-utils.ts48export function getValidActionsWithContext(
LOW…/src/pages/skillManagement/components/version-utils.ts48export function getValidActionsWithContext(
LOW…/nacos/lock/remote/rpc/handler/LockRequestHandler.java42public class LockRequestHandler
LOW…/common/http/client/handler/StringResponseHandler.java31public class StringResponseHandler extends AbstractResponseHandler<String> {
LOW…mmon/http/client/handler/ByteArrayResponseHandler.java33public class ByteArrayResponseHandler extends AbstractResponseHandler<byte[]> {
LOW…mon/http/client/handler/RestResultResponseHandler.java32public class RestResultResponseHandler<T> extends AbstractResponseHandler<T> {
LOW…os/common/http/client/handler/BeanResponseHandler.java32public class BeanResponseHandler<T> extends AbstractResponseHandler<T> {
LOW…ommon/http/client/handler/AbstractResponseHandler.java32public abstract class AbstractResponseHandler<T> implements ResponseHandler<T> {
LOW…/com/alibaba/nacos/common/remote/client/RpcClient.java397 class ConnectResetRequestHandler implements ServerRequestHandler {
LOW…libaba/nacos/common/remote/client/grpc/GrpcClient.java607 class SetupRequestHandler implements ServerRequestHandler {
LOW…os/ai/remote/handler/QueryMcpServerRequestHandler.java46public class QueryMcpServerRequestHandler
LOW…/ai/remote/handler/ReleaseMcpServerRequestHandler.java57public class ReleaseMcpServerRequestHandler
LOW…nacos/ai/remote/handler/QueryPromptRequestHandler.java47public class QueryPromptRequestHandler
LOW…ai/remote/handler/McpServerEndpointRequestHandler.java62public class McpServerEndpointRequestHandler
LOW…remote/handler/a2a/ReleaseAgentCardRequestHandler.java50public class ReleaseAgentCardRequestHandler
LOW…mote/handler/a2a/BatchAgentEndpointRequestHandler.java62public class BatchAgentEndpointRequestHandler
LOW…ai/remote/handler/a2a/AgentEndpointRequestHandler.java58public class AgentEndpointRequestHandler
LOW…i/remote/handler/a2a/QueryAgentCardRequestHandler.java46public class QueryAgentCardRequestHandler
LOW…ncy/ephemeral/distro/v2/DistroClientDataProcessor.java58public class DistroClientDataProcessor extends SmartSubscriber
LOW…aming/remote/rpc/handler/DistroDataRequestHandler.java45public class DistroDataRequestHandler
LOW…ming/remote/rpc/handler/ServiceListRequestHandler.java49public class ServiceListRequestHandler
LOW…ng/remote/rpc/handler/BatchInstanceRequestHandler.java47public class BatchInstanceRequestHandler
LOW…ing/remote/rpc/handler/ServiceQueryRequestHandler.java47public class ServiceQueryRequestHandler
LOW…remote/rpc/handler/NamingFuzzyWatchRequestHandler.java43public class NamingFuzzyWatchRequestHandler
LOW…remote/rpc/handler/SubscribeServiceRequestHandler.java56public class SubscribeServiceRequestHandler
LOW…/naming/remote/rpc/handler/InstanceRequestHandler.java49public class InstanceRequestHandler extends RequestHandler<InstanceRequest, InstanceResponse> {
LOW…mote/rpc/handler/PersistentInstanceRequestHandler.java51public class PersistentInstanceRequestHandler
LOW…/config/impl/ClientFuzzyWatchNotifyRequestHandler.java30public class ClientFuzzyWatchNotifyRequestHandler implements ServerRequestHandler {
27 more matches not shown…
Over-Commented Block24 hits · 24 pts
SeverityFileLineSnippet
LOW…est/java/com/alibaba/nacos/test/naming/NamingBase.java121 return false;
LOW…est/java/com/alibaba/nacos/test/naming/NamingBase.java141 // !cluster1.getServiceName().equals(cluster2.getServiceName()) ||
LOW…cos/config/server/aspect/CapacityManagementAspect.java201 private Object do4Delete(ProceedingJoinPoint pjp, String group, String namespaceId,
LOW…le-ui/src/pages/AI/McpDetail/CreateTools/DeleteTool.js21 // description: serverConfig?.description,
LOWconsole-ui/src/pages/AI/NewMcpServer/NewMcpServer.js861 //
LOWconsole-ui-next/src/layouts/AppLayout.tsx21 fetchState();
LOWdistribution/bin/startup-native.sh1#!/bin/bash
LOWdistribution/bin/startup.sh1#!/bin/bash
LOWdistribution/bin/shutdown.sh1#!/bin/bash
LOW…baba/nacos/common/packagescan/classreading/Symbol.java1// ASM: a very small and fast Java bytecode manipulation framework
LOW…nacos/common/packagescan/classreading/ClassReader.java1// ASM: a very small and fast Java bytecode manipulation framework
LOW…st/java/com/alibaba/nacos/sys/utils/DiskUtilsTest.java481 @Test
LOW…in/resources/static/console-ui/public/js/codemirror.js941 return found != null ? found : bidiOther
LOW…in/resources/static/console-ui/public/js/codemirror.js2781 if (!lineObj) { lineObj = getLine(cm.doc, pos.line); }
LOW…in/resources/static/console-ui/public/js/codemirror.js4361// the scroll effect that the first few mouse wheel events have,
LOW…in/resources/static/console-ui/public/js/codemirror.js5461 else { no = lineNo(handle); }
LOW…in/resources/static/console-ui/public/js/codemirror.js5721
LOW…in/resources/static/console-ui/public/js/codemirror.js7961 // The textarea is kept positioned near the cursor to prevent the
LOW…sole/src/main/resources/static/legacy/js/codemirror.js941 return found != null ? found : bidiOther
LOW…sole/src/main/resources/static/legacy/js/codemirror.js2781 if (!lineObj) { lineObj = getLine(cm.doc, pos.line); }
LOW…sole/src/main/resources/static/legacy/js/codemirror.js4361// the scroll effect that the first few mouse wheel events have,
LOW…sole/src/main/resources/static/legacy/js/codemirror.js5461 else { no = lineNo(handle); }
LOW…sole/src/main/resources/static/legacy/js/codemirror.js5721
LOW…sole/src/main/resources/static/legacy/js/codemirror.js7961 // The textarea is kept positioned near the cursor to prevent the
AI Slop Vocabulary9 hits · 20 pts
SeverityFileLineSnippet
MEDIUM…sole/src/main/resources/static/next/js/vendor-react.js9`).replace(qv,"")}function Rm(e,t){return t=Em(t),Em(e)===t}function Ke(e,t,a,n,r,s){switch(a){case"children":typeof n==
MEDIUM…n/resources/static/next/assets/html.worker-CwpTb9lJ.js277 * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/do
MEDIUM…n/resources/static/next/assets/html.worker-CwpTb9lJ.js288Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`}},{na
MEDIUM…n/resources/static/next/assets/html.worker-CwpTb9lJ.js288Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`}},{na
MEDIUM…n/resources/static/next/assets/html.worker-CwpTb9lJ.js306**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users,
MEDIUM…urces/static/console-ui/assets/html.worker-CwpTb9lJ.js277 * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/do
MEDIUM…urces/static/console-ui/assets/html.worker-CwpTb9lJ.js288Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`}},{na
MEDIUM…urces/static/console-ui/assets/html.worker-CwpTb9lJ.js288Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`}},{na
MEDIUM…urces/static/console-ui/assets/html.worker-CwpTb9lJ.js306**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users,
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippet
HIGH…/ai/pipeline/spi/impl/SkillScannerScanOptionsTest.java52 p.setProperty(SkillScannerScanOptions.PROP_LLM_API_KEY, "your_api_key");
HIGH…/ai/pipeline/spi/impl/SkillScannerScanOptionsTest.java64 assertEquals("your_api_key", env.get("SKILL_SCANNER_LLM_API_KEY"));
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
MEDIUM…n/resources/static/next/assets/html.worker-CwpTb9lJ.js324**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/
MEDIUM…urces/static/console-ui/assets/html.worker-CwpTb9lJ.js324**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/