| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
CLI tool for Socket.dev
npm install -g @socketsecurity/clisocket --help
socket info webtorrent@1.9.1
socket report create package.json --view
socket report view QXU8PmK7LfH608RAwfIKdbcHgwEd_ZeWJ9QEGv05FJUQ
socket wrapper --enablesocket info <package@version> - looks up issues for a package
socket report create <path(s)-to-folder-or-file> - creates a report on socket.dev
Uploads the specified package.json and lock files for JavaScript, Python, and Go dependency manifests. If any folder is specified, the ones found in there recursively are uploaded.
Supports globbing such as **/package.json, **/requirements.txt, **/pyproject.toml, and **/go.mod.
Ignores any file specified in your project's .gitignore, the projectIgnorePaths in your project's socket.yml and on top of that has a sensible set of default ignores
socket report view <report-id> - looks up issues and scores from a report
socket wrapper --enable and socket wrapper --disable - Enables and disables the Socket 'safe-npm' wrapper.
socket raw-npm and socket raw-npx - Temporarily disables the Socket 'safe-npm' wrapper.
All aliases supports flags and arguments of the commands they alias.
The CLI reads and uses data from a socket.yml file in the folder you run it in. It supports the version 2 of the socket.yml file format and makes use of the projectIgnorePaths to excludes files when creating a report.
| Back | FazBrowse Home | New Git URL |