安全中心
https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/msgSecCheck.html 你好,根据文档显示,文本内容安全识别V2接口需要传openId,但是我们是认证过的小程序,用手机号来注册用户的,所以系统不获取不记录openId,但是这个接口需要openId,请问怎么处理?
我有两个问题 一个是关于接口本身的,另一个是关于回调的,麻烦帮忙解答一下吧。辛苦,感谢 审核接口支持OCR么?即图片中含有违规文字,发送图片审核以后,会被标记为不合法。回调接口和微信公众号的回调地址是一个地方配置,这个对吧?昨天我在线使用咱们的云工具调用mediaCheckAsync接口 https://api.weixin.qq.com/wxa/media_check_async?access_token=ACCESS_TOKEN显示都成功了 但是没有接收到回调,麻烦帮忙看一下发到哪个地址上了么?我根据咱们的doc专门更改了微信公众号的通知地址到本地来做测试 https://3634-18-166-180-88.ngrok.io/wechat-notification {errcode: 0,errmsg: "ok", trace_id: "63c8f3e5-6f91021c-78ca4eea",} {errcode: 0,errmsg: "ok",trace_id: "63c8f3ef-5abeaeb9-2bb5bcce",}
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/safety-control-capability/riskControl.getUserRiskRank.html 我们小程序投票后台记录的用户信息 很明显是机刷行为,这些机刷用户风控接口都返回61010(其他正常投票用户返回等级是没有问题的,返回的都是0或者1),目前自行测试是微信电脑端直接打开小程序投票会返回61010,如果用手机微信打开小程序后,在用电脑端微信投票会正常返回安全等级0; 接口采用实时调用,并且用户授权后才可以投票,小程序已经开通安全风控接口权限,请问哪里可能出问题? [图片] 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-1f790c0f-68c91d29', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-24e51b45-30b3c8ea', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-116a6c79-67c48d5c', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-59f8ce26-5d15f1ab', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-0dc1fe8d-2bd87ff5', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-73c2a7f0-26bc32cd', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-10096150-67afdb65', ) 【2023-01-13 00:57:46】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-0e338a0b-3fc1a3d5', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0a-7fc83980-6a94c032', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-6f34ad56-1aabe443', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-001fd919-65838f4f', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-216be5ad-4a4d759c', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-144dd6ea-171d810c', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-79b55193-7ad0a0c2', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-34138537-04c27e61', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-51409701-2958429a', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-6c7476ac-52ad97dd', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-701c0b41-046d21a4', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-058e043c-29a9c996', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-3add8f07-151f5a2e', ) 【2023-01-13 00:57:47】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-10f15ad3-4969a029', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-5cf9a9cc-24962ea7', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-3a065cb7-52e3d904', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-2f38ea0a-20978423', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0b-71e2ff05-64b3eec9', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-65b4af7e-5f4ea67c', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-27a5a650-597af626', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-4a93a012-04464b7b', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-7e73d89a-36bba02d', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-4be913b9-07e0bc36', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-3f034b55-15bf47ae', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-3e3fd7a2-7e2a1cd7', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-1006a8ef-25e742a8', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-19529f3a-08fb101b', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-2e422ace-7846aaba', ) 【2023-01-13 00:57:48】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-5d3831b5-66e9b7fe', ) 【2023-01-13 00:57:49】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-099f95e1-464cf4ff', ) 【2023-01-13 00:57:49】: array ( 'errcode' => 61010, 'errmsg' => 'code is expired rid: 63c03c0c-7bb27d9f-4c3920df', )
[图片] 调用微信文字敏感识别报错 但是个人信息中变未有敏感信息 是否是误判
音视频内容安全识别请求地址:https://api.weixin.qq.com/wxa/media_check_async?access_token=ACCESS_TOKEN 调接口返回结果:{"data":{"errcode":0,"trace_id":"63bd726d-3dd676a7-63a2ed20","errmsg":"ok"},"errorMessage":"success","success":true} 半小时内未收到回执信息,辛苦帮忙看下什么问题。微信侧如有回执,辛苦提供下回执信息(ToUserName、FromUserName、appid敏感字段值辛苦帮忙去掉)。
比如在接口传入类似的:OR (SELECT*FROM(SELECT(SLEEP(2)))volt) 或 10 union select 1,md5 SQL注入语句。 而且是频繁访问,这种是审核员做的事情吗,因为这个用户是跟审核员同一时间登录的。
{"msg":"I/O error on GET request for \"https://api.weixin.qq.com/cgi-bin/token\": api.weixin.qq.com; nested exception is java.net.UnknownHostException: api.weixin.qq.com","code":500}
音视频内容安全识别请求地址:https://api.weixin.qq.com/wxa/media_check_async?access_token=ACCESS_TOKEN trace_id: 63bbd5cd-4c1db658-65ec62c3
审核人员上传的敏感图片地址:https://chat.stite.net/uploads/1672653260465.jpg 请求参数:{"media_url":"https://chat.stite.net/uploads/1672994727209.jpeg","media_type":2,"version":2,"scene":2,"openid":"oUhMB5XXyE8W3BxdJyKUTjF68B_U"} 返参:{"data":{"errcode":0,"errmsg":"ok","trace_id":"63b7dfa7-190aa514-25c66907"},"status":200,"headers":{"connection":"keep-alive","content-type":"application/json; charset=UTF-8","content-length":"67"},"res":{"status":200,"statusCode":200,"statusMessage":"OK","headers":{"connection":"keep-alive","content-type":"application/json; charset=UTF-8","content-length":"67"},"size":67,"aborted":false,"rt":309,"keepAliveSocket":false,"data":{"errcode":0,"errmsg":"ok","trace_id":"63b7dfa7-190aa514-25c66907"},"requestUrls":["https://api.weixin.qq.com/wxa/media_check_async?access_token=64_1TsekRVNySsH3FgxKw6ihPGLl6Vs__LILO1lWM8njH0OSTyBEMVSBOsmfBOLC5A5W2uQp3FS8_LIZW3vqckcmFMX30Xx_imeijNLXPJpUuBqNfLGls1obUHm7a0RQTfAHAEDG"],"timing":null,"remoteAddress":"157.255.218.109","remotePort":443,"socketHandledRequests":1,"socketHandledResponses":1}} 麻烦,安全审核人员,看一下这个问题! 过滤敏感图片返回的信息,都是正常的,导致小程序的安全审核功能一直过不了,无法上架
1.请问“图片安全检测”功能必须用mediaCheckAsync接口吗?可以用第三方接口吗? 2.如果用官方的接口,拿到异步检测结果后如果发现有违规,在服务器上删除该图片就可以还是要做什么别的处理? 3.我们的功能是用户上传图片后需要立即返回结果,等不了异步检测啊,如果拿到“errmsg”:“ok”的结果就正常调用后面的功能接口,会被判罚吗
c# 后台调用msgSecCheck验证文本内容安全,返回值 {strategy: "keyword",errcode: 0,strategy: "keyword",errcode: 0,strategy: "keyword",errcode: 0, strategy: "content_model",errcode: 0,errcode: 0,errmsg: "ok",trace_id: "63b53f64-539c0acd-132f3c5d", detail: [{strategy: "content_model", errcode: 0,strategy: "content_model",errcode: 0,strategy: "keyword",errcode: 0,strategy: "keyword", errcode: 0,strategy: "content_model",errcode: 0,suggest: "pass",label: 100,prob: 90,}, {strategy: "keyword",errcode: 0,},], result: {suggest: "pass",label: 100,},} 使用的测试词条如下(官方给的测试用例),始终都是通过, #代码如下: byte[] bytes = Encoding.Default.GetBytes(body.content); string content = Encoding.UTF8.GetString(bytes); Dictionary<string, object> par = new Dictionary<string, object> { { "openid",d.openId},{ "scene",4}, { "version",2}, { "content",content} }; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); req.Method = "POST"; req.ContentType = "application/json; charset=UTF-8"; StringBuilder builder = new StringBuilder(); builder.Append(JsonHelper.SerializeJson(par)); byte[] data = Encoding.UTF8.GetBytes(builder.ToString()); req.ContentLength = data.Length; using (Stream reqStream = req.GetRequestStream()) { reqStream.Write(data, 0, data.Length); reqStream.Close(); } HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); Stream stream = resp.GetResponseStream(); using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) { backMsg = reader.ReadToEnd(); } 奇怪的很
比如我输入“拿炸弹去炸火车站”,调接口返回的也是pass
接口扫描一直提示100%正在扫描 [图片]
为什么imgSecCheck接口对很多色情图片都不能过滤?
msgSecCheck 为什么 不能返回具体敏感词汇 和腾讯云的检测策略又不一样
小程序被TST安全扫描,106.55.200.91 是否为新增扫描IP? 暂未看到小程序测试IP 地址名单不包含此IP。
下面是traceid,求帮查一下,困扰好几天了。 traceid : 63ae6e2e-40b8a4a0-7d3b6559
使用下载CSV模版文件填写 一字不改 一字不增 可以成功上传 按照模板增加信息立马无法识别关键字 请问如何解决
appid : wxf6c4a4bff51dfbd3 任务id : 63a81d9f-7530af8a-2e45e481 63a81c70-30adf49a-01995494 63a81c6f-4cf870db-05fdb965
mediaCheckAsync上传敏感图片能正确得到返回结果
此接口必须提供 openid 。
如无法提供,可采用其他内容安全产品。