Automic VaultAutomic Vault

brew

go-critic mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für go-critic in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install go-critic

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install go-critic

MacPorts ports tree · devel/go-critic/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#go-critic

nixpkgs package indexes · pkgs/by-name/go/go-critic/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Opinionated Go source code linter

Verlauf

Projektgeschichte und Nutzung

go-critic is an opinionated static-analysis linter for Go source code. It collects diagnostics, style checks, performance checks, and experimental rules that are often missing from smaller, single-purpose Go linters.

Projektgeschichte

The go-critic repository was created in 2018 and the project was announced that year as both a linter and a sandbox for prototyping static-analysis ideas. Its documentation describes project goals around providing useful checks, proving check implementations before proposing them elsewhere, and keeping useful checks that lack a better home.

Adoptionsgeschichte

go-critic became part of the broader Go linting ecosystem through direct CLI use and through golangci-lint, whose go-critic entry exposes it as `gocritic`. The repository README tells most users that using go-critic under golangci-lint is enough, reflecting its role as a specialized checker set inside larger lint pipelines.

Wie es verwendet wird

Practitioners run `go-critic check` against packages, directories, or files, enabling and disabling individual checks or tag groups such as diagnostic, style, performance, experimental, opinionated, and security. The CLI also includes `doc` for checker documentation and checker-specific parameters, which makes it useful both as a standalone audit tool and as a source of extra rules in CI.

Warum Paket-Nerds sich dafür interessieren

For package catalogs, go-critic represents the Go ecosystem's preference for composable command-line analyzers. It can be installed as a small binary, run directly, or consumed by a linter runner, which lets distributions package it without owning editor or CI integration logic.

Zeitleiste

  • 2018: The GitHub repository was created and the linter was announced.
  • 2019: v0.3.4 and v0.4.0 releases appeared on GitHub.
  • 2020: v0.4.x releases continued the checker-set expansion.
  • 2026: v0.14.x releases documented continued maintenance.

Related projects

  • golangci-lint
  • ruleguard
  • go vet
  • staticcheck

Sicherheitslage

Risikostufe: grün

library-like package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • library-like package without higher-risk signals

Signale

  • metadata:library-like

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gocriticcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version0.14.4
Manager aktualisiert2026-06-25
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.14.4

https://github.com/go-critic/go-critic

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:go-critic
Version0.14.4
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/go-critic
Homepagehttps://go-critic.com
Repositoryhttps://github.com/go-critic/go-critic
Upstream-Dokumentationhttps://go-critic.com/
LizenzMIT
Quellarchivhttps://github.com/go-critic/go-critic/archive/refs/tags/v0.14.4.tar.gz
Zuletzt aktualisiert2026-06-25T00:11:38Z
Pulseupdated
Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namego-critic
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

go-critic

nix profile install nixpkgs#go-critic
  • normalized package name match
  • Abgeglichen nach: Go Critic
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/go-critic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

go-critic

sudo port install go-critic
  • normalized package name match
  • Abgeglichen nach: Go Critic
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/go-critic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment