
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
gamecenter-identity-verifier-fork
Advanced tools
A small library to verify the identity of apple-gamecenter's local player for consuming it in node.js backend server.
This is library to validate a apple's gamecenter identity of localplayer for consuming it in node.js backend server.
npm install gamecenter-identity-verifier --save
var verifier = require('gamecenter-identity-verifier');
// identity from client.
// Reference: https://developer.apple.com/library/ios/documentation/GameKit/Reference/GKLocalPlayer_Ref/index.html#//apple_ref/occ/instm/GKLocalPlayer/generateIdentityVerificationSignatureWithCompletionHandler
var identity = {
publicKeyUrl: 'https://valid.apple.com/public/timeout.cer',
timestamp: 1460981421303,
signature: 'PoDwf39DCN464B49jJCU0d9Y0J',
salt: 'saltST==',
playerId: 'G:1111111',
bundleId: 'com.valid.app'
};
verifier.verify(identity, function (err, token) {
if (!err) {
// use token in here.
console.log(token);
}
});
npm test
or
npm prepare
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
FAQs
A small library to verify the identity of apple-gamecenter's local player for consuming it in node.js backend server.
The npm package gamecenter-identity-verifier-fork receives a total of 0 weekly downloads. As such, gamecenter-identity-verifier-fork popularity was classified as not popular.
We found that gamecenter-identity-verifier-fork 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.