
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.
@curity/identityserver-haapi-web-driver
Advanced tools
Typescript/Javascript library with classes and functions to access Curity Identity Server Hypermedia Authentication API (HAAPI) from browser-based applications. The library is available on the npm public registry and can be installed using:
npm install @curity/identityserver-haapi-web-driver
The package defines the createHaapiFetch
function, which creates fetch-like functions that can be used to perform HAAPI requests. The returned functions automatically manage attestation, access tokens, DPoP tokens, and Session-Id under the covers.
// 0 - Import the createHaapiFetch function
import { createHaapiFetch } from '@curity/identityserver-haapi-web-driver';
// 1 - Create a fetch-like function to perform HAAPI requests
const haapiFetch = createHaapiFetch({
clientId: 'test-client-id',
tokenEndpoint: 'https://localhost:8443/dev/oauth/token',
});
// 2 - Use haapiFetch to access HAAPI resources
const authorizeRequest = '/dev/oauth/authorize?client_id=test-client-id&response_type=code&scope=read&state=foobar&redirect_uri=https://localhost:7777/client-callback';
haapiFetch(authorizeRequest)
.then(res => {
// ...
});
FAQs
Curity Identity Server HAAPI Web driver
The npm package @curity/identityserver-haapi-web-driver receives a total of 1,064 weekly downloads. As such, @curity/identityserver-haapi-web-driver popularity was classified as popular.
We found that @curity/identityserver-haapi-web-driver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.