pkg.soopen package index

brew / rang 11975

Installer weggli avec Homebrew, apk, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de weggli pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install weggli

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add weggli

Alpine Linux edge package indexes · weggli · Source: dl-cdn.alpinelinux.org

Nixvérifié · 92%
nix profile install nixpkgs#weggli

nixpkgs package indexes · pkgs/by-name/we/weggli/package.nix · Source: api.github.com

openSUSE zyppervérifié · 92%
sudo zypper install weggli

openSUSE Tumbleweed package metadata · weggli · Source: download.opensuse.org

aperçu

Résumé du paquet

Fast and robust semantic search tool for C and C++ codebases

Commandes et alias

  • weggli

historique

Historique du projet et usages

weggli is a Rust semantic-search tool for C and C++ codebases, designed for security researchers who want fast, code-shaped queries over large or incomplete source trees. Its README says it matches user-provided patterns on abstract syntax trees and uses a query language that resembles C and C++.

Historique du projet

The current GitHub repository was created in September 2021, and crates.io metadata shows package publication beginning in October 2021. The README states that weggli is inspired by Semgrep, Coccinelle, joern, and CodeQL, but intentionally makes different tradeoffs for C/C++ review.

Those tradeoffs define the project: first-class support for modern C++ constructs, minimal setup without requiring a successful build, interactive performance, and greedy matching that finds useful variants even at the cost of false positives. The implementation is built on tree-sitter C and C++ grammars, with queries translated into tree-sitter query machinery plus weggli-specific behavior.

Historique d'adoption

weggli's adoption is strongest in vulnerability research and manual code-review circles rather than general developer search. A 2024 HN Security article described converting C/C++ vulnerability patterns from Semgrep into weggli queries and using the tool to identify hotspots such as buffer overflows, integer issues, format strings, memory-management mistakes, and command-injection patterns.

By July 2026, the repository had about 2.5 thousand GitHub stars, which is sizable for a specialized security CLI. Its package-manager niche is clear: it gives reviewers a fast semantic grep for C and C++ without requiring a full CodeQL database, compiler build, or heavyweight SAST workflow.

Modes d'utilisation

A typical invocation is `weggli <PATTERN> <PATH>`, where the pattern is written in a C/C++-like language with metavariables and wildcards. For example, patterns can look for a stack buffer followed by a `memcpy` call, suspicious arithmetic before allocation, or API-specific call sequences.

In practice, users run weggli interactively while reading source: write a pattern, inspect matches, refine the query, and then manually audit nearby code. It is especially useful for variant analysis after one bug is found and for quickly mapping attack-surface idioms in unfamiliar C/C++ projects.

Pourquoi les passionnés de paquets s'y intéressent

weggli is package-nerd significant because it is the small, installable middle ground between `grep` and heavyweight static-analysis platforms. It makes AST-aware C/C++ searching feel like a fast CLI habit rather than an infrastructure project.

Chronologie

  • 2021-09: GitHub repository created.
  • 2021-10: crates.io package created and early 0.2.x releases began.
  • 2022-05: v0.2.4 release published.
  • 2024-01: HN Security published a practitioner pattern collection and workflow article for C/C++ vulnerability research.

Related projects

  • The README names Semgrep, Coccinelle, joern, and CodeQL as inspirations. In use, weggli is closest to a semantic grep for C/C++ reviewers, while those related tools cover broader rule management, program analysis, source transformation, or database-backed code queries.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
weggliexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire0.2.4
gestionnaire mis à jour
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:weggli
Version0.2.4
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://github.com/weggli-rs/weggli
Dépôthttps://github.com/weggli-rs/weggli
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

weggli

nix profile install nixpkgs#weggli
  • normalized package name match
  • Correspondance par : Weggli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/we/weggli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

weggli 0.2.4-r1

Semantic search tool for C and C++ codebases

https://github.com/googleprojectzero/weggli

sudo apk add weggli
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: weggli
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Weggli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: weggli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
zypper95%

weggli 0.2.4-2.13

A semantic search tool for C and C++ codebases

https://github.com/googleprojectzero/weggli

sudo zypper install weggli
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: weggli
  • 4 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Weggli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: weggli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation