Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@xboxreplay/xboxlive-auth
Advanced tools
Simple Xbox Live authentication module.
$ npm install @xboxreplay/xboxlive-auth
$ git clone git@github.com:XboxReplay/xboxlive-auth.git
$ npm run build
import XboxLiveAuth from '@xboxreplay/xboxlive-auth';
XboxLiveAuth.authenticate('user@live.com', '*********')
.then(console.info)
.catch(console.error);
{
"userHash": "1890318589445465111",
"XSTSToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhIjoiYiJ9.iMrN7XT_jCcRXWKwUo_JPWeRO75dBOGTzerAO"
}
$ curl 'https://profile.xboxlive.com/users/gt(Zeny%20IC)/profile/settings' \
-H 'Authorization: XBL3.0 x={userHash};{XSTSToken}' \
-H 'x-xbl-contract-version: 2'
{
"profileUsers": [
{
"id": "2535465515082324",
"hostId": "2535465515082324",
"settings": [],
"isSponsoredUser": false
}
]
}
The "XSTSRelyingParty" is a domain configured by Microsoft and / or its partners to create a XSTS token which is intended to be used for a targeted service. For instance, if you use http://beam.pro/
you will be able to interact with the private Mixer.com API. A partial list can be found here: https://title.mgt.xboxlive.com/titles/default/endpoints?type=4.
2FA, or guidelines update detection, are not supported by this module (yet) which may cause some issues if you try to run this code in a production environment. As said, it's a simple one! Feel free to open a pull request if you have a workaround.
Take a look at https://account.live.com/activity. Recent activities (from unknown location, as a production server) may be blocked.
FAQs
A light but advanced Xbox Live authentication module with OAuth2.0 and Electron support
The npm package @xboxreplay/xboxlive-auth receives a total of 5,677 weekly downloads. As such, @xboxreplay/xboxlive-auth popularity was classified as popular.
We found that @xboxreplay/xboxlive-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.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.