-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathspotbugs.html
More file actions
1037 lines (1034 loc) · 53.4 KB
/
Copy pathspotbugs.html
File metadata and controls
1037 lines (1034 loc) · 53.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from com.github.spotbugs:spotbugs-maven-plugin:4.9.8.3:spotbugs at 2026-04-26
| Rendered using Apache Maven Fluido Skin 2.1.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0" />
<title>SpotBugs Bug Detector Report – GitHub Copilot SDK :: Java</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-2.1.0.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script src="./js/apache-maven-fluido-2.1.0.min.js"></script>
<style>.github-fork-ribbon:before { background-color: gray; }</style>
</head>
<body class="topBarEnabled">
<a class="github-fork-ribbon right-top" href="https://github.com/github/copilot-sdk-java" data-ribbon="Fork me on GitHub">Fork me on GitHub</a>
<header id="topbar" class="navbar navbar-fixed-top ">
<div class="navbar-inner">
<div class="container-fluid">
<a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html">GitHub Copilot SDK for Java
</a>
<ul class="nav">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Overview <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="index.html">Introduction</a></li>
<li><a href="getting-started.html">Getting Started</a></li>
<li><a href="setup.html">Setup</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="mcp.html">MCP Servers</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li><a href="advanced.html">Advanced Usage</a></li>
<li><a href="apidocs/index.html">API Javadoc</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Guides <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="documentation.html#Basic_Usage">Basic Usage</a></li>
<li><a href="documentation.html#Handling_Responses">Handling Responses</a></li>
<li><a href="documentation.html#Streaming_Responses">Streaming</a></li>
<li><a href="documentation.html#Choosing_a_Model">Choosing a Model</a></li>
<li><a href="documentation.html#Session_Management">Session Management</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Advanced <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="advanced.html#Custom_Tools">Custom Tools</a></li>
<li><a href="advanced.html#System_Messages">System Messages</a></li>
<li><a href="advanced.html#File_Attachments">File Attachments</a></li>
<li><a href="advanced.html#Bring_Your_Own_Key_.28BYOK.29">BYOK</a></li>
<li><a href="advanced.html#Infinite_Sessions">Infinite Sessions</a></li>
<li><a href="advanced.html#MCP_Servers">MCP Servers</a></li>
<li><a href="advanced.html#Slash_Commands">Slash Commands</a></li>
<li><a href="advanced.html#Elicitation_UI_Dialogs">Elicitation</a></li>
<li><a href="advanced.html#Getting_Session_Metadata_by_ID">Session Metadata</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Cookbook <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="cookbook/README.html">Overview</a></li>
<li><a href="cookbook/error-handling.html">Error Handling</a></li>
<li><a href="cookbook/multiple-sessions.html">Multiple Sessions</a></li>
<li><a href="cookbook/managing-local-files.html">Managing Local Files</a></li>
<li><a href="cookbook/pr-visualization.html">PR Visualization</a></li>
<li><a href="cookbook/persisting-sessions.html">Persisting Sessions</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a href="project-info.html">Project Information</a>
<ul class="dropdown-menu">
<li><a href="dependencies.html">Dependencies</a></li>
<li><a href="dependency-info.html">Maven Coordinates</a></li>
<li><a href="distribution-management.html">Distribution Management</a></li>
<li><a href="index.html">About</a></li>
<li><a href="licenses.html">Licenses</a></li>
<li><a href="plugin-management.html">Plugin Management</a></li>
<li><a href="plugins.html">Plugins</a></li>
<li><a href="scm.html">Source Code Management</a></li>
<li><a href="summary.html">Summary</a></li>
<li><a href="team.html">Team</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a href="project-reports.html">Project Reports</a>
<ul class="dropdown-menu">
<li><a href="apidocs/index.html">Javadoc</a></li>
<li><a href="surefire.html">Surefire</a></li>
<li><a>SpotBugs</a></li>
<li><a href="taglist.html">Tag List</a></li>
<li><a href="dependency-analysis.html">Dependency Analysis</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</header>
<div class="container-fluid container-fluid-top">
<header>
<div id="banner">
<div class="pull-left"></div>
<div class="pull-right"></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 2026-04-26<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 0.3.0-java.2<span class="divider">|</span></li>
<li><a href="index.html">Home</a><span class="divider">/</span></li>
<li class="active">SpotBugs Bug Detector Report</li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span2">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li><a href="index.html">Introduction</a></li>
<li><a href="getting-started.html">Getting Started</a></li>
<li><a href="setup.html">Setup</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="mcp.html">MCP Servers</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li><a href="advanced.html">Advanced Usage</a></li>
<li><a href="apidocs/index.html">API Javadoc</a></li>
<li class="nav-header">Guides</li>
<li><a href="documentation.html#Basic_Usage">Basic Usage</a></li>
<li><a href="documentation.html#Handling_Responses">Handling Responses</a></li>
<li><a href="documentation.html#Streaming_Responses">Streaming</a></li>
<li><a href="documentation.html#Choosing_a_Model">Choosing a Model</a></li>
<li><a href="documentation.html#Session_Management">Session Management</a></li>
<li class="nav-header">Advanced</li>
<li><a href="advanced.html#Custom_Tools">Custom Tools</a></li>
<li><a href="advanced.html#System_Messages">System Messages</a></li>
<li><a href="advanced.html#File_Attachments">File Attachments</a></li>
<li><a href="advanced.html#Bring_Your_Own_Key_.28BYOK.29">BYOK</a></li>
<li><a href="advanced.html#Infinite_Sessions">Infinite Sessions</a></li>
<li><a href="advanced.html#MCP_Servers">MCP Servers</a></li>
<li><a href="advanced.html#Slash_Commands">Slash Commands</a></li>
<li><a href="advanced.html#Elicitation_UI_Dialogs">Elicitation</a></li>
<li><a href="advanced.html#Getting_Session_Metadata_by_ID">Session Metadata</a></li>
<li><a href="hooks.html">Session Hooks</a></li>
<li class="nav-header">Cookbook</li>
<li><a href="cookbook/README.html">Overview</a></li>
<li><a href="cookbook/error-handling.html">Error Handling</a></li>
<li><a href="cookbook/multiple-sessions.html">Multiple Sessions</a></li>
<li><a href="cookbook/managing-local-files.html">Managing Local Files</a></li>
<li><a href="cookbook/pr-visualization.html">PR Visualization</a></li>
<li><a href="cookbook/persisting-sessions.html">Persisting Sessions</a></li>
<li class="nav-header">Project Documentation</li>
<li><a href="project-info.html"><span class="icon-chevron-right"></span>Project Information</a></li>
<li><a href="project-reports.html"><span class="icon-chevron-down"></span>Project Reports</a>
<ul class="nav nav-list">
<li><a href="apidocs/index.html">Javadoc</a></li>
<li><a href="surefire.html">Surefire</a></li>
<li class="active"><a>SpotBugs</a></li>
<li><a href="taglist.html">Tag List</a></li>
<li><a href="dependency-analysis.html">Dependency Analysis</a></li>
</ul></li>
</ul>
</nav>
<div class="well sidebar-nav">
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<a href="https://maven.apache.org/" class="builtBy" target="_blank"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span10">
<section>
<h1>SpotBugs Bug Detector Report</h1>
<p>The following document contains the results of <a class="externalLink" href="https://spotbugs.github.io/">SpotBugs</a></p>
<p>SpotBugs Version is <i>4.9.8</i></p>
<p>Threshold is <i>medium</i></p>
<p>Effort is <i>default</i></p></section><section>
<h1>Summary</h1>
<table class="table table-striped">
<tr class="a">
<th>Classes</th>
<th>Bugs</th>
<th>Errors</th>
<th>Missing Classes</th></tr>
<tr class="b">
<td>544</td>
<td>69</td>
<td>0</td>
<td>0</td></tr></table></section><section>
<h1>Files</h1>
<table class="table table-striped">
<tr class="a">
<th>Class</th>
<th>Bugs</th></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult">com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.McpConfigDisableParams">com.github.copilot.sdk.generated.rpc.McpConfigDisableParams</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.McpConfigEnableParams">com.github.copilot.sdk.generated.rpc.McpConfigEnableParams</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.McpConfigListResult">com.github.copilot.sdk.generated.rpc.McpConfigListResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.McpDiscoverResult">com.github.copilot.sdk.generated.rpc.McpDiscoverResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.Model">com.github.copilot.sdk.generated.rpc.Model</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision">com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision">com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.ModelsListResult">com.github.copilot.sdk.generated.rpc.ModelsListResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionAgentListResult">com.github.copilot.sdk.generated.rpc.SessionAgentListResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult">com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult">com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult">com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult">com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult">com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionMcpListResult">com.github.copilot.sdk.generated.rpc.SessionMcpListResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionPluginsListResult">com.github.copilot.sdk.generated.rpc.SessionPluginsListResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionSkillsListResult">com.github.copilot.sdk.generated.rpc.SessionSkillsListResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult">com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult">com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult">com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult">com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams">com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams">com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams</a></td>
<td>4</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult">com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.Tool">com.github.copilot.sdk.generated.rpc.Tool</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.ToolsListResult">com.github.copilot.sdk.generated.rpc.ToolsListResult</a></td>
<td>2</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.generated.rpc.UIElicitationResponse">com.github.copilot.sdk.generated.rpc.UIElicitationResponse</a></td>
<td>2</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.generated.rpc.UIElicitationSchema">com.github.copilot.sdk.generated.rpc.UIElicitationSchema</a></td>
<td>4</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.json.BlobAttachment">com.github.copilot.sdk.json.BlobAttachment</a></td>
<td>1</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.json.CopilotClientOptions">com.github.copilot.sdk.json.CopilotClientOptions</a></td>
<td>1</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.json.McpHttpServerConfig">com.github.copilot.sdk.json.McpHttpServerConfig</a></td>
<td>1</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.json.McpStdioServerConfig">com.github.copilot.sdk.json.McpStdioServerConfig</a></td>
<td>1</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.json.MessageOptions">com.github.copilot.sdk.json.MessageOptions</a></td>
<td>1</td></tr>
<tr class="b">
<td><a href="#com.github.copilot.sdk.json.ResumeSessionConfig">com.github.copilot.sdk.json.ResumeSessionConfig</a></td>
<td>1</td></tr>
<tr class="a">
<td><a href="#com.github.copilot.sdk.json.SessionConfig">com.github.copilot.sdk.json.SessionConfig</a></td>
<td>1</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.quotaSnapshots() may expose internal representation by returning AccountGetQuotaResult.quotaSnapshots</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult(Map) may expose internal representation by storing an externally mutable object into AccountGetQuotaResult.quotaSnapshots</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.McpConfigDisableParams"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.McpConfigDisableParams</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.McpConfigDisableParams.names() may expose internal representation by returning McpConfigDisableParams.names</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.McpConfigDisableParams(List) may expose internal representation by storing an externally mutable object into McpConfigDisableParams.names</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.McpConfigEnableParams"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.McpConfigEnableParams</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.McpConfigEnableParams.names() may expose internal representation by returning McpConfigEnableParams.names</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.McpConfigEnableParams(List) may expose internal representation by storing an externally mutable object into McpConfigEnableParams.names</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.McpConfigListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.McpConfigListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.McpConfigListResult.servers() may expose internal representation by returning McpConfigListResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.McpConfigListResult(Map) may expose internal representation by storing an externally mutable object into McpConfigListResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.McpDiscoverResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.McpDiscoverResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.McpDiscoverResult.servers() may expose internal representation by returning McpDiscoverResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.McpDiscoverResult(List) may expose internal representation by storing an externally mutable object into McpDiscoverResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.Model"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.Model</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.Model.supportedReasoningEfforts() may expose internal representation by returning Model.supportedReasoningEfforts</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>16</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.Model(String, String, ModelCapabilities, ModelPolicy, ModelBilling, List, String) may expose internal representation by storing an externally mutable object into Model.supportedReasoningEfforts</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>19</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision.supportedMediaTypes() may expose internal representation by returning ModelCapabilitiesLimitsVision.supportedMediaTypes</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.ModelCapabilitiesLimitsVision(List, Long, Long) may expose internal representation by storing an externally mutable object into ModelCapabilitiesLimitsVision.supportedMediaTypes</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes() may expose internal representation by returning ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>16</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.ModelCapabilitiesOverrideLimitsVision(List, Long, Long) may expose internal representation by storing an externally mutable object into ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>19</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.ModelsListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.ModelsListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.ModelsListResult.models() may expose internal representation by returning ModelsListResult.models</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.ModelsListResult(List) may expose internal representation by storing an externally mutable object into ModelsListResult.models</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionAgentListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionAgentListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionAgentListResult.agents() may expose internal representation by returning SessionAgentListResult.agents</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionAgentListResult(List) may expose internal representation by storing an externally mutable object into SessionAgentListResult.agents</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.agents() may expose internal representation by returning SessionAgentReloadResult.agents</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult(List) may expose internal representation by storing an externally mutable object into SessionAgentReloadResult.agents</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.extensions() may expose internal representation by returning SessionExtensionsListResult.extensions</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult(List) may expose internal representation by storing an externally mutable object into SessionExtensionsListResult.extensions</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult.entries() may expose internal representation by returning SessionFsReaddirResult.entries</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult(List, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsReaddirResult.entries</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.entries() may expose internal representation by returning SessionFsReaddirWithTypesResult.entries</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult(List, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsReaddirWithTypesResult.entries</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult.sources() may expose internal representation by returning SessionInstructionsGetSourcesResult.sources</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionInstructionsGetSourcesResult(List) may expose internal representation by storing an externally mutable object into SessionInstructionsGetSourcesResult.sources</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionMcpListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionMcpListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionMcpListResult.servers() may expose internal representation by returning SessionMcpListResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionMcpListResult(List) may expose internal representation by storing an externally mutable object into SessionMcpListResult.servers</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionPluginsListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionPluginsListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.plugins() may expose internal representation by returning SessionPluginsListResult.plugins</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionPluginsListResult(List) may expose internal representation by storing an externally mutable object into SessionPluginsListResult.plugins</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionSkillsListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionSkillsListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.skills() may expose internal representation by returning SessionSkillsListResult.skills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionSkillsListResult(List) may expose internal representation by storing an externally mutable object into SessionSkillsListResult.skills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.content() may expose internal representation by returning SessionUiElicitationResult.content</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult(UIElicitationResponseAction, Map) may expose internal representation by storing an externally mutable object into SessionUiElicitationResult.content</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.modelMetrics() may expose internal representation by returning SessionUsageGetMetricsResult.modelMetrics</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult(Double, Long, Double, Long, UsageMetricsCodeChanges, Map, String, Long, Long) may expose internal representation by storing an externally mutable object into SessionUsageGetMetricsResult.modelMetrics</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult.files() may expose internal representation by returning SessionWorkspaceListFilesResult.files</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult(List) may expose internal representation by storing an externally mutable object into SessionWorkspaceListFilesResult.files</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult.files() may expose internal representation by returning SessionWorkspacesListFilesResult.files</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SessionWorkspacesListFilesResult(List) may expose internal representation by storing an externally mutable object into SessionWorkspacesListFilesResult.files</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams.disabledSkills() may expose internal representation by returning SkillsConfigSetDisabledSkillsParams.disabledSkills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SkillsConfigSetDisabledSkillsParams(List) may expose internal representation by storing an externally mutable object into SkillsConfigSetDisabledSkillsParams.disabledSkills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams.projectPaths() may expose internal representation by returning SkillsDiscoverParams.projectPaths</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams.skillDirectories() may expose internal representation by returning SkillsDiscoverParams.skillDirectories</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="b">
<td>new com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams(List, List) may expose internal representation by storing an externally mutable object into SkillsDiscoverParams.projectPaths</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SkillsDiscoverParams(List, List) may expose internal representation by storing an externally mutable object into SkillsDiscoverParams.skillDirectories</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult.skills() may expose internal representation by returning SkillsDiscoverResult.skills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.SkillsDiscoverResult(List) may expose internal representation by storing an externally mutable object into SkillsDiscoverResult.skills</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.Tool"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.Tool</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.Tool.parameters() may expose internal representation by returning Tool.parameters</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>16</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.Tool(String, String, String, Map, String) may expose internal representation by storing an externally mutable object into Tool.parameters</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>19</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.ToolsListResult"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.ToolsListResult</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.ToolsListResult.tools() may expose internal representation by returning ToolsListResult.tools</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.ToolsListResult(List) may expose internal representation by storing an externally mutable object into ToolsListResult.tools</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.UIElicitationResponse"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.UIElicitationResponse</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.UIElicitationResponse.content() may expose internal representation by returning UIElicitationResponse.content</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>21</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.UIElicitationResponse(UIElicitationResponseAction, Map) may expose internal representation by storing an externally mutable object into UIElicitationResponse.content</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>24</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.generated.rpc.UIElicitationSchema"></a><section>
<h2>com.github.copilot.sdk.generated.rpc.UIElicitationSchema</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.generated.rpc.UIElicitationSchema.properties() may expose internal representation by returning UIElicitationSchema.properties</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>22</td>
<td>Medium</td></tr>
<tr class="a">
<td>com.github.copilot.sdk.generated.rpc.UIElicitationSchema.required() may expose internal representation by returning UIElicitationSchema.required</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>22</td>
<td>Medium</td></tr>
<tr class="b">
<td>new com.github.copilot.sdk.generated.rpc.UIElicitationSchema(String, Map, List) may expose internal representation by storing an externally mutable object into UIElicitationSchema.properties</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>25</td>
<td>Medium</td></tr>
<tr class="a">
<td>new com.github.copilot.sdk.generated.rpc.UIElicitationSchema(String, Map, List) may expose internal representation by storing an externally mutable object into UIElicitationSchema.required</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>25</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.json.BlobAttachment"></a><section>
<h2>com.github.copilot.sdk.json.BlobAttachment</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>Unread field: com.github.copilot.sdk.json.BlobAttachment.type; should this field be static?</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#SS_SHOULD_BE_STATIC">SS_SHOULD_BE_STATIC</a></td>
<td>31</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.json.CopilotClientOptions"></a><section>
<h2>com.github.copilot.sdk.json.CopilotClientOptions</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.json.CopilotClientOptions defines clone() but doesn't implement Cloneable</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE">CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE</a></td>
<td>530</td>
<td>High</td></tr></table></section><a name="com.github.copilot.sdk.json.McpHttpServerConfig"></a><section>
<h2>com.github.copilot.sdk.json.McpHttpServerConfig</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>Unread field: com.github.copilot.sdk.json.McpHttpServerConfig.type; should this field be static?</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#SS_SHOULD_BE_STATIC">SS_SHOULD_BE_STATIC</a></td>
<td>35</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.json.McpStdioServerConfig"></a><section>
<h2>com.github.copilot.sdk.json.McpStdioServerConfig</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>Unread field: com.github.copilot.sdk.json.McpStdioServerConfig.type; should this field be static?</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#SS_SHOULD_BE_STATIC">SS_SHOULD_BE_STATIC</a></td>
<td>36</td>
<td>Medium</td></tr></table></section><a name="com.github.copilot.sdk.json.MessageOptions"></a><section>
<h2>com.github.copilot.sdk.json.MessageOptions</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="b">
<td>com.github.copilot.sdk.json.MessageOptions defines clone() but doesn't implement Cloneable</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE">CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE</a></td>
<td>166</td>
<td>High</td></tr></table></section><a name="com.github.copilot.sdk.json.ResumeSessionConfig"></a><section>
<h2>com.github.copilot.sdk.json.ResumeSessionConfig</h2>
<table class="table table-striped">
<tr class="a">
<th>Bug</th>