
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
moneypenny
Advanced tools
Moneypenny acts as an authentication service that offers multiple authentication strategies to a backend service and sends a JSON web token(JWT) encripted using a shared secret as a response.
Other services in the architecture should also know the shared secret allowing the token to be passed around in API calls to provide user information related to the request.
##Endpoints.
###/auth/details ####GET Returns the details for the current logged in user.
###/auth/jwt ####GET Returns a JWT of the current signed in users details This is a debug method that should be deleted from a production system or only allowed to be accessed by services
###/auth/local/login ####POST Publically accessable endpoint for local authentication, redirects the user to the last requested page or /auth/details if no page is found.
#####Params
###/auth/saml/login ####GET
SAML login route.
###/auth/saml/login/callback ####POST
SAML callback *Callback URL for SAML, used by the SAML stratergy after the user has authenticated with the identity procider.
###/oauth2/authorization ####GET oAuth2 server authorization endpoint.
###/oauth2/token ####POST oAuth2 token endpoint.
Called when the remote server requests a token from the server.
##MongoDB Collections.
###local_users A list of local users, use for a local authentication stratergy on moneypenny.
In the future a remote trusted server should be able to do a POST request with local user details and get a JWT as a response
###oauth_client_store A list of oAuth2 clients and their shared secrets (different shared secret from JWT)
###oauth_code_store A list of oAuth2 codes, this code is past via the web browser on an oAuth 2 request and is then used to request a token.
The tokens are also JWT currently and are encoded with the same key. although this should be different since they are seen by the web client.
###oauth_refresh_token
A list of refresh tokens that are used to refresh the oauth token when it expires.
###oauth_token
A list of the oAuth tokens that have been sent to the services, these tokens are also JWT, and therefor services that get access tokens from the service can decode user information from the access token, and pass the access tokens to other services.
###session_users
Users logged into sessions on the server, This list contains both SAML and Local users, and is the user encoded in the JWT.
FAQs
Authentication Server
The npm package moneypenny receives a total of 0 weekly downloads. As such, moneypenny popularity was classified as not popular.
We found that moneypenny demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.