Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@bedrock/authn-token
Advanced tools
Simple token-based authentication for Bedrock apps
10.0.0 - 2022-05-21
hashParameters
in password and nonce tokens. This
change should be a mostly backwards compatible change but is marked breaking
because it is a data structure change. However, if a password token does not
have a hashParameters
property, it is assumed to be bcrypt
and is
internally modified to add matching hashParameters
before being returned.
If a nonce token does not have a hashParameters
property, it is
auto-expired. Password / nonce hashing must be performed on the client, so
the hash parameters are new information to be sent to the client so it can
produce a matching hash.challenge
to be verified,
not hash
.hashPrefix
) will be removed in a future version. It is an unnecessary
complexity that does not add security (given the other design choices).explain
option from most public APIs.challenge
type
. This type was never implemented and
can be confused with the option challenge
which specifies an unhashed
value to be provided when verifying a totp
token.bcrypt
from configuration and as an
internally-used slow hash function. Use pbkdf2
instead because it is
widely available in clients, especially web browsers -- which is where
most slow hashing occurs given the current design.FAQs
Simple token-based authentication for Bedrock apps
The npm package @bedrock/authn-token receives a total of 29 weekly downloads. As such, @bedrock/authn-token popularity was classified as not popular.
We found that @bedrock/authn-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.