Skip to content

Commit ce61eb9

Browse files
author
Steve Lee (POWERSHELL)
committed
[feature]
update pwrshplugin.dll trusted assembly list
1 parent 625f106 commit ce61eb9

1 file changed

Lines changed: 30 additions & 7 deletions

File tree

src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -669,9 +669,11 @@ namespace NativeMsh
669669
static PCSTR trustedAssemblies[] =
670670
{
671671
"Microsoft.ApplicationInsights",
672-
"Microsoft.CodeAnalysis",
673672
"Microsoft.CodeAnalysis.CSharp",
673+
"Microsoft.CodeAnalysis",
674+
"Microsoft.CodeAnalysis.VisualBasic",
674675
"Microsoft.CSharp",
676+
"Microsoft.DiaSymReader.Native.amd64",
675677
"Microsoft.Management.Infrastructure",
676678
"Microsoft.Management.Infrastructure.CimCmdlets",
677679
"Microsoft.Management.Infrastructure.Native",
@@ -680,54 +682,67 @@ namespace NativeMsh
680682
"Microsoft.PowerShell.Commands.Utility",
681683
"Microsoft.PowerShell.ConsoleHost",
682684
"Microsoft.PowerShell.CoreCLR.Eventing",
683-
"Microsoft.PowerShell.LocalAccounts",
684685
"Microsoft.PowerShell.PSReadLine",
685686
"Microsoft.PowerShell.SDK",
686687
"Microsoft.PowerShell.Security",
687688
"Microsoft.VisualBasic",
688689
"Microsoft.Win32.Primitives",
689690
"Microsoft.Win32.Registry",
690691
"Microsoft.Win32.Registry.AccessControl",
692+
"Microsoft.Win32.SystemEvents",
691693
"Microsoft.WSMan.Management",
692694
"Microsoft.WSMan.Runtime",
693695
"mscorlib",
694696
"netstandard",
695697
"Newtonsoft.Json",
698+
"NJsonSchema",
699+
"PowerShell.Core.Instrumentation",
696700
"System",
697701
"System.AppContext",
698702
"System.Buffers",
703+
"System.CodeDom",
699704
"System.Collections",
700705
"System.Collections.Concurrent",
701706
"System.Collections.Immutable",
702707
"System.Collections.NonGeneric",
703708
"System.Collections.Specialized",
704-
"System.Configuration",
705-
"System.ComponentModel",
706709
"System.ComponentModel.Annotations",
710+
"System.ComponentModel.Composition",
707711
"System.ComponentModel.DataAnnotations",
712+
"System.ComponentModel",
708713
"System.ComponentModel.EventBasedAsync",
709714
"System.ComponentModel.Primitives",
710715
"System.ComponentModel.TypeConverter",
716+
"System.Configuration",
717+
"System.Configuration.ConfigurationManager",
711718
"System.Console",
712719
"System.Core",
713720
"System.Data",
714721
"System.Data.Common",
722+
"System.Data.DataSetExtensions",
723+
"System.Data.Odbc",
715724
"System.Data.SqlClient",
716725
"System.Diagnostics.Contracts",
717726
"System.Diagnostics.Debug",
718727
"System.Diagnostics.DiagnosticSource",
728+
"System.Diagnostics.EventLog",
719729
"System.Diagnostics.FileVersionInfo",
730+
"System.Diagnostics.PerformanceCounter",
720731
"System.Diagnostics.Process",
721732
"System.Diagnostics.StackTrace",
722733
"System.Diagnostics.TextWriterTraceListener",
723734
"System.Diagnostics.Tools",
724735
"System.Diagnostics.TraceSource",
725736
"System.Diagnostics.Tracing",
737+
"System.DirectoryServices",
738+
"System.DirectoryServices.AccountManagement",
739+
"System.DirectoryServices.Protocols",
726740
"System.Drawing",
741+
"System.Drawing.Common",
727742
"System.Drawing.Primitives",
728743
"System.Dynamic.Runtime",
729-
"System.Globalization",
730744
"System.Globalization.Calendars",
745+
"System.Globalization",
731746
"System.Globalization.Extensions",
732747
"System.IO",
733748
"System.IO.Compression",
@@ -744,11 +759,13 @@ namespace NativeMsh
744759
"System.IO.Packaging",
745760
"System.IO.Pipes",
746761
"System.IO.Pipes.AccessControl",
762+
"System.IO.Ports",
747763
"System.IO.UnmanagedMemoryStream",
748764
"System.Linq",
749765
"System.Linq.Expressions",
750766
"System.Linq.Parallel",
751767
"System.Linq.Queryable",
768+
"System.Management",
752769
"System.Management.Automation",
753770
"System.Memory",
754771
"System.Net",
@@ -791,6 +808,8 @@ namespace NativeMsh
791808
"System.Resources.ResourceManager",
792809
"System.Resources.Writer",
793810
"System.Runtime",
811+
"System.Runtime.Caching",
812+
"System.Runtime.CompilerServices.Unsafe",
794813
"System.Runtime.CompilerServices.VisualC",
795814
"System.Runtime.Extensions",
796815
"System.Runtime.Handles",
@@ -804,7 +823,6 @@ namespace NativeMsh
804823
"System.Runtime.Serialization.Json",
805824
"System.Runtime.Serialization.Primitives",
806825
"System.Runtime.Serialization.Xml",
807-
"System.Security",
808826
"System.Security.AccessControl",
809827
"System.Security.Claims",
810828
"System.Security.Cryptography.Algorithms",
@@ -814,16 +832,21 @@ namespace NativeMsh
814832
"System.Security.Cryptography.OpenSsl",
815833
"System.Security.Cryptography.Pkcs",
816834
"System.Security.Cryptography.Primitives",
835+
"System.Security.Cryptography.ProtectedData",
817836
"System.Security.Cryptography.X509Certificates",
837+
"System.Security.Cryptography.Xml",
838+
"System.Security",
818839
"System.Security.Permissions",
819840
"System.Security.Principal",
820841
"System.Security.Principal.Windows",
821842
"System.Security.SecureString",
843+
"System.ServiceModel",
822844
"System.ServiceModel.Duplex",
823845
"System.ServiceModel.Http",
824846
"System.ServiceModel.NetTcp",
825847
"System.ServiceModel.Primitives",
826848
"System.ServiceModel.Security",
849+
"System.ServiceModel.Syndication",
827850
"System.ServiceModel.Web",
828851
"System.ServiceProcess",
829852
"System.ServiceProcess.ServiceController",
@@ -835,8 +858,8 @@ namespace NativeMsh
835858
"System.Threading",
836859
"System.Threading.AccessControl",
837860
"System.Threading.Overlapped",
838-
"System.Threading.Tasks",
839861
"System.Threading.Tasks.Dataflow",
862+
"System.Threading.Tasks",
840863
"System.Threading.Tasks.Extensions",
841864
"System.Threading.Tasks.Parallel",
842865
"System.Threading.Thread",

0 commit comments

Comments
 (0)