yargs 17.7.1 is the well-known legitimate CLI argument parser. No static findings, clean sandbox install, and only standard files present.
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, successor to optimist. It exports a main CJS module built from TypeScript sources with support for commands, options, completion, validation, and middleware.
Capabilities
- Parses command-line arguments
- Defines commands and options
- Generates shell completion
- Applies middleware and validation
- Compiles TypeScript sources on prepare
Data access
- Process arguments via process-argv and get-caller-file
- Filesystem for build and locale files
Network
- No network access observed
Standard CLI parsing library with build/test scripts and no observed remote or privileged operations; review dependencies for any transitive concerns.
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 (124)
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