
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.
@telios/telios-client-backend
Advanced tools
A reusable backend to for telios email clients to use between desktop and mobile.
A reusable backend to for telios email clients to use between desktop and mobile.
npm i --save @telios/telios-client-backend
Electron example:
const path = require('path')
const fs = require('fs')
const { fork } = require('child_process')
const { remote } = require('electron')
const userDataPath = remote.app.getPath('userData')
const filePath = path.join(__dirname, '/node_modules/telios-client-backend/index.js')
let cwd = path.join(__dirname, '..');
if (!fs.existsSync(path.join(cwd, 'app.asar'))) {
cwd = null;
}
const child = fork(filePath, [userDataPath, 'development'], {
stdio: ['pipe', 'pipe', 'pipe', 'ipc'],
cwd
})
// listen for channel events
child.on('message', m => {
const { event, data, error } = m
if(error) this.emit(event, error)
this.emit(event, data)
})
child.stderr.on('error', data => {
this.emit('error', data.toString())
})
// Send channel events
child.send({
event: 'account:create',
payload: {
email: 'alice@telios.io',
password: 'letmein123',
vcode: 'btester1',
recoveryEmail: 'alice@mail.com'
}
})
Mobile example:
const bridge = require('rn-bridge')
const { ClientBackend } = require('telios-client-backend')
const { ClientBackend } = require('@telios/telios-client-backend');
const channel = bridge.channel
const userDataPath = bridge.app.datadir()
const env = 'development'
// Instantiate backend
ClientBackend(channel, userDataPath, env)
channel.send({
event: 'account:create',
payload: {
email: 'alice@telios.io',
password: 'letmein123',
vcode: 'btester1',
recoveryEmail: 'alice@mail.com'
}
})
channel.on('account:create:error', error => {
// handle error
})
channel.on('account:create:success', data => {
// handle success
})
channel.on('drive:network:updated', data => {})
channel.send({ event: 'account:create', payload })
const payload = {
email: 'alice@telios.io',
password: 'letmein123',
vcode: 'testcode123',
recoveryEmail: 'alice@mail.com'
}
channel.send({ event: 'account:login', payload })
const payload = {
email: 'alice@telios.io',
password: 'letmein123'
}
channel.send({ event: 'account:logout' })
channel.send({ event: 'mailbox:register', payload })
const payload = {
account_key,
addr: 'alice@telios.io'
}
channel.send({ event: 'mailbox:getNewMailMeta' })
channel.send({ event: 'mailbox:markArrayAsSynced', payload })
const payload = {
msgArray: ['emailId1', 'emailId2']
}
channel.send({ event: 'mailbox:getMailboxes' })
channel.send({ event: 'mailbox:saveMailbox', payload })
const payload = {
address: 'bob@telios.io'
}
FAQs
A reusable backend to for telios email clients to use between desktop and mobile.
The npm package @telios/telios-client-backend receives a total of 8 weekly downloads. As such, @telios/telios-client-backend popularity was classified as not popular.
We found that @telios/telios-client-backend 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.