
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.
@acceleratxr/core_sdk
Advanced tools
Client SDK for working with AcceleratXR powered services.
yarn add @acceleratxr/core_sdk
npm i @acceleratxr/core_sdk
To setup and initilize the SDK...
const { Configuration, ClientSDK } = require("@acceleratxr/core_sdk");
var config = new Configuration({
baseUrl: "http://localhost:3000",
});
var sdk = new ClientSDK(config);
import { Configuration, ClientSDK } from "@acceleratxr/core_sdk";
const config: Configuration = new Configuration({
baseUrl: "http://localhost:3000",
});
const sdk: ClientSDK = ClientSDK(config);
To register a new user account...
const { Profile, User } = require("@acceleratxr/core_sdk");
var user = new User({
name: "username",
givenName: "John",
familyName: "Smith",
email: "john.smith@gmail.com"
});
user = await sdk.registerUser(user);
// or
user = await sdk.registerUserAndPassword(user, "password");
import { Profile, User } from "@acceleratxr/core_sdk";
let user: User = new User({
name: "username",
givenName: "John",
familyName: "Smith",
email: "john.smith@gmail.com"
});
user = await sdk.registerUser(user);
// or
user = await sdk.registerUserAndPassword(user, "password");
const { User } = require("@acceleratxr/core_sdk");
await sdk.loginDevice();
var user = sdk.loggedInUser;
import { User } from "@acceleratxr/core_sdk";
await sdk.loginDevice();
const user: User = sdk.loggedInUser;
To authenticate using basic username and password...
const { User } = require("@acceleratxr/core_sdk");
sdk.onAuthChallenge = async () => {
// Capture TOTP code from user
return totp;
}
await sdk.loginPassword("username","password");
var user = sdk.loggedInUser;
import { User } from "@acceleratxr/core_sdk";
sdk.onAuthChallenge = async () => {
// Capture TOTP code from user
return totp;
}
await sdk.loginPassword("username","password");
var user = sdk.loggedInUser;
To authenticate using password-less login via e-mail or phone...
const { User } = require("@acceleratxr/core_sdk");
await sdk.loginEmail("username");
// or
await sdk.loginPhone("username");
// Wait for user input of code
await sdk.loginEmail("username","code");
// or
await sdk.loginPhone("username", "code");
var user = sdk.loggedInUser;
import { User } from "@acceleratxr/core_sdk";
await sdk.loginEmail("username");
// or
await sdk.loginPhone("username");
// Wait for user input of code
await sdk.loginEmail("username","code");
// or
await sdk.loginPhone("username", "code");
const user: User = sdk.loggedInUser;
To authenticate using an OAuth compatible single-sign on provider...
const { User } = require("@acceleratxr/core_sdk");
// Retrieve the auth URL of the OAuth provider
var url = await sdk.requestOAuth2(OAuth2Provider.DISCORD);
// Redirect user to URL and await callback return
await sdk.loginOAuth2(OAuth2Provider.DISCORD, code);
var user = sdk.loggedInUser;
import { User } from "@acceleratxr/core_sdk";
// Retrieve the auth URL of the OAuth provider
var url = await sdk.requestOAuth2(OAuth2Provider.DISCORD);
// Redirect user to URL and await callback return
await sdk.loginOAuth2(OAuth2Provider.DISCORD, code);
const user: User = sdk.loggedInUser;
FAQs
Unknown package
The npm package @acceleratxr/core_sdk receives a total of 19 weekly downloads. As such, @acceleratxr/core_sdk popularity was classified as not popular.
We found that @acceleratxr/core_sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.