pkg.sopackage field notes

brew / approval gates / rank 45

Install coreutils with Homebrew

GNU File, Shell, and Text utilities. Version 9.11 via Homebrew; verified from local package data.

agent safety

Agent safety answer

coreutils supplies file utilities that can read, delete, and transform local data at scale.

Credential access

Can read files and environment exposed to the agent session.

Remote mutation

Primarily local, but can prepare data for other remote tools.

Publish/artifact risk

Can delete or rewrite build outputs and generated artifacts.

Recommended control

Gate destructive file operations over broad or sensitive paths.

Agent-use guidance

Allow narrow reads; require approval for recursive deletes, overwrites, and secret-path reads.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install coreutils

provider-native install command

overview

Package summary

GNU File, Shell, and Text utilities

Commands and aliases

  • b2sum
  • base32
  • basenc
  • dir
  • dircolors
  • factor
  • g[
  • gb2sum
  • gbase32
  • gbase64
  • gbasename
  • gbasenc
  • gcat
  • gchgrp
  • gchmod
  • gchown
  • gchroot
  • gcksum
  • gcomm
  • gcp
  • gcsplit
  • gcut
  • gdate
  • gdd
  • gdf
  • gdir
  • gdircolors
  • gdirname
  • gdu
  • gecho
  • genv
  • gexpand

history

Project history and usage

GNU Coreutils is the GNU Project's distribution of the standard command-line file, shell, and text utilities used throughout Unix-like systems. In package-manager practice it is treated less as a single application than as a portable baseline for commands such as cat, chmod, cp, date, ls, sort, tail, tr, and many checksum and text-processing tools.

Project history

The package sits in the GNU system layer: its official description presents it as the GNU file, shell, and text utilities, and the GNU FTP archive shows coreutils release tarballs from the 5.x series onward, including coreutils 5.0 in April 2003. That release trail made the name 'coreutils' the umbrella package users and distributors expect when they want GNU behavior for the traditional small utilities.

Adoption history

Coreutils became a normal dependency surface for GNU/Linux distributions and a compatibility package on non-GNU systems. The Homebrew formula exposes many commands with a g-prefix on macOS so users can opt into GNU semantics without replacing the platform-provided BSD userland.

How it is used

Users normally install coreutils for scripts and interactive shell workflows that rely on GNU options or GNU extensions. On macOS the package is especially common in development environments where cross-platform shell scripts assume commands such as gdate, gsort, greadlink, or gtimeout.

Why package nerds care

Coreutils is one of the canonical examples of packaging a userland as a coherent compatibility layer. Its release cadence, prefixing strategy on macOS, GPL licensing, and overlap with POSIX and BSD utilities make it a frequent packaging-policy test case.

Timeline

  • 2003: GNU FTP archive lists coreutils 5.0 release tarballs.
  • 2009: GNU FTP archive lists coreutils 8.x release tarballs, reflecting continued maintenance under the coreutils package name.
  • Present: Homebrew packages GNU Coreutils as a system utility collection with GNU-prefixed commands on macOS.

Related projects

  • Related userland packages include BusyBox, Toybox, uutils coreutils, BSD userland utilities, and GNU findutils, grep, sed, and tar.

approval gates

Human review metadata for risky commands

The local approval-gate seed includes 8 rules for coreutils. Covered entrypoints: gchmod, gchown, gcp, gdd, gmv, grm, gshred, gtruncate. Severity labels: critical, high, medium. Coverage: partial, reviewed 2026-05-21.

Example gated actions

  • Delete files or directories.
  • Recursively delete files or directories.
  • Copy or move files, possibly overwriting destinations.
  • Move or rename files, possibly overwriting destinations.
  • Change permissions or ownership.
  • Change file ownership.
  • Copy raw bytes to files or devices.

executables

Installed executables

CommandKindExposureNote
b2sumexecutableindexed executableDiscovered from the local executable index.
base32executableindexed executableDiscovered from the local executable index.
basencexecutableindexed executableDiscovered from the local executable index.
direxecutableindexed executableDiscovered from the local executable index.
dircolorsexecutableindexed executableDiscovered from the local executable index.
factorexecutableindexed executableDiscovered from the local executable index.
g[executableindexed executableDiscovered from the local executable index.
gb2sumexecutableindexed executableDiscovered from the local executable index.
gbase32executableindexed executableDiscovered from the local executable index.
gbase64executableindexed executableDiscovered from the local executable index.
gbasenameexecutableindexed executableDiscovered from the local executable index.
gbasencexecutableindexed executableDiscovered from the local executable index.
gcatexecutableindexed executableDiscovered from the local executable index.
gchgrpexecutableindexed executableDiscovered from the local executable index.
gchmodexecutableindexed executableDiscovered from the local executable index.
gchownexecutableindexed executableDiscovered from the local executable index.
gchrootexecutableindexed executableDiscovered from the local executable index.
gcksumexecutableindexed executableDiscovered from the local executable index.
gcommexecutableindexed executableDiscovered from the local executable index.
gcpexecutableindexed executableDiscovered from the local executable index.
gcsplitexecutableindexed executableDiscovered from the local executable index.
gcutexecutableindexed executableDiscovered from the local executable index.
gdateexecutableindexed executableDiscovered from the local executable index.
gddexecutableindexed executableDiscovered from the local executable index.
gdfexecutableindexed executableDiscovered from the local executable index.
gdirexecutableindexed executableDiscovered from the local executable index.
gdircolorsexecutableindexed executableDiscovered from the local executable index.
gdirnameexecutableindexed executableDiscovered from the local executable index.
gduexecutableindexed executableDiscovered from the local executable index.
gechoexecutableindexed executableDiscovered from the local executable index.
genvexecutableindexed executableDiscovered from the local executable index.
gexpandexecutableindexed executableDiscovered from the local executable index.
gexprexecutableindexed executableDiscovered from the local executable index.
gfactorexecutableindexed executableDiscovered from the local executable index.
gfalseexecutableindexed executableDiscovered from the local executable index.
gfmtexecutableindexed executableDiscovered from the local executable index.
gfoldexecutableindexed executableDiscovered from the local executable index.
ggroupsexecutableindexed executableDiscovered from the local executable index.
gheadexecutableindexed executableDiscovered from the local executable index.
ghostidexecutableindexed executableDiscovered from the local executable index.
gidexecutableindexed executableDiscovered from the local executable index.
ginstallexecutableindexed executableDiscovered from the local executable index.
gjoinexecutableindexed executableDiscovered from the local executable index.
glinkexecutableindexed executableDiscovered from the local executable index.
glnexecutableindexed executableDiscovered from the local executable index.
glognameexecutableindexed executableDiscovered from the local executable index.
glsexecutableindexed executableDiscovered from the local executable index.
gmd5sumexecutableindexed executableDiscovered from the local executable index.
gmkdirexecutableindexed executableDiscovered from the local executable index.
gmkfifoexecutableindexed executableDiscovered from the local executable index.
gmknodexecutableindexed executableDiscovered from the local executable index.
gmktempexecutableindexed executableDiscovered from the local executable index.
gmvexecutableindexed executableDiscovered from the local executable index.
gniceexecutableindexed executableDiscovered from the local executable index.
gnlexecutableindexed executableDiscovered from the local executable index.
gnohupexecutableindexed executableDiscovered from the local executable index.
gnprocexecutableindexed executableDiscovered from the local executable index.
gnumfmtexecutableindexed executableDiscovered from the local executable index.
godexecutableindexed executableDiscovered from the local executable index.
gpasteexecutableindexed executableDiscovered from the local executable index.
gpathchkexecutableindexed executableDiscovered from the local executable index.
gpinkyexecutableindexed executableDiscovered from the local executable index.
gprexecutableindexed executableDiscovered from the local executable index.
gprintenvexecutableindexed executableDiscovered from the local executable index.
gprintfexecutableindexed executableDiscovered from the local executable index.
gptxexecutableindexed executableDiscovered from the local executable index.
gpwdexecutableindexed executableDiscovered from the local executable index.
greadlinkexecutableindexed executableDiscovered from the local executable index.
grealpathexecutableindexed executableDiscovered from the local executable index.
grmexecutableindexed executableDiscovered from the local executable index.
grmdirexecutableindexed executableDiscovered from the local executable index.
gseqexecutableindexed executableDiscovered from the local executable index.
gsha1sumexecutableindexed executableDiscovered from the local executable index.
gsha224sumexecutableindexed executableDiscovered from the local executable index.
gsha256sumexecutableindexed executableDiscovered from the local executable index.
gsha384sumexecutableindexed executableDiscovered from the local executable index.
gsha512sumexecutableindexed executableDiscovered from the local executable index.
gshredexecutableindexed executableDiscovered from the local executable index.
gshufexecutableindexed executableDiscovered from the local executable index.
gsleepexecutableindexed executableDiscovered from the local executable index.
gsortexecutableindexed executableDiscovered from the local executable index.
gsplitexecutableindexed executableDiscovered from the local executable index.
gstatexecutableindexed executableDiscovered from the local executable index.
gstdbufexecutableindexed executableDiscovered from the local executable index.
gsttyexecutableindexed executableDiscovered from the local executable index.
gsumexecutableindexed executableDiscovered from the local executable index.
gsyncexecutableindexed executableDiscovered from the local executable index.
gtacexecutableindexed executableDiscovered from the local executable index.
gtailexecutableindexed executableDiscovered from the local executable index.
gteeexecutableindexed executableDiscovered from the local executable index.
gtestexecutableindexed executableDiscovered from the local executable index.
gtimeoutexecutableindexed executableDiscovered from the local executable index.
gtouchexecutableindexed executableDiscovered from the local executable index.
gtrexecutableindexed executableDiscovered from the local executable index.
gtrueexecutableindexed executableDiscovered from the local executable index.
gtruncateexecutableindexed executableDiscovered from the local executable index.
gtsortexecutableindexed executableDiscovered from the local executable index.
gttyexecutableindexed executableDiscovered from the local executable index.
gunameexecutableindexed executableDiscovered from the local executable index.
gunexpandexecutableindexed executableDiscovered from the local executable index.
guniqexecutableindexed executableDiscovered from the local executable index.
gunlinkexecutableindexed executableDiscovered from the local executable index.
gusersexecutableindexed executableDiscovered from the local executable index.
gvdirexecutableindexed executableDiscovered from the local executable index.
gwcexecutableindexed executableDiscovered from the local executable index.
gwhoexecutableindexed executableDiscovered from the local executable index.
gwhoamiexecutableindexed executableDiscovered from the local executable index.
gyesexecutableindexed executableDiscovered from the local executable index.
hostidexecutableindexed executableDiscovered from the local executable index.
md5sumexecutableindexed executableDiscovered from the local executable index.
nprocexecutableindexed executableDiscovered from the local executable index.
numfmtexecutableindexed executableDiscovered from the local executable index.
pinkyexecutableindexed executableDiscovered from the local executable index.
ptxexecutableindexed executableDiscovered from the local executable index.
realpathexecutableindexed executableDiscovered from the local executable index.
sha1sumexecutableindexed executableDiscovered from the local executable index.
sha224sumexecutableindexed executableDiscovered from the local executable index.
sha256sumexecutableindexed executableDiscovered from the local executable index.
sha384sumexecutableindexed executableDiscovered from the local executable index.
sha512sumexecutableindexed executableDiscovered from the local executable index.
shredexecutableindexed executableDiscovered from the local executable index.
shufexecutableindexed executableDiscovered from the local executable index.
stdbufexecutableindexed executableDiscovered from the local executable index.
tacexecutableindexed executableDiscovered from the local executable index.
timeoutexecutableindexed executableDiscovered from the local executable index.
truncateexecutableindexed executableDiscovered from the local executable index.
vdirexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version9.11
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:coreutils
Version9.11
Package managerHomebrew
Homepagehttps://www.gnu.org/software/coreutils/
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • curated agent safety answer
  • curated package history
  • pkgdb category and tag curation