Repository navigation
Releases
Sentinel v1.0.1
π‘οΈ Sentinel v1.0.1
Major security, accuracy, performance, and binary-size release resolving 34 audit issues (#5β#32, #38, #39, #41β#44), adding self-update (-u / --update), and expanding Google OSV vulnerability coverage to GitHub Actions, Swift (SwiftURL), and Docker Hub images (via OCI SBOM attestations).
π¦ Installation & Upgrading
1. Self-Update (from v1.0.1+)
sentinel -u
# or
sentinel --updateAutomatically resolves the latest GitHub Release, prompts for confirmation, verifies the SHA-256 digest against
checksums.txt, and atomically replaces the installed binary.
2. From crates.io (sentinel-scan)
cargo install sentinel-scan --force3. From Source
git clone https://github.com/sebastianjnuwu/sentinel.git
cd sentinel
cargo install --path . --force4. Docker / GitHub Container Registry (FROM scratch)
# Linux / macOS
docker run --rm -v "$PWD:/workspace" ghcr.io/sebastianjnuwu/sentinel:v1.0.1 /workspace
# Windows (PowerShell)
docker run --rm -v "${PWD}:/workspace" ghcr.io/sebastianjnuwu/sentinel:v1.0.1 /workspace5. Pre-built Static Binaries
Download the archive for your OS/architecture below and verify against checksums.txt:
- Linux (
muslstatic):sentinel-linux-{amd64,arm64,386,armv7}.tar.gz - Windows (
msvc):sentinel-windows-{amd64,arm64,386}.zip - macOS:
sentinel-macos-{arm64,amd64}.tar.gz
π Migration Guide (v1.0.0 β v1.0.1)
- Strict CLI Flag & Path Validation (#18, #24):
- Unknown CLI flags (e.g. typos like
--fail-on-cves), invalid--depthvalues, and non-existent or non-directory paths now fail immediately with exit code2instead of silently succeeding.
- Unknown CLI flags (e.g. typos like
- Up-to-Date Dependencies &
deny_licensesGate (#26, #42):- Dependencies already at their latest version are now checked against Google OSV and
deny_licenses. Previously missed vulnerabilities or denied licenses on up-to-date packages will now trigger--fail-on-cve/deny_licenses. - Token-based SPDX matching (#11) ensures
deny_licenses = ["GPL"]matchesGPL-*without false positives onLGPLorAGPL.
- Dependencies already at their latest version are now checked against Google OSV and
- OSV Network Reliability (#8, #43):
- OSV lookup failures or truncated batch responses now emit an error to
stderrand exit with code1(never caching a false clean result).
- OSV lookup failures or truncated batch responses now emit an error to
sentinel.tomlUpdate Check Option:- Non-blocking background update notifications are enabled by default in interactive terminal runs (
--jsonand--sarifare unaffected). To disable:check_updates = false
- Non-blocking background update notifications are enabled by default in interactive terminal runs (
β‘ Performance & Binary Size Improvements
- 71% Smaller Binary: Added
[profile.release](opt-level = "z",lto = "fat",codegen-units = 1,panic = "abort",strip = true), shrinking the release binary from5.78 MBto1.66 MB(~920 KBzipped) andGZIP=-9release tarballs. - ~6.6Γ Faster Warm Scans: Replaced uncached
go list -m -usubprocess calls with a nativego.modparser + cachedproxy.golang.orglookups, and unified workspace-wide OSV queries into a single deduplicated batch.
β¨ What's Changed
Added
- Self-Updater (
-u,--update) with interactive[y/N]confirmation,checksums.txtSHA-256 verification, and background update notice (check_updatesinsentinel.toml) (#41). - GitHub Actions OSV Scanning (
versionsandECOSYSTEM/SEMVERrange matching +/tagsfallback) (#5, #12). - Swift / iOS OSV Scanning (
SwiftURL) andPackage.resolvedv1 + v2 support (#27). - Docker Hub OSV Scanning via pure-HTTP OCI v2 SPDX SBOM attestations + PURL OSV batching,
docker.io/normalization,sha256digest support, and explicit warnings (#14). - Lockfile & Manifest Parsers:
go.sum+go.mod replace(#21, #32, #44),package-lock.jsonv1 (#23), Yarn Berry v2+ (#17),Cargo.tomltable & target sections (#31), Maven${properties}/<dependencyManagement>/ parent POMs (#29), Gradle Groovy map notation +libs.versions.toml(#30), and lockfile-only project discovery (#16). - Library Target (
src/lib.rs) fordocs.rsbuilds (#38) and 10 modular integration test suites undertests/(33/33tests).
Fixed
- Removed 2-CVE truncation per package across direct and transitive results (#6).
- Chunked direct OSV queries in batches of 500 (#9) and validated response lengths (#43).
- Replaced host-environment Python
pip listscanning with project manifest (requirements.txt/pyproject.toml) + PyPI lookups (#7). - Applied
ignore_packagesto transitive lockfile vulnerabilities (#25) and supported multi-line/single-quotedsentinel.tomlarrays (#22). - Isolated lockfiles to each project directory (#19), filtered git/path sources from
Cargo.lock/uv.lock(#28), fixedresolve_verfallback (#10), and adopted the bounded 16-worker pool across all HTTP collectors (#13). - Respected
NO_COLOR/ non-TTY output (#20), stripped control characters, emitted SARIFdriver.rulesand root-relative URIs (#15), and removed redundantpackage.homepage(#39).
Sentinel v1.0.0
π‘οΈ Sentinel v1.0.0
Blazing-fast, zero-bloat, cross-platform Rust CLI for multi-ecosystem dependency, license & Google OSV vulnerability scanning across 14 ecosystems and 12 native lockfile formats.
π¦ Download & Quick Install
π§ Linux (Static musl β runs on any distro, Alpine, or container)
# Linux x86_64 / AMD64
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-linux-amd64.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/
# Linux ARM64 (AWS Graviton, Raspberry Pi 64-bit, Apple Silicon VMs)
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-linux-arm64.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/
# Linux x86 32-bit (i686)
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-linux-386.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/
# Linux ARMv7 32-bit
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-linux-armv7.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/π macOS (Apple Silicon & Intel)
# macOS Apple Silicon (M1 / M2 / M3 / M4 - ARM64)
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-macos-arm64.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/
# macOS Intel (x86_64 / AMD64)
curl -fsSL https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-macos-amd64.tar.gz | tar -xz
sudo mv sentinel /usr/local/bin/πͺ Windows (PowerShell β AMD64, ARM64 & 32-bit)
# Windows x86_64 / AMD64 (Installs globally to PATH & removes temporary .zip)
$dir = "$env:LOCALAPPDATA\Programs\sentinel"; New-Item -ItemType Directory -Force -Path $dir | Out-Null
Invoke-WebRequest -Uri "https://github.com/sebastianjnuwu/sentinel/releases/download/v1.0.0/sentinel-windows-amd64.zip" -OutFile "$env:TEMP\sentinel.zip"
Expand-Archive -Path "$env:TEMP\sentinel.zip" -DestinationPath $dir -Force; Remove-Item "$env:TEMP\sentinel.zip" -Force
$p = [Environment]::GetEnvironmentVariable("Path", "User"); if ($p -notlike "*$dir*") { [Environment]::SetEnvironmentVariable("Path", "$p;$dir", "User"); $env:Path += ";$dir" }
sentinel --version(Also available below: sentinel-windows-arm64.zip for Windows on ARM and sentinel-windows-386.zip for 32-bit Windows)
π³ Docker / GitHub Container Registry (FROM scratch, Multi-Arch linux/amd64 & linux/arm64)
# Linux / macOS
docker run --rm -v "$PWD:/workspace" ghcr.io/sebastianjnuwu/sentinel:v1.0.0 /workspace
# Windows (PowerShell)
docker run --rm -v "${PWD}:/workspace" ghcr.io/sebastianjnuwu/sentinel:v1.0.0 /workspaceπ How to Use
# 1. Scan the current project or monorepo (recursively up to 3 levels deep)
sentinel
# 2. Scan a specific directory with custom recursion depth
sentinel /path/to/workspace --depth 5
# 3. Force fresh registry & Google OSV lookups (bypass 15-min local cache)
sentinel --no-cache
# 4. Export machine-readable JSON for scripts & pipelines
sentinel --json . > report.json
# 5. Export SARIF 2.1.0 for GitHub Security -> Code Scanning
sentinel --sarif . > sentinel.sarif
# 6. CI/CD Quality Gates (exit code 1 on vulnerabilities or major outdated packages)
sentinel --fail-on-cve .
sentinel --fail-on-major .CLI Flags Reference
| Flag | Description |
|---|---|
--json |
Output clean, structured JSON to stdout |
--sarif |
Output SARIF 2.1.0 report for GitHub Code Scanning |
--fail-on-cve |
Exit with code 1 if any direct or transitive vulnerability (CVE, GHSA, RUSTSEC, GO, PYSEC) is detected |
--fail-on-major |
Exit with code 1 if any MAJOR dependency update is pending |
--depth <N> |
Maximum directory recursion depth (default: 3) |
--no-cache |
Bypass the 15-minute atomic local cache |
-V, --version |
Print version (sentinel 1.0.0) |
-h, --help |
Print help message |
βοΈ Optional Configuration (sentinel.toml)
Place a sentinel.toml file in your workspace root to customize scanning rules:
ignore_packages = ["legacy-pkg"]
ignore_dirs = ["examples", "fixtures"]
deny_licenses = ["GPL", "AGPL"]π Supported Ecosystems (14) & Native Lockfiles (12)
- π© JS / TS (
npm,pnpm,yarn,bun):package.json,package-lock.json,pnpm-lock.yaml,yarn.lock - πΉ Go:
go.mod,go.sum - π¦ Rust (
cargo):Cargo.toml(including[workspace.dependencies]),Cargo.lock - π Python (
uv,pip,poetry):pyproject.toml,requirements.txt,uv.lock,poetry.lock - π PHP (
composer):composer.json,composer.lock - π£ .NET (
dotnet):*.csproj,*.fsproj,packages.lock.json - β Java / Kotlin (
maven,gradle):pom.xml,build.gradle,build.gradle.kts - π Ruby (
bundler):Gemfile,Gemfile.lock - π¦ Dart / Flutter (
pub):pubspec.yaml,pubspec.lock - β‘ Elixir (
hex):mix.exs,mix.lock - π Swift / iOS (
swiftpm):Package.resolved - π§± Terraform:
.terraform.lock.hcl - π³ Docker:
Dockerfile,docker-compose.yml,docker-compose.yaml - π GitHub Actions:
.github/workflows/*.yml,.github/workflows/*.yaml
π Release Assets & Verification (checksums.txt)
Verify any downloaded archive against checksums.txt:
sha256sum -c checksums.txt --ignore-missing| Platform | Architecture | Rust Target | Asset |
|---|---|---|---|
| π§ Linux | x86_64 / AMD64 | x86_64-unknown-linux-musl |
sentinel-linux-amd64.tar.gz |
| π§ Linux | ARM64 | aarch64-unknown-linux-musl |
sentinel-linux-arm64.tar.gz |
| π§ Linux | x86 / 32-bit | i686-unknown-linux-musl |
sentinel-linux-386.tar.gz |
| π§ Linux | ARMv7 32-bit | armv7-unknown-linux-musleabihf |
sentinel-linux-armv7.tar.gz |
| πͺ Windows | x86_64 / AMD64 | x86_64-pc-windows-msvc |
sentinel-windows-amd64.zip |
| πͺ Windows | ARM64 | aarch64-pc-windows-msvc |
sentinel-windows-arm64.zip |
| πͺ Windows | x86 / 32-bit | i686-pc-windows-msvc |
sentinel-windows-386.zip |
| π macOS | Apple Silicon ARM64 | aarch64-apple-darwin |
sentinel-macos-arm64.tar.gz |
| π macOS | Intel x86_64 | x86_64-apple-darwin |
sentinel-macos-amd64.tar.gz |