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.
autohost-riak-auth
Advanced tools
This library is a riak backed auth provider compliant with autohost v0.2.0's auth provider specification.
This library currently supports basic, OAuth2 (bearer) and generic token authorization headers. If no authorization header is present, a basic challenge is present.
// see riaktive's README to see more information about how to configure pbc and http ports
// https://www.npmjs.org/package/riaktive
var host = require( 'autohost' );
var authProvider = require( 'autohost-riak-auth' )( {
appName: 'myApp',
riak: { nodes: [
{ host: 'riak-node1' },
{ host: 'riak-node2' },
{ host: 'riak-node3' },
] }
} );
host.init( { /* autohost configuration goes here */ }, authProvider );
This library requires you to provide an appName
property in the configuration object that it will use as a bucket suffix to differentiate different application authentication and authorization data. There is no default value, you must provide one.
As indicated by the comment above, the riak
property is how you pass along configuration to riaktive which controls how this library will connect to your Riak nodes.
FAQs
Riak backed auth provider for autohost
The npm package autohost-riak-auth receives a total of 0 weekly downloads. As such, autohost-riak-auth popularity was classified as not popular.
We found that autohost-riak-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.