OO

opengrep/opengrep

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3375 stars 质量 72 趋势 80LGPL-2.1

QQ静态代码分析引擎在代码中找到安全问题.

概览

欢迎来到Opengrep! Opengrep是最先进的开源静态应用安全测试(SAST)引擎. - 支持30+语言 - 语义和类型感知匹配 - 交叉功能和跨文件纹章跟踪 - 高级数据流分析:更高级的函数,字段灵敏度,以及更多 - 高级性能:与OCaml 5的多核心并行性 - 自成一体,为Linux,macOS和Windows - 输出格式:SARIF,JSON,以及更多 - 精细的内存和时间限制 - 与Semgrep规则兼容 Apex-Bash-C-C++-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛珠-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克洛克-克-克洛克洛克-克洛克-克洛克-克洛克-克洛克洛克-克洛克-克洛克-克-克洛克-克洛克-克洛克-克洛克-克-克洛克-克洛克-克洛克-克-克洛克洛克-克洛克洛克-克-克洛克-克-克洛克-克-克-克-克-克洛克洛克洛克-克洛克 二进制可在新闻稿页上查阅。 在Windows上,软件包持有opengrep.

概述(AI 翻译)

欢迎来到Opengrep! Opengrep是最先进的开源静态应用安全测试(SAST)引擎.

Opengrep由AppSec组织组成的财团支持,包括:Aikido,Amplify,Endor Labs,Kodem,和Orca Security.

更多信息:opengrep.dev

□关于

  • 对30+语言的支持
  • 语义和类型意识匹配
  • 交叉功能和交叉文件标签跟踪
  • 高级数据流分析:更高级的函数、外地敏感性以及更多
  • 高级业绩:与OCaml 5的多核心平行
  • 自成一体、为Linux、macOS和Windows签名的二进制
  • 产出格式:SARIF、JSON等
  • 记忆和时间限制
  • 符合Semgrep规则

** 辅助语言:** Apex-Bash-C+±C-克洛珠尔-Crystal-Dart-Dockerfile-Elixir-Go-HTML-Java-Java-JSON-Jsonnet-JUSX-Julia-Kotlin-Lisp-Lua-OCAML-PHP-Python-R-Ruby-Rust-Scala-计划 固态-Teraft-TSX-TypeScript-视觉基础-XML-YAML-通用(ERB,Jinja等)

□ 安装

QQ 快速安装( 建议)

QQ Linux / macOS 软件

或者,如果你已经克隆了Repo:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Welcome to Opengrep! Opengrep is the most advanced open-source Static Application Security Testing (SAST) engine.

Opengrep is backed by a consortium of AppSec organisations, including: Aikido, Amplify, Endor Labs, Kodem, and Orca Security.

More information: opengrep.dev

About

  • Support for 30+ languages
  • Semantic and type-aware matching
  • Cross-function and cross-file taint tracking
  • Advanced dataflow analysis: higher-order functions, field sensitivity, and more
  • Superior performance: multicore parallelism with OCaml 5
  • Self-contained, Cosign-signed binaries for Linux, macOS, and Windows
  • Output formats: SARIF, JSON, and more
  • Fine-grained memory and time limits
  • Compatible with Semgrep rules

Supported Languages: Apex · Bash · C · C++ · C# · Clojure · Crystal · Dart · Dockerfile · Elixir · Go · HTML · Java · JavaScript · JSON · Jsonnet · JSX · Julia · Kotlin · Lisp · Lua · OCaml · PHP · Python · R · Ruby · Rust · Scala · Scheme · Solidity · Swift · Terraform · TSX · TypeScript · Visual Basic · XML · YAML · Generic (ERB, Jinja, etc.)

Installation

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/opengrep/opengrep/main/install.sh | bash

Or if you’ve cloned the repo:

./install.sh

Windows (PowerShell)

irm https://raw.githubusercontent.com/opengrep/opengrep/main/install.ps1 | iex

Or with a specific version:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/opengrep/opengrep/main/install.ps1))) -Version v1.16.0

Manual install

Binaries are available on the releases page.

On Windows, the package holds opengrep.exe and the DLLs it needs; keep them together in the directory you install them to.

For Agents

  • Skill - install, write rules, run scans (npx skills add opengrep/skills)

Documentation

  • Wiki - tutorials and language guides
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add opengrep/opengrep
新手?先看 mcpskill.org 教程 →