yargs is a well-known legitimate CLI argument parser. No static findings, only standard files, and clean sandbox install. No evidence of malice.
AI breakdown
Plain-English summary of what this package does and how it behaves.
Yargs is an npm package providing a command-line argument parser for Node.js applications, successor to optimist. It includes modules for command definitions, option validation, completions, and usage output. The package builds from TypeScript sources and exposes a CJS entry point.
Capabilities
- Parses command-line arguments
- Defines commands and options
- Supports shell completions
- Runs compilation via prepare script
- Includes validation and middleware handling
Data access
- Process arguments (via process-argv.js)
- Filesystem (build and locale files)
Network
- No network access observed
Standard CLI utility library with no static security findings; prepare script triggers compilation on install but otherwise behaves as a typical argument parser.
Dependency & execution chain
Every package this one pulls in, colored by verdict. Expand to walk the tree.
Package metadata
yargs the modern, pirate-themed, successor to optimist.
Files in package (126)
How ShadowCanopy checks npm packages
ShadowCanopy blocks every dependency by default and only lets through what it can verify — against live malicious-package advisories, an AI behavior scan, and a byte-for-byte hash check. It protects installs across npm, PyPI, crates.io, pkg.go.dev, RubyGems, Maven Central, NuGet, Packagist, Hex, pub.dev, Swift Package Manager.
This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/npm/yargs