npm-scan
Version, currently agpl-3.02 versions
- 0.1.0latestJun 2, 2022
- agpl-3.0not indexedJun 6, 2022
github.com/postmodern/npm_scan
Scans npmjs.org for npm packages that can be taken over
19 stars
0 dependents
License: AGPL-3.0
Nothing has been indexed for agpl-3.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
npm-scan:
github: postmodern/npm_scan
version: ~> agpl-3.0Then run:
shards installshard.yml
No shard.yml has been indexed for agpl-3.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# npm_scan
Scans npmjs.org for NPM packages that can be taken over.
## Build
1. [Install Crystal](https://crystal-lang.org/install/)
2. `shards install`
3. `make`
## Usage
```
$ ./npm_scan --help
usage: npm_scan [options]
usage: npm_scan [options]
-o, --output FILE Writes output to file
-c, --cache FILE Write package names to the cache file
-R, --resume Skips package already in the --cache file
-W, --wordlist-path FILE Checks the npm packages in the given wordlist_path
-A, --api-workers NUM Number of API request workers (Default: 30)
-D, --dns-workers NUM Number of DNS request workers (Default: 100)
-h, --help Prints this cruft
```
## Examples
Scan for all packages, log output, and allow resuming after `Ctrl^C`:
```
$ ./npm_scan -c packages.txt -o vuln_packages.txt --resume
```
## Copyright
npm_scan - Scans npmjs.org for NPM packages that can be taken over.
Copyright (C) 2022 Hal Brodigan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
agpl-3.0- Tagged
- Jun 6, 2022
- Commit
ea1b52ad7f16- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/postmodern/npm_scan
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 2