CodeAnalysis icon indicating copy to clipboard operation
CodeAnalysis copied to clipboard

Static Code Analysis - 静态代码分析

Results 208 CodeAnalysis issues
Sort by recently updated
recently updated
newest added

配置镨误 出现的log如下: 2024-09-29 14:39:09,756-ERROR: method(post) call fails on error: HTTP Error 400: Bad Request 2024-09-29 14:39:09,756-INFO: retrying method(post) after 30 seconds 2024-09-29 14:39:39,839-ERROR: api request error: {"status":400,"msg":"No more workers, please...

自定义sql注入规则如下: ![sql-injection](https://github.com/user-attachments/assets/d2ac246f-004f-4158-b07c-4f89d600eb00) PHP规则如下: ![php-rule](https://github.com/user-attachments/assets/dacd7f83-2363-4817-8b11-6ed4cb0c5df7) **PHP框架:Hyperf** SQL注入代码片段: ![code](https://github.com/user-attachments/assets/459fe893-ab72-4785-9215-23d5c16c7a22) SQL注入问题复现: ![sql-injection-err](https://github.com/user-attachments/assets/c13e25a7-cf96-40e0-8b4f-862704949cdd)

+ ./codepuppy localscan 使用这个并通过增加分析方案模板ID和设置质量门禁获取指定分析方案模板进行扫描并根据设置的质量门禁进行判断是否通过 ```[tasklist] ### Tasks ```

如何更新sever端的semgrep版本及规则

semgrep目前规则都比较老了,现在更新规则只能自己新建工具来进行更新,有没有更优雅的方式

增加将分析结果推送到飞书、钉钉、企微群。最好能@提交人

历史发现问题趋势图,对应图表纵坐标数据一旦超过100000,纵坐标轴坐标只能显示后5位数字,padding改为[20, 10, 50, 50]后显示正常 https://github.com/Tencent/CodeAnalysis/blob/49c4435cfaa5f8081d523a8ba3ca15b738cc100f/web/packages/tca-analysis/src/modules/projects/overview/codelint/index.tsx#L225