Installations
npm install verdaccio-delegated-basic-auth
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
13.11.0
NPM Version
6.13.7
Score
38.1
Supply Chain
50.7
Quality
63.5
Maintenance
25
Vulnerability
93.9
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
pendexgabo
Download Statistics
Total Downloads
986
Last Day
1
Last Week
3
Last Month
13
Last Year
77
GitHub Statistics
2 Stars
4 Commits
1 Watching
1 Branches
1 Contributors
Bundle Size
76.37 kB
Minified
23.44 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.2
Package Id
verdaccio-delegated-basic-auth@0.0.2
Unpacked Size
4.00 kB
Size
2.16 kB
File Count
4
NPM Version
6.13.7
Node Version
13.11.0
Total Downloads
Cumulative downloads
Total Downloads
986
Last day
0%
1
Compared to previous day
Last week
0%
3
Compared to previous week
Last month
0%
13
Compared to previous month
Last year
11.6%
77
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
verdaccio-delegated-basic-auth
verdaccio authentication plugin that delegates authentication to another HTTP URL
Rationale
We use Kerberos for authentication. Developers are accustomed to be able to use
the same password everywhere in the organisation to gain access to resources
that they need for their work. This should also apply to our private npm
repositories.
How does it work?
Basically, authentication is delegated to another website where Kerberos authentication is already set up. The verdaccio authentication plugin is given the URL of this website. Whenever the user tries to authenticate with verdaccio using a username-password combination, verdaccio makes an HTTP request in the background to this URL with the credentials that the user supplied. When the website returns an HTTP 200 response, the password is considered correct and the user is authenticated in verdaccio. In all other cases, authentication fails.
Installation
1$ npm install verdaccio-delegated-basic-auth
Config
Add to your config.yaml
:
1auth: 2 delegated-auth: 3 url: "https://some.other.site.com/auth"
Security considerations
verdaccio sends an HTTP Basic authentication request to the delegate website. The
usual security considerations for HTTP Basic authentication apply here: don't
do it over an unencrypted channel unless you are absolutely sure that
unauthorised parties cannot intercept the communication and inspect the
password in the Authorization header. Use https
if you can.
Acknolege
This is just a simple fork of https://github.com/lab360-ch/verdaccio-gitlab-ci
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More