@herbertgao/pi-extensions 2026.11.5 → 2026.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +7 -7
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +10 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/compact-thinking.ts +6 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer.ts +22 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +22 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +5 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +38 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +2 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-header.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-layout.ts +6 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-palette.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-presentation.ts +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-mode.ts +465 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-scope.ts +44 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark.json +3 -5
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light.json +3 -5
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +16 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/asset-producer.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/manual-edit-applier.md +3 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +13 -7
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/init.md +2 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +5 -3
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable +39 -22
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable.cmd +43 -15
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +426 -193
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts +1 -4
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +5620 -2946
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +11 -11
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
- package/node_modules/pi-commandcode-provider/README.md +1 -1
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +5 -4
- package/node_modules/pi-commandcode-provider/src/pricing.ts +8 -2
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +182 -0
- package/node_modules/pi-lens/dist/{chunk-NE4EFHJX.js → chunk-2SD2CGVH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7JX3RNG4.js → chunk-34RXPR7M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2LVJQU3I.js → chunk-3C6ZZAB2.js} +33 -27
- package/node_modules/pi-lens/dist/{chunk-WAA63ZJV.js → chunk-3HZ6MNB2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IDCTDKIA.js → chunk-3NVGBFJS.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-B2YUE6YD.js → chunk-3QCI3V6C.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/node_modules/pi-lens/dist/{chunk-7WJ55KBN.js → chunk-43KD3PPM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DVRJBQOJ.js → chunk-4HNBY7S7.js} +20 -19
- package/node_modules/pi-lens/dist/chunk-4WWPDMRA.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-QL37SGTS.js → chunk-532X3OCZ.js} +18 -16
- package/node_modules/pi-lens/dist/{chunk-ZZDVGCGG.js → chunk-5RLEDUUE.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-GUGKKGG7.js → chunk-5YTDZ5WP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/node_modules/pi-lens/dist/{chunk-E4VXKTBR.js → chunk-6K4X7IIF.js} +164 -172
- package/node_modules/pi-lens/dist/{chunk-HSYFLOZY.js → chunk-6RXMQYNU.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-K6WIBVMK.js → chunk-6XNVY3FW.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PTSA6QKL.js → chunk-A4HKPAEN.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-RQRKIRFY.js → chunk-AFNPNHJV.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/node_modules/pi-lens/dist/{chunk-MAD4QJTP.js → chunk-AJ62EQIQ.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-FCQSZQAT.js → chunk-AOQKQWZU.js} +14 -5
- package/node_modules/pi-lens/dist/{chunk-ZOPXB2KK.js → chunk-AVOUHMCS.js} +111 -107
- package/node_modules/pi-lens/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/node_modules/pi-lens/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/node_modules/pi-lens/dist/{chunk-SKVNHCT5.js → chunk-B4K6OSLL.js} +49 -42
- package/node_modules/pi-lens/dist/{chunk-2ADRLTM2.js → chunk-BBJXIZ3X.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-BJDB7PXU.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-GTTMQ6XB.js → chunk-BLL4VYGZ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-TN5CWX5D.js → chunk-BN36MQW5.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-IL6PIV33.js → chunk-C2REOMPO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XAFZJEXY.js → chunk-C4ICGFEO.js} +23 -23
- package/node_modules/pi-lens/dist/chunk-CIA7X2PZ.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-SJQUWQR6.js → chunk-D5L7Q57Z.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XPGH5O74.js → chunk-DBAHJFBU.js} +31 -35
- package/node_modules/pi-lens/dist/{chunk-H65TYP6V.js → chunk-DNB4ZQGN.js} +37 -21
- package/node_modules/pi-lens/dist/chunk-DPDA3ILA.js +108 -0
- package/node_modules/pi-lens/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KDCIG23C.js → chunk-E6Z3CJT2.js} +13 -9
- package/node_modules/pi-lens/dist/{chunk-V7F7JHS5.js → chunk-ECYUBKYX.js} +557 -551
- package/node_modules/pi-lens/dist/chunk-F37CCZUA.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-KSTQ4VXT.js → chunk-FVEEEEIM.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-GMC4ZGYR.js → chunk-GL6J5R34.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-C6AODRNU.js → chunk-GTNO6F6K.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-KJ3AHOCK.js → chunk-HASJPQBC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-F6FT6BVQ.js → chunk-HIUVHRLM.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-BRESRQBE.js → chunk-HTUG7ZFK.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ALIZWXHZ.js → chunk-IBEYUBCM.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-JZQGRARR.js → chunk-IJ55MYO6.js} +15 -12
- package/node_modules/pi-lens/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AON2QIJF.js → chunk-ITAPXBIB.js} +20 -17
- package/node_modules/pi-lens/dist/{chunk-TLWFZ66Y.js → chunk-JSQK5DH3.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-QUQY3IME.js → chunk-KBSC5Z3G.js} +9 -8
- package/node_modules/pi-lens/dist/{chunk-W4CUK5G6.js → chunk-KDGKKK7A.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YQA34KAF.js → chunk-KDMJ2DJD.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SG2JQ2YP.js → chunk-KNP4ENFT.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-KX4DF6XX.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-4ITEFRDH.js → chunk-LHCDWFDB.js} +37 -145
- package/node_modules/pi-lens/dist/{chunk-3HM4BUHR.js → chunk-LHU6NG5Z.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6I44EDNQ.js → chunk-LIDFFCZZ.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-KFRDFAOE.js → chunk-LPM6NKVI.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-NBM7PNBP.js → chunk-LXE7JAMV.js} +37 -26
- package/node_modules/pi-lens/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YT2VR4SL.js → chunk-NLRKB32C.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-QHOTTC4A.js → chunk-NQFXN5U7.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QUPYLQA4.js → chunk-NR4KQOXZ.js} +14 -9
- package/node_modules/pi-lens/dist/{chunk-Y3EHLUPL.js → chunk-NWK7KKNO.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CTB5BAJI.js → chunk-OC4ZGVMH.js} +17 -14
- package/node_modules/pi-lens/dist/{chunk-VPFRU5IG.js → chunk-OP5BMZKK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GVWIU7M7.js → chunk-PSUXESQ5.js} +41 -4
- package/node_modules/pi-lens/dist/{chunk-J6BR5XN2.js → chunk-QAM2Q3VO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-6MDM5MQT.js → chunk-QBUSONNE.js} +367 -153
- package/node_modules/pi-lens/dist/{chunk-VGTBLTPN.js → chunk-QDZ3ZZMY.js} +18 -66
- package/node_modules/pi-lens/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DOUAWKLO.js → chunk-QUZYRDT6.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-UNBRHPHJ.js → chunk-R2UF54ON.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-I32RSMH6.js → chunk-R2VUZZPJ.js} +11 -10
- package/node_modules/pi-lens/dist/chunk-R5BNSOIV.js +29 -0
- package/node_modules/pi-lens/dist/chunk-RV5VX2XW.js +29 -0
- package/node_modules/pi-lens/dist/{chunk-QWTHFFU6.js → chunk-SQBDX6IO.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QMV2APEH.js → chunk-TBE4OLPA.js} +37 -35
- package/node_modules/pi-lens/dist/{chunk-B6HXETWY.js → chunk-TPMBNWHO.js} +28 -26
- package/node_modules/pi-lens/dist/{chunk-CYUJB552.js → chunk-TRYOYWWU.js} +18 -12
- package/node_modules/pi-lens/dist/{chunk-TJQSYX3J.js → chunk-TTGDTNSN.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-S3WFVG5P.js → chunk-UELHWF5I.js} +137 -126
- package/node_modules/pi-lens/dist/chunk-UG4YLCJ5.js +58 -0
- package/node_modules/pi-lens/dist/chunk-UQ6OZYTO.js +91 -0
- package/node_modules/pi-lens/dist/{chunk-QSCZAP24.js → chunk-UY3WWW5R.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-V7IPIAE5.js +74 -0
- package/node_modules/pi-lens/dist/{chunk-4NCDHTFI.js → chunk-VDMF7Q2P.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TYHOEX4V.js → chunk-VI3BJMZO.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-UOO4D2TK.js → chunk-VTXJAO5R.js} +34 -35
- package/node_modules/pi-lens/dist/chunk-W6VLB6LL.js +145 -0
- package/node_modules/pi-lens/dist/{chunk-NPNFGYLV.js → chunk-WBXCIRVI.js} +19 -2
- package/node_modules/pi-lens/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/node_modules/pi-lens/dist/{chunk-Q2VCKC3X.js → chunk-WMCAEP2K.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-OPFNQBS5.js → chunk-WXMUGUZV.js} +21 -25
- package/node_modules/pi-lens/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HILZE4BQ.js → chunk-YUF4DRYB.js} +396 -306
- package/node_modules/pi-lens/dist/{chunk-YF4G5NN5.js → chunk-YVPB5YGO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/node_modules/pi-lens/dist/index.js +5573 -4181
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +17 -11
- package/node_modules/pi-lens/dist/mcp/cli.js +43 -42
- package/node_modules/pi-lens/dist/mcp/server.js +1521 -610
- package/node_modules/pi-lens/dist/mcp/worker.js +62 -59
- package/node_modules/pi-lens/dist/probes/installer.js +19 -18
- package/node_modules/pi-lens/docs/agent-guide.md +3 -1
- package/node_modules/pi-lens/docs/agent-tools.md +4 -2
- package/node_modules/pi-lens/docs/alignment-families.md +5 -1
- package/node_modules/pi-lens/docs/ci.md +120 -0
- package/node_modules/pi-lens/docs/configuration.md +21 -3
- package/node_modules/pi-lens/docs/custom-rules.md +1 -0
- package/node_modules/pi-lens/docs/defect-shapes.md +107 -71
- package/node_modules/pi-lens/docs/durable-store-audit-1202.md +1 -1
- package/node_modules/pi-lens/docs/engineering-principles.md +46 -12
- package/node_modules/pi-lens/docs/environment-variables.md +25 -2
- package/node_modules/pi-lens/docs/features.md +1 -1
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -0
- package/node_modules/pi-lens/docs/language-coverage.md +1 -1
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +15 -16
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -0
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +4 -1
- package/node_modules/pi-lens/docs/pi-lens-release.md +19 -0
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +8 -2
- package/node_modules/pi-lens/docs/public-api-stability.md +41 -6
- package/node_modules/pi-lens/docs/rfcs/5138-query-surface.md +121 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +9 -0
- package/node_modules/pi-lens/docs/word-index.md +9 -10
- package/node_modules/pi-lens/package.json +3 -3
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-schema.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/node_modules/pi-lens/scripts/lib/latency-log-phases.mjs +125 -0
- package/package.json +7 -7
- package/node_modules/pi-lens/dist/chunk-3QWVOBZJ.js +0 -73
- package/node_modules/pi-lens/dist/chunk-BDR5MEZY.js +0 -25
- package/node_modules/pi-lens/dist/chunk-DBS736MA.js +0 -57
- package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +0 -88
- package/node_modules/pi-lens/dist/chunk-IK4YS3KC.js +0 -25
- package/node_modules/pi-lens/dist/chunk-JKOZ2Z4U.js +0 -20
- package/node_modules/pi-lens/dist/chunk-TQHOKMVZ.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VS2L7QDI.js +0 -25
- package/node_modules/pi-lens/dist/chunk-ZPFLHB3R.js +0 -28
|
@@ -33,13 +33,14 @@ rule:
|
|
|
33
33
|
field: name
|
|
34
34
|
kind: identifier
|
|
35
35
|
regex: "^(malloc|calloc|realloc|free)$"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
metadata:
|
|
37
|
+
tags:
|
|
38
|
+
- cpp
|
|
39
|
+
- idiom
|
|
40
|
+
- memory-safety
|
|
41
|
+
examples:
|
|
42
|
+
bad: |
|
|
43
|
+
int* buf = static_cast<int*>(malloc(sizeof(int) * count));
|
|
44
|
+
free(buf);
|
|
45
|
+
good: |
|
|
46
|
+
auto buf = std::make_unique<int[]>(count);
|
|
@@ -30,12 +30,13 @@ rule:
|
|
|
30
30
|
field: name
|
|
31
31
|
kind: identifier
|
|
32
32
|
regex: "^printf$"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
metadata:
|
|
34
|
+
tags:
|
|
35
|
+
- cpp
|
|
36
|
+
- idiom
|
|
37
|
+
- type-safety
|
|
38
|
+
examples:
|
|
39
|
+
bad: |
|
|
40
|
+
printf("count: %d\n", count);
|
|
41
|
+
good: |
|
|
42
|
+
std::cout << "count: " << count << "\n";
|
|
@@ -19,16 +19,17 @@ rule:
|
|
|
19
19
|
selector: defer_statement
|
|
20
20
|
context: 'defer $FN(t, failpoint.$METHOD($$$ARGS))'
|
|
21
21
|
fix: ""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
metadata:
|
|
23
|
+
tags:
|
|
24
|
+
- go
|
|
25
|
+
- testing
|
|
26
|
+
- defer
|
|
27
|
+
- antipattern
|
|
28
|
+
examples:
|
|
29
|
+
bad: |
|
|
30
|
+
defer require.NoError(t, failpoint.Enable("..."))
|
|
31
|
+
defer require.NoError(t, failpoint.Disable("..."))
|
|
32
|
+
good: |
|
|
33
|
+
// Move Enable/Disable out of defer args
|
|
34
|
+
failpoint.Enable("...")
|
|
35
|
+
defer require.NoError(t, failpoint.Disable("..."))
|
|
@@ -28,16 +28,17 @@ ignores:
|
|
|
28
28
|
- "**/examples/**"
|
|
29
29
|
- "**/tests/fixtures/**"
|
|
30
30
|
- "**/cases/**"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
metadata:
|
|
32
|
+
tags:
|
|
33
|
+
- go
|
|
34
|
+
- idiom
|
|
35
|
+
- logging
|
|
36
|
+
examples:
|
|
37
|
+
bad: |
|
|
38
|
+
func main() {
|
|
39
|
+
fmt.Println("hello")
|
|
40
|
+
}
|
|
41
|
+
good: |
|
|
42
|
+
func main() {
|
|
43
|
+
slog.Info("hello")
|
|
44
|
+
}
|
|
@@ -20,22 +20,23 @@ rule:
|
|
|
20
20
|
ignores:
|
|
21
21
|
- "**/*_test.go"
|
|
22
22
|
- "**/cmd/**"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
23
|
+
metadata:
|
|
24
|
+
tags:
|
|
25
|
+
- go
|
|
26
|
+
- idiom
|
|
27
|
+
- error-handling
|
|
28
|
+
examples:
|
|
29
|
+
bad: |
|
|
30
|
+
func mustDivide(a, b int) int {
|
|
31
|
+
if b == 0 {
|
|
32
|
+
panic("division by zero")
|
|
33
|
+
}
|
|
34
|
+
return a / b
|
|
35
|
+
}
|
|
36
|
+
good: |
|
|
37
|
+
func divide(a, b int) (int, error) {
|
|
38
|
+
if b == 0 {
|
|
39
|
+
return 0, errors.New("division by zero")
|
|
40
|
+
}
|
|
41
|
+
return a / b, nil
|
|
42
|
+
}
|
|
@@ -20,16 +20,17 @@ constraints:
|
|
|
20
20
|
regex: "^[a-z_]*_[a-z]"
|
|
21
21
|
ignores:
|
|
22
22
|
- "**/*_test.go"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
metadata:
|
|
24
|
+
tags:
|
|
25
|
+
- go
|
|
26
|
+
- idiom
|
|
27
|
+
- naming-convention
|
|
28
|
+
examples:
|
|
29
|
+
bad: |
|
|
30
|
+
func get_user_name(id int) string {
|
|
31
|
+
return ""
|
|
32
|
+
}
|
|
33
|
+
good: |
|
|
34
|
+
func getUserName(id int) string {
|
|
35
|
+
return ""
|
|
36
|
+
}
|
|
@@ -25,16 +25,17 @@ constraints:
|
|
|
25
25
|
regex: "^(Err|err|[A-Z].*[Ee]rror|os\\.Err)"
|
|
26
26
|
ignores:
|
|
27
27
|
- "**/*_test.go"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
metadata:
|
|
29
|
+
tags:
|
|
30
|
+
- go
|
|
31
|
+
- idiom
|
|
32
|
+
- error-handling
|
|
33
|
+
examples:
|
|
34
|
+
bad: |
|
|
35
|
+
if err == os.ErrNotExist {
|
|
36
|
+
return nil
|
|
37
|
+
}
|
|
38
|
+
good: |
|
|
39
|
+
if errors.Is(err, os.ErrNotExist) {
|
|
40
|
+
return nil
|
|
41
|
+
}
|
|
@@ -23,21 +23,22 @@ rule:
|
|
|
23
23
|
- pattern: $VAR += "$OTHER"
|
|
24
24
|
ignores:
|
|
25
25
|
- "**/*_test.go"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
26
|
+
metadata:
|
|
27
|
+
tags:
|
|
28
|
+
- go
|
|
29
|
+
- idiom
|
|
30
|
+
- performance
|
|
31
|
+
examples:
|
|
32
|
+
bad: |
|
|
33
|
+
func concat(a string, b string) string {
|
|
34
|
+
a = a + b
|
|
35
|
+
return a
|
|
36
|
+
}
|
|
37
|
+
good: |
|
|
38
|
+
func build(parts []string) string {
|
|
39
|
+
var b strings.Builder
|
|
40
|
+
for _, p := range parts {
|
|
41
|
+
b.WriteString(p)
|
|
42
|
+
}
|
|
43
|
+
return b.String()
|
|
44
|
+
}
|
|
@@ -17,16 +17,17 @@ rule:
|
|
|
17
17
|
field: name
|
|
18
18
|
regex: "^Test.*"
|
|
19
19
|
fix: ""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
metadata:
|
|
21
|
+
tags:
|
|
22
|
+
- go
|
|
23
|
+
- testing
|
|
24
|
+
- naming-convention
|
|
25
|
+
examples:
|
|
26
|
+
bad: |
|
|
27
|
+
func testAbs(t *testing.T) { // lowercase - go test won't pick up
|
|
28
|
+
...
|
|
29
|
+
}
|
|
30
|
+
good: |
|
|
31
|
+
func TestAbs(t *testing.T) {
|
|
32
|
+
...
|
|
33
|
+
}
|
|
@@ -21,12 +21,13 @@ rule:
|
|
|
21
21
|
has:
|
|
22
22
|
field: name
|
|
23
23
|
regex: '^(svg|path|circle|rect|line|polyline|polygon|ellipse|g|defs|use|symbol|clipPath|mask|pattern|marker|linearGradient|radialGradient|stop|text|tspan|foreignObject)$'
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
metadata:
|
|
25
|
+
has_fix: false
|
|
26
|
+
tags:
|
|
27
|
+
- tsx
|
|
28
|
+
- jsx
|
|
29
|
+
- svg
|
|
30
|
+
- modernization
|
|
31
|
+
examples:
|
|
32
|
+
bad: "const icon = <svg stroke-width=\"2\" />;"
|
|
33
|
+
good: "const icon = <svg strokeWidth=\"2\" />;"
|
|
@@ -24,14 +24,15 @@ rule:
|
|
|
24
24
|
regex: "^lateinit$"
|
|
25
25
|
files:
|
|
26
26
|
- "**/*.kt"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
metadata:
|
|
28
|
+
tags:
|
|
29
|
+
- kotlin
|
|
30
|
+
- idiom
|
|
31
|
+
- null-safety
|
|
32
|
+
examples:
|
|
33
|
+
bad: |
|
|
34
|
+
class UserRepository {
|
|
35
|
+
lateinit var apiClient: ApiClient
|
|
36
|
+
}
|
|
37
|
+
good: |
|
|
38
|
+
class UserRepository(private val apiClient: ApiClient)
|
|
@@ -21,13 +21,14 @@ rule:
|
|
|
21
21
|
regex: "^Boolean$"
|
|
22
22
|
files:
|
|
23
23
|
- "**/*.kt"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
metadata:
|
|
25
|
+
tags:
|
|
26
|
+
- kotlin
|
|
27
|
+
- idiom
|
|
28
|
+
- null-safety
|
|
29
|
+
examples:
|
|
30
|
+
bad: |
|
|
31
|
+
fun isEligible(): Boolean? = null
|
|
32
|
+
good: |
|
|
33
|
+
enum class Eligibility { ELIGIBLE, INELIGIBLE, UNKNOWN }
|
|
34
|
+
fun eligibility(): Eligibility = Eligibility.UNKNOWN
|
|
@@ -26,17 +26,18 @@ files:
|
|
|
26
26
|
ignores:
|
|
27
27
|
- "**/*Test.kt"
|
|
28
28
|
- "**/test/**"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
metadata:
|
|
30
|
+
tags:
|
|
31
|
+
- kotlin
|
|
32
|
+
- idiom
|
|
33
|
+
- logging
|
|
34
|
+
examples:
|
|
35
|
+
bad: |
|
|
36
|
+
fun main() {
|
|
37
|
+
println("starting up")
|
|
38
|
+
}
|
|
39
|
+
good: |
|
|
40
|
+
private val logger = KotlinLogging.logger {}
|
|
41
|
+
fun main() {
|
|
42
|
+
logger.info { "starting up" }
|
|
43
|
+
}
|
|
@@ -17,12 +17,13 @@ rule:
|
|
|
17
17
|
pattern: $RECEIVER.let { $$$BODY }
|
|
18
18
|
files:
|
|
19
19
|
- "**/*.kt"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
metadata:
|
|
21
|
+
tags:
|
|
22
|
+
- kotlin
|
|
23
|
+
- idiom
|
|
24
|
+
- readability
|
|
25
|
+
examples:
|
|
26
|
+
bad: |
|
|
27
|
+
val length = name.let { it.length }
|
|
28
|
+
good: |
|
|
29
|
+
val length = name.length
|
|
@@ -17,12 +17,13 @@ rule:
|
|
|
17
17
|
pattern: $VALUE as $TYPE
|
|
18
18
|
files:
|
|
19
19
|
- "**/*.kt"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
metadata:
|
|
21
|
+
tags:
|
|
22
|
+
- kotlin
|
|
23
|
+
- idiom
|
|
24
|
+
- null-safety
|
|
25
|
+
examples:
|
|
26
|
+
bad: |
|
|
27
|
+
val name = value as String
|
|
28
|
+
good: |
|
|
29
|
+
val name = value as? String ?: return
|
|
@@ -23,13 +23,14 @@ rule:
|
|
|
23
23
|
regex: "^var$"
|
|
24
24
|
files:
|
|
25
25
|
- "**/*.kt"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
metadata:
|
|
27
|
+
tags:
|
|
28
|
+
- kotlin
|
|
29
|
+
- idiom
|
|
30
|
+
- immutability
|
|
31
|
+
examples:
|
|
32
|
+
bad: |
|
|
33
|
+
var total = 0
|
|
34
|
+
total = total + price
|
|
35
|
+
good: |
|
|
36
|
+
val total = prices.sum()
|
|
@@ -55,12 +55,13 @@ rule:
|
|
|
55
55
|
kind: setter
|
|
56
56
|
files:
|
|
57
57
|
- "**/*.kt"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
metadata:
|
|
59
|
+
tags:
|
|
60
|
+
- kotlin
|
|
61
|
+
- idiom
|
|
62
|
+
- readability
|
|
63
|
+
examples:
|
|
64
|
+
bad: |
|
|
65
|
+
class Point(val x: Int, val y: Int)
|
|
66
|
+
good: |
|
|
67
|
+
data class Point(val x: Int, val y: Int)
|
|
@@ -24,12 +24,13 @@ rule:
|
|
|
24
24
|
- pattern: $RECEIVER.length == 0
|
|
25
25
|
files:
|
|
26
26
|
- "**/*.kt"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
metadata:
|
|
28
|
+
tags:
|
|
29
|
+
- kotlin
|
|
30
|
+
- idiom
|
|
31
|
+
- readability
|
|
32
|
+
examples:
|
|
33
|
+
bad: |
|
|
34
|
+
if (items.size == 0) return
|
|
35
|
+
good: |
|
|
36
|
+
if (items.isEmpty()) return
|
|
@@ -73,15 +73,16 @@ constraints:
|
|
|
73
73
|
has:
|
|
74
74
|
stopBy: end
|
|
75
75
|
pattern: $SRC = ast.$METHOD($$$A)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
metadata:
|
|
77
|
+
has_fix: false
|
|
78
|
+
tags:
|
|
79
|
+
- python
|
|
80
|
+
- security
|
|
81
|
+
- code-injection
|
|
82
|
+
- cwe-78
|
|
83
|
+
examples:
|
|
84
|
+
bad: |
|
|
85
|
+
code = compile(user_input, "<user>", "exec")
|
|
86
|
+
exec(code)
|
|
87
|
+
good: |
|
|
88
|
+
tree = ast.parse(static_source)
|
|
@@ -25,8 +25,8 @@ note: |-
|
|
|
25
25
|
- Two variants cover both single- and double-quoted string
|
|
26
26
|
literals. Pattern matching on quoted strings works directly
|
|
27
27
|
in ast-grep's matcher.
|
|
28
|
-
ast-grep-essentials: true
|
|
29
28
|
metadata:
|
|
29
|
+
ast-grep-essentials: true
|
|
30
30
|
sonar: S6779
|
|
31
31
|
rule:
|
|
32
32
|
any:
|
|
@@ -25,8 +25,8 @@ note: |-
|
|
|
25
25
|
string LITERAL, not an identifier).
|
|
26
26
|
- The identifier check is on the `kind: identifier` AST node, not
|
|
27
27
|
the kwarg text — more idiomatic than text regex.
|
|
28
|
-
ast-grep-essentials: true
|
|
29
28
|
metadata:
|
|
29
|
+
ast-grep-essentials: true
|
|
30
30
|
sonar: S6437
|
|
31
31
|
rule:
|
|
32
32
|
kind: call
|
|
@@ -11,14 +11,15 @@ note: |
|
|
|
11
11
|
most dangerous deserializer in the standard library.
|
|
12
12
|
rule:
|
|
13
13
|
pattern: marshal.$FN($$$ARGS)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
metadata:
|
|
15
|
+
has_fix: false
|
|
16
|
+
tags:
|
|
17
|
+
- python
|
|
18
|
+
- security
|
|
19
|
+
- deserialization
|
|
20
|
+
- cwe-502
|
|
21
|
+
examples:
|
|
22
|
+
bad: |
|
|
23
|
+
obj = marshal.loads(request.body)
|
|
24
|
+
good: |
|
|
25
|
+
obj = json.loads(request.body)
|
|
@@ -24,14 +24,15 @@ rule:
|
|
|
24
24
|
- pattern: conn.execute($QUERY + $REST)
|
|
25
25
|
- pattern: connection.execute($QUERY + $REST)
|
|
26
26
|
- pattern: self.cursor.execute($QUERY + $REST)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
metadata:
|
|
28
|
+
has_fix: false
|
|
29
|
+
tags:
|
|
30
|
+
- python
|
|
31
|
+
- security
|
|
32
|
+
- sql-injection
|
|
33
|
+
- cwe-89
|
|
34
|
+
examples:
|
|
35
|
+
bad: |
|
|
36
|
+
cursor.execute("SELECT * FROM users WHERE id = " + user_id)
|
|
37
|
+
good: |
|
|
38
|
+
cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,))
|