
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.
rubik-telegram
Advanced tools
Telegram's Bot API kubik for the Rubik
npm i rubik-telegram
yarn add rubik-telegram
const { App, Kubiks } = require('rubik-main');
const Telegram = require('rubik-telegram');
const path = require('path');
// create rubik app
const app = new App();
// config need for most modules
const config = new Kubiks.Config(path.join(__dirname, './config/'));
const telegram = new Telegram();
app.add([ config, telegram ]);
app.up().
then(() => console.info('App started')).
catch(err => console.error(err));
telegram.js
config in configs volume may contain the host and token.
If you do not specify a host, then https://api.telegram.org/
will be used by default.
If you don't specify a token, you will need to pass it.
...
const response = await app.get('telegram').sendMessage(message, token);
...
You may need the host option if for some reason Telegram host is not available from your server and you want to configure a proxy server.
For example:
config/telegram.js
module.exports = {
host: 'https://my.telegram.proxy.example.com/'
};
Telegram kubik doesn't has any extension.
FAQs
Telegram Bot Api kubik for the Rubik application system
The npm package rubik-telegram receives a total of 6 weekly downloads. As such, rubik-telegram popularity was classified as not popular.
We found that rubik-telegram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.