npm Token
Description
General
- Documentation: https://docs.npmjs.com
- Summary: Npm (Node Package Manager) is a public javascript software registry. Developers can publish and download packages on the platform, organizations may also use npm to manage private packages and development. Npm provides both a CLI and an API to interact with registries. An access token is an alternative to using username and password for authenticating to npm.
Details for npm Token
-
Family: token
-
Category: package_registry
-
Company: npm
-
High recall: False
-
Validity check available: True
-
Analyzer available: True
-
Revoker available: True
-
On-premise instances exist: False
-
Only valid secrets raise an alert: False
-
Occurrences found for one million commits: 5.03
-
Prefixed: False
Details for npm Token Prefixed
-
Family: token
-
Category: package_registry
-
Company: npm
-
High recall: False
-
Validity check available: True
-
Analyzer available: True
-
Revoker available: True
-
On-premise instances exist: False
-
Only valid secrets raise an alert: False
-
Occurrences found for one million commits: 1.45
-
Prefixed: False
Secret Analyzer
Analysis Method
- Provider allows scopes enumeration: True
- Total network call count: 3
- Total call count may vary: False
HTTP Calls
Requests are designed to capture metadata and not to function effectively.
- GET:
/-/npm/v1/tokens - GET:
/-/npm/v1/user - GET:
/-/whoami
Other Calls
Non-HTTP queries or HTTP calls made through a third-party app (e.g., Python package). No other calls for this analyzer.
Revoker
Auth Credentials
This section describes additional valid credentials that might be needed to authenticate the revocation request.
N/A
HTTP Calls
List of calls performed by the revoker.
- DELETE:
/-/npm/v1/tokens/token/{token}
Revocation Mode
Revocation is asynchronous.