微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
This report presents the forensic synthetic code analysis of JeffreySu/WeiXinMPSDK, a C# project with 8,881 GitHub stars. SynthScan v2.0 examined 507,147 lines of code across 2916 source files, recording 5249 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 13.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5249 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ….Weixin.Sample.CommonService/TemplateMessageService.cs | 21 | //string productName = null; | COMMENT |
| LOW | ….Weixin.Sample.CommonService/TemplateMessageService.cs | 41 | // { | COMMENT |
| LOW | …eHandlers/CustomMessageHandler/CustomMessageHandler.cs | 81 | /// </summary> | COMMENT |
| LOW | …eHandlers/CustomMessageHandler/CustomMessageHandler.cs | 121 | /// 处理文字请求 | COMMENT |
| LOW | …eHandlers/CustomMessageHandler/CustomMessageHandler.cs | 141 | // PicUrl = picUrl, | COMMENT |
| LOW | …lers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs | 81 | // var formId = receivedMessage.FormId;//发送模板消息使用,需要在wxml中设置<form report-submit="true"> | COMMENT |
| LOW | …ssage/WxOpen/WxOpenTemplateMessage_PaySuccessNotice.cs | 21 | COMMENT | |
| LOW | …Weixin.Sample.CommonService/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …n.Sample.CommonService/AI/MessageHandlers/ChatStore.cs | 41 | public List<WeixinAiChatHistory> History { get; set; } | COMMENT |
| LOW | …n.Sample.CommonService/AI/MessageHandlers/ChatStore.cs | 121 | COMMENT | |
| LOW | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 321 | } | COMMENT |
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 1761 | //if (headers) { | COMMENT |
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 1781 | // request.abortSignal.onabort = null; | COMMENT |
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 3921 | _a.label = 2; | COMMENT |
| LOW | …-validation-unobtrusive/jquery.validate.unobtrusive.js | 261 | /// <param name="params" type="Array" optional="true">[Optional] An array of parameter names (strings) that will | COMMENT |
| LOW | …-validation-unobtrusive/jquery.validate.unobtrusive.js | 281 | /// of adapterName will be used instead.</param> | COMMENT |
| LOW | …idation-unobtrusive/jquery.validate.unobtrusive.min.js | 1 | // Unobtrusive validation support library for jQuery and jQuery Validate | COMMENT |
| LOW | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 281 | //注册多个公众号或小程序(可注册多个) | COMMENT |
| LOW | …n.Sample.Net10/Controllers/CaseCollectionController.cs | 21 | /// 收集案例页面 | COMMENT |
| LOW | …n.Sample.Net10/Controllers/CaseCollectionController.cs | 41 | ///// <param name="name"></param> | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/CacheController.cs | 21 | // get { return _dateTime; } | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/CacheController.cs | 241 | // //var containerCacheStrategy = CacheStrategyFactory.GetContainerCacheStrategyInstance(); | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/CacheController.cs | 261 | COMMENT | |
| LOW | …ixin.Sample.Net10/Controllers/Tools/CacheController.cs | 281 | // sb.AppendFormat("=====MQ队列({0})=======<br><br>", mq.GetCount()); | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/CacheController.cs | 301 | // sb.AppendFormat("{0}:{1}<br />", "插入缓存时间", | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/AiDocController.cs | 281 | // <h4>📦 接口模块</h4> | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/AiDocController.cs | 301 | // <div class='code-tabs'> | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/AiDocController.cs | 321 | //var result = await HttpHelper.GetAsync(apiUrl);</code></pre> | COMMENT |
| LOW | …ixin.Sample.Net10/Controllers/Tools/AiDocController.cs | 341 | // ""subscribe_time"": 1672531200 | COMMENT |
| LOW | ….Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs | 321 | //packageReqHandler.SetParameter("total_fee", "1"); | COMMENT |
| LOW | ….Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs | 381 | COMMENT | |
| LOW | ….Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs | 661 | //packageReqHandler.SetParameter("appid", TenPayV3Info.AppId); //公众账号ID | COMMENT |
| LOW | ….Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs | 681 | ////调用证书 | COMMENT |
| LOW | …le.Net10/Controllers/Weixin/TenPay/TenPayController.cs | 301 | string payMessage = null; | COMMENT |
| LOW | …Sample.Net10/Controllers/Weixin/Work/WorkController.cs | 81 | { | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 21 | 修改描述:改用中间件形式,已经不需要 Controller | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 41 | //using System.Xml.Linq; | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 61 | COMMENT | |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 81 | // } | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 101 | // postModel.AppId = AppId; //根据自己后台的设置保持一致 | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs | 121 | // #endregion | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/MP/WeixinJSSDKController.cs | 21 | COMMENT | |
| LOW | …mple.Net10/Controllers/Weixin/MP/AnalysisController.cs | 41 | return View(vd); | COMMENT |
| LOW | …mple.Net10/Controllers/Weixin/MP/AnalysisController.cs | 81 | // result = AnalysisApi.GetArticleTotal(accessToken, vd_Form.StartDate, vd_Form.EndDate); | COMMENT |
| LOW | …mple.Net10/Controllers/Weixin/MP/AnalysisController.cs | 101 | // result = AnalysisApi.GetInterfaceSummary(accessToken, vd_Form.StartDate, vd_Form.EndDate); | COMMENT |
| LOW | …mple.Net10/Controllers/Weixin/MP/AnalysisController.cs | 121 | // result = AnalysisApi.GetUpStreamMsgMonth(accessToken, vd_Form.StartDate, vd_Form.EndDate); | COMMENT |
| LOW | ….Net10/Controllers/Weixin/MP/SubscribeMsgController.cs | 61 | } | COMMENT |
| LOW | …e.Net10/Controllers/Weixin/Open/OpenOAuthController.cs | 21 | private string component_Secret = Config.SenparcWeixinSetting.Component_Secret; | COMMENT |
| LOW | …in.Sample.Net8/Controllers/CaseCollectionController.cs | 21 | /// 收集案例页面 | COMMENT |
| LOW | …in.Sample.Net8/Controllers/CaseCollectionController.cs | 41 | ///// <param name="name"></param> | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/CacheController.cs | 21 | // get { return _dateTime; } | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/CacheController.cs | 241 | // //var containerCacheStrategy = CacheStrategyFactory.GetContainerCacheStrategyInstance(); | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/CacheController.cs | 261 | COMMENT | |
| LOW | …eixin.Sample.Net8/Controllers/Tools/CacheController.cs | 281 | // sb.AppendFormat("=====MQ队列({0})=======<br><br>", mq.GetCount()); | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/CacheController.cs | 301 | // sb.AppendFormat("{0}:{1}<br />", "插入缓存时间", | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/AiDocController.cs | 61 | /// AI文档助手页面 | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/AiDocController.cs | 301 | var replacedSpaces = Regex.Replace(html, @" {2,}", " "); | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/AiDocController.cs | 321 | COMMENT | |
| LOW | …eixin.Sample.Net8/Controllers/Tools/AiDocController.cs | 341 | // <div class='tab-content'> | COMMENT |
| LOW | …eixin.Sample.Net8/Controllers/Tools/AiDocController.cs | 361 | //&openid=OPENID | COMMENT |
| 4970 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | readme.en.md | 118 | > 3. A synchronous version is also available: `Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendText()`.<br> | CODE |
| CRITICAL | readme.md | 118 | > 3. 以上方法也支持同步方法:`Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendText()`。<br> | CODE |
| CRITICAL | docs/zh/guide/wxopen/login.md | 225 | var checkSuccess = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.CheckSignature(sessionId, rawData, signature); | CODE |
| CRITICAL | docs/zh/guide/work/advanced-interface.md | 25 | var result = await Senparc.Weixin.Work.AdvancedAPIs.MassApi.SendTextAsync(appKey, "001", "这是一条来企业微信的消息"); | CODE |
| CRITICAL | docs/zh/guide/work/advanced-interface.md | 54 | var result = await Senparc.Weixin.Work.AdvancedAPIs.MassApi.SendTextAsync(accessToken, "001", "这是一条来企业微信的消息"); | CODE |
| CRITICAL | docs/zh/guide/mp/advanced-interface.md | 15 | var result = await Senparc.Weixin.MP.AdvancedAPIs.UserApi.GetAsync(appId);//获取关注者 OpenId 信息 | CODE |
| CRITICAL | docs/zh/guide/mp/advanced-interface.md | 24 | var result = await Senparc.Weixin.MP.AdvancedAPIs.UserApi.GetAsync(accessToken);//获取关注者 OpenId 信息 | CODE |
| CRITICAL | docs/en/guide/wxopen/login.md | 224 | var checkSuccess = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.CheckSignature(sessionId, rawData, signature); | CODE |
| CRITICAL | docs/en/guide/work/advanced-interface.md | 26 | var result = await Senparc.Weixin.Work.AdvancedAPIs.MassApi.SendTextAsync(appKey, "001", "This is a message from | CODE |
| CRITICAL | docs/en/guide/work/advanced-interface.md | 55 | var result = await Senparc.Weixin.Work.AdvancedAPIs.MassApi.SendTextAsync(accessToken, "001", "This is a message | CODE |
| CRITICAL | docs/en/guide/mp/advanced-interface.md | 17 | var result = await Senparc.Weixin.MP.AdvancedAPIs.UserApi.GetAsync(appId);//Get follower OpenId information | CODE |
| CRITICAL | docs/en/guide/mp/advanced-interface.md | 26 | var result = await Senparc.Weixin.MP.AdvancedAPIs.UserApi.GetAsync(accessToken);//get the follower OpenId information | CODE |
| CRITICAL | …ll/Senparc.Weixin.Sample.CommonService/EventService.cs | 184 | var result = Senparc.Weixin.MP.AdvancedAPIs.TemplateApi.SendTemplateMessageAsync(appId, openId, | CODE |
| CRITICAL | …ndlers/WebSocket/CustomNet45WebSocketMessageHandler.cs | 92 | //var tmResult = Senparc.Weixin.WxOpen.AdvancedAPIs.Template.TemplateApi.SendTemplateMessage(appId, open | COMMENT |
| CRITICAL | …lers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs | 93 | // var tmResult = Senparc.Weixin.WxOpen.AdvancedAPIs.Template.TemplateApi.SendTemplateMessage(appId, | COMMENT |
| CRITICAL | …andlers/WorkMessageHandler/WorkCustomMessageHandler.cs | 86 | Senparc.Weixin.Work.AdvancedAPIs.ChatApi.SendChatSimpleMessage(AccessTokenContainer.BuildingKey(_workSetting | CODE |
| CRITICAL | …andlers/WorkMessageHandler/WorkCustomMessageHandler.cs | 87 | //Senparc.Weixin.Work.AdvancedAPIs.ChatApi.SendChatSimpleMessage(AccessTokenContainer.BuildingKey(_workSetti | COMMENT |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 121 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendLinkAsync(appId, OpenId, "欢迎使用 Senparc.Weixin SDK | CODE |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 130 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendMiniProgramPageAsync(appId, OpenId, "欢迎使用 Senparc | CODE |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 135 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, "您即将进入客服"); | CODE |
| CRITICAL | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 146 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, sb.ToString()); | CODE |
| CRITICAL | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 189 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, msg); | CODE |
| CRITICAL | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 192 | //Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendText(appId, WeixinOpenId, msg); | COMMENT |
| CRITICAL | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 214 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, "刚才您发送了这张图片:"); | CODE |
| CRITICAL | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 215 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendImageAsync(appId, OpenId, requestMessage.MediaId); | CODE |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 230 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, msg); | CODE |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 238 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, msg); | CODE |
| CRITICAL⚡ | …ers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs | 239 | await Senparc.Weixin.WxOpen.AdvancedAPIs.CustomApi.SendImageAsync(appId, OpenId, requestMessage.ThumbMediaId | CODE |
| CRITICAL | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 380 | _ = Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, "图片生成中,通常需要 1 分钟左右,请稍等!"); | CODE |
| CRITICAL⚡ | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 424 | _ = Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, "已生成,正在保存,请稍后!"); | CODE |
| CRITICAL⚡ | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 426 | var uploadResult = await Senparc.Weixin.MP.AdvancedAPIs.MediaApi.UploadTemporaryMediaAsync(appId, MP.Upl | CODE |
| CRITICAL⚡ | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 428 | await Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendImageAsync(appId, OpenId, uploadResult.media_id); | CODE |
| CRITICAL | …nService/AI/MessageHandlers/CustomMessageHandler_AI.cs | 502 | await Senparc.Weixin.MP.AdvancedAPIs.CustomApi.SendTextAsync(appId, OpenId, responseMessageText); | CODE |
| CRITICAL⚡ | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 176 | Senparc.CO2NET.Cache.CsRedis.Register.SetConfigurationOption(redisConfigurationStr); | CODE |
| CRITICAL⚡ | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 179 | Senparc.CO2NET.Cache.CsRedis.Register.UseKeyValueRedisNow();//键值对缓存策略(推荐) | CODE |
| CRITICAL⚡ | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 181 | //Senparc.CO2NET.Cache.CsRedis.Register.UseHashRedisNow();//HashSet储存格式的缓存策略 | COMMENT |
| CRITICAL | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 193 | //Senparc.CO2NET.Cache.Redis.Register.SetConfigurationOption(redisConfigurationStr); | COMMENT |
| CRITICAL | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 194 | //Senparc.CO2NET.Cache.Redis.Register.UseKeyValueRedisNow();//键值对缓存策略(推荐) | COMMENT |
| CRITICAL | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 213 | Senparc.CO2NET.Cache.Memcached.Register.SetConfigurationOption(memcachedConfigurationStr); | CODE |
| CRITICAL | …s/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs | 216 | Senparc.CO2NET.Cache.Memcached.Register.UseMemcachedNow(); | CODE |
| CRITICAL | …xin.Sample.Net10/Controllers/Tools/QrCodeController.cs | 182 | var task = Senparc.Weixin.MP.AdvancedAPIs.UrlApi.ShortUrlAsync(Config.SenparcWeixinSetting.MpSetting | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 200 | var checkSuccess = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.CheckSignature(sessionId, rawData, signat | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 309 | var phoneNumber = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.DecryptPhoneNumber(sessionId, encryptedDat | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 333 | var runData = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.DecryptRunData(sessionId, encryptedData, iv); | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 367 | var result = Senparc.Weixin.TenPay.V3.TenPayV3.Unifiedorder(xmlDataInfo);//调用统一订单接口 | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 388 | paySign = Senparc.Weixin.TenPay.V3.TenPayV3.GetJsPaySign(WxOpenAppId, timeStamp, nonceStr, packageSt | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 582 | var jumpWxa = new Senparc.Weixin.WxOpen.AdvancedAPIs.UrlScheme.GenerateSchemeJumpWxa("", ""); | CODE |
| CRITICAL | …le.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs | 583 | var schmeResult = await Senparc.Weixin.WxOpen.AdvancedAPIs.UrlSchemeApi.GenerateSchemeAsync(wxOpenAppId, | CODE |
| CRITICAL | ….Sample.Net10/Controllers/Weixin/MP/MediaController.cs | 34 | Senparc.Weixin.MP.AdvancedAPIs.MediaApi.Get(appId, mediaId, ms); | CODE |
| CRITICAL⚡ | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 162 | Senparc.CO2NET.Cache.CsRedis.Register.SetConfigurationOption(redisConfigurationStr); | CODE |
| CRITICAL⚡ | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 165 | Senparc.CO2NET.Cache.CsRedis.Register.UseKeyValueRedisNow();//键值对缓存策略(推荐) | CODE |
| CRITICAL⚡ | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 167 | //Senparc.CO2NET.Cache.CsRedis.Register.UseHashRedisNow();//HashSet储存格式的缓存策略 | COMMENT |
| CRITICAL | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 179 | //Senparc.CO2NET.Cache.Redis.Register.SetConfigurationOption(redisConfigurationStr); | COMMENT |
| CRITICAL | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 180 | //Senparc.CO2NET.Cache.Redis.Register.UseKeyValueRedisNow();//键值对缓存策略(推荐) | COMMENT |
| CRITICAL | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 199 | Senparc.CO2NET.Cache.Memcached.Register.SetConfigurationOption(memcachedConfigurationStr); | CODE |
| CRITICAL | …les/All/net8-mvc/Senparc.Weixin.Sample.Net8/Startup.cs | 202 | Senparc.CO2NET.Cache.Memcached.Register.UseMemcachedNow(); | CODE |
| CRITICAL | …ixin.Sample.Net8/Controllers/Tools/QrCodeController.cs | 164 | var task = Senparc.Weixin.MP.AdvancedAPIs.UrlApi.ShortUrlAsync(Config.SenparcWeixinSetting.MpSetting | CODE |
| CRITICAL | …ple.Net8/Controllers/Weixin/WxOpen/WxOpenController.cs | 200 | var checkSuccess = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.CheckSignature(sessionId, rawData, signat | CODE |
| CRITICAL | …ple.Net8/Controllers/Weixin/WxOpen/WxOpenController.cs | 309 | var phoneNumber = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.DecryptPhoneNumber(sessionId, encryptedDat | CODE |
| CRITICAL | …ple.Net8/Controllers/Weixin/WxOpen/WxOpenController.cs | 333 | var runData = Senparc.Weixin.WxOpen.Helpers.EncryptHelper.DecryptRunData(sessionId, encryptedData, iv); | CODE |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ols/WeixinBrowserPlugin/src/test-first-dock-display.js | 23 | function checkFloatingWindowDisplay(stepName) { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/test-iframe-resize.js | 169 | async function compareFirstAndSubsequent() { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/test-dock-v2.js | 126 | function testPageContentAdjustment() { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/test-iframe-height.js | 34 | function checkFloatingWindowContent() { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/debug-weixin-docs.js | 112 | function forceApplyDockStylesEnhanced() { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/debug-weixin-docs.js | 259 | function applyWeixinDocsSpecificFix() { | CODE |
| LOW | tools/WeixinBrowserPlugin/src/content.js | 1387 | function setupOptimizedMutationObserver() { | CODE |
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 1 | (function webpackUniversalModuleDefinition(root, factory) { | CODE |
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 3731 | function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent, eventSourceConstructor | CODE |
| LOW | …5-mvc/Senparc.Weixin.MP.Sample/Scripts/jquery-1.7.1.js | 6895 | function addToPrefiltersOrTransports( structure ) { | CODE |
| LOW | …5-mvc/Senparc.Weixin.MP.Sample/Scripts/jquery-1.7.1.js | 6931 | function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR, | CODE |
| LOW⚡ | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1888 | function validateThatBindingIsAllowedForVirtualElements(bindingName) { | CODE |
| LOW⚡ | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1894 | function applyBindingsToDescendantsInternal (viewModel, elementOrVirtualElement, bindingContextsMayDifferFromDomPare | CODE |
| LOW⚡ | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1903 | function applyBindingsToNodeAndDescendantsInternal (viewModel, nodeVerified, bindingContextMayDifferFromDomParentEle | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 73 | function isClickOnCheckableElement(element, eventType) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 535 | function getDisposeCallbacksCollection(node, createIfNotFound) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 543 | function destroyCallbacksCollection(node) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 571 | function cleanImmediateCommentTypeChildren(nodeWithChildren) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 957 | "equalityComparer": function valuesArePrimitiveAndEqual(a, b) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1128 | function disposeAllSubscriptionsToDependencies() { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1325 | function visitPropertiesOrArrayEntries(rootObject, visitorCallback) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1851 | function createBindingsStringEvaluatorViaCache(bindingsString, scopesCount, cache) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1857 | function createBindingsStringEvaluator(bindingsString, scopesCount) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 1930 | function applyBindingsToNodeInternal (node, bindings, viewModelOrBindingContext, bindingContextMayDifferFromDomParen | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2169 | function ensureDropdownSelectionIsConsistentWithModelValue(element, modelValue, preferModelValue) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2706 | function validateDataBindValuesForRewriting(keyValueArray) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2724 | function constructMemoizedTagReplacement(dataBindAttributeValue, tagToRetain, templateEngine) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2866 | function invokeForEachNodeOrCommentInContinuousRange(firstNode, lastNode, action) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2875 | function activateBindingsOnContinuousNodeArray(continuousNodeArray, bindingContext) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 2896 | function getFirstNodeFromPossibleArray(nodeOrNodeArray) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 3014 | function disposeOldSubscriptionAndStoreNewOne(element, newSubscription) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 3092 | function calculateEditDistanceMatrix(oldArray, newArray, maxAllowedDistance) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 3126 | function findEditScriptFromEditDistanceMatrix(editDistanceMatrix, oldArray, newArray) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 3206 | function mapNodeAndRefreshWhenChanged(containerNode, mapping, valueToMap, callbackAfterAddingNodes, index) { | CODE |
| LOW | …nparc.Weixin.MP.Sample/Scripts/knockout-2.1.0.debug.js | 3380 | function ensureHasReferencedJQueryTemplates() { | CODE |
| LOW | …pen/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.1.0.js | 2395 | function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent) { | CODE |
| LOW | …en/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 1 | (function webpackUniversalModuleDefinition(root, factory) { | CODE |
| LOW | …en/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 3750 | function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent, eventSourceConstructor | CODE |
| LOW | …src/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.1.0.js | 2395 | function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent) { | CODE |
| LOW | …rc/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 1 | (function webpackUniversalModuleDefinition(root, factory) { | CODE |
| LOW | …rc/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 3750 | function ServerSentEventsTransport(httpClient, accessTokenFactory, logger, logMessageContent, eventSourceConstructor | CODE |
| LOW | …Tests/Helpers/Serializers/WeixinJsonSerializerTests.cs | 59 | private sealed class JsonResponseHandler : HttpMessageHandler | CODE |
| LOW | …/Senparc.Weixin.TenPay/V2/RefundQueryRequestHandler.cs | 29 | public class RefundQueryRequestHandler : ClientRequestHandler | CODE |
| LOW | …enPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs | 34 | public class ClientRequestHandler | CODE |
| LOW | …enPay/Senparc.Weixin.TenPay/V2/RefundRequestHandler.cs | 47 | public class RefundRequestHandler : ClientRequestHandler | CODE |
| LOW | …TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs | 47 | public class CheckRequestHandler : ClientRequestHandler | CODE |
| LOW | …nPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs | 57 | public class RefundResponseHandler | CODE |
| LOW | …xin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs | 67 | public class ResponseHandler | CODE |
| LOW | …nPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs | 44 | public class ClientResponseHandler | CODE |
| LOW | …ixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs | 66 | public class RequestHandler | CODE |
| LOW | …xin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs | 78 | public class ResponseHandler | CODE |
| LOW | …ixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs | 92 | public class RequestHandler | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | readme.en.md | 129 | #### Step 1: Create a custom MessageHandler to control message processing logic: | COMMENT |
| LOW | readme.en.md | 183 | #### Step 2: Request the CustomMessageHandler: | COMMENT |
| LOW | docs/en/guide/work/oauth2.0.md | 9 | ## Step 1: Set up the login page | COMMENT |
| LOW | docs/en/guide/work/oauth2.0.md | 41 | ## Step 2: Front-end login page setup | COMMENT |
| LOW | docs/en/guide/work/oauth2.0.md | 53 | ## Step 3: Configure the post-login callback page | COMMENT |
| LOW | docs/en/guide/mp/oauth2.0.md | 9 | ## Step 1: Set up the login page | COMMENT |
| LOW | docs/en/guide/mp/oauth2.0.md | 42 | ## Step 2: Front-end login page setup | COMMENT |
| LOW | docs/en/guide/mp/oauth2.0.md | 58 | ## Step 3: Configure the post-login callback page | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …c/Senparc.Weixin.MP.Sample/Scripts/jquery-ui-1.8.20.js | 8186 | // Format a name, short or long as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …Weixin.Sample.Shared/wwwroot/js/miniprogram/signalr.js | 3958 | // ErrorEvent is a browser only type we need to check if the type exists before using it | COMMENT |
| LOW | …en/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 3986 | // ErrorEvent is a browser only type we need to check if the type exists before using it | COMMENT |
| LOW | …rc/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js | 3986 | // ErrorEvent is a browser only type we need to check if the type exists before using it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …5-mvc/Senparc.Weixin.MP.Sample/Scripts/jquery-1.7.1.js | 9255 | // AMD modules. A named AMD is safest and most robust way to register. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …c/Senparc.Weixin.MCP.Server/Tools/RandomNumberTools.cs | 5 | /// Sample MCP tools for demonstration purposes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rk.Test/AdvancedAPIs/FoundationCurrentContractTests.cs | 110 | Assert.AreEqual("user@example.com", userDetail.biz_mail); | CODE |