
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
battlefield-companion
Advanced tools
This is a node-js super simple wrapper for the battlefield companion API. Designed to make it easy to obtain stats from battlefield companion.
This module requires node-js
and python
to be installed inorder to work properly.
I tried very hard to use node only for getting the authentication tokens, but it appears
pythons Sessions.request library is just easier to use. Since node-js requires python
anyway, I don't really see this as an issue.
npm install battlefield-companion
const BFC = require('battlefield-companion');
const email = YOUR_EA_EMAIL_ADDRESS;
const password = YOUR_EA_PASSWORD;
BFC(email, password, (err, bfApi) => {
// Now you are logged in, so you can use the bfApi object to perform requests
const personaId = YOUR_PERSONA_ID;
bfApi.getCareerForOwnedGamesByPersonaId(personaId, (error, result) => {
if (!error) {
// your battlefield stats will be in JSON format here.
console.log(result);
}
});
});
Since EA has not released all of the methods via public, I cant share what they are! However, you have all of them at your disposal (should you know any)
BFC(email, password, (err, bfApi) => {
bfApi.get({
method: 'Stats.getCareerForOwnedGamesByPersonaId',
params: {
personaId: YOUR_PERSONA_ID
}
}, (err, result) => {
if (err) {
throw new Error(err);
}
console.log(result);
})
});
FAQs
Connect to battlefield companion api
We found that battlefield-companion 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.