
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@kaufman-bot/language-switcher-server
Advanced tools
Commands for setting and changing the current user language
Simple bot for telegram
https://github.com/EndyKaufman/kaufman-bot - source code of bot
https://telegram.me/KaufmanBot - current bot in telegram
https://kaufman-bot.site15.ru/graph - project graph
https://github.com/kaufman-bot/schematics-example - project generated with @kaufman-bot/schematics
https://dev.to/endykaufman/series/16805 - kaufman-bot series articles in dev.io
Create empty nx project
npx -y create-nx-workspace@15.0.13 --name=kaufman-bot-generated --preset=empty --interactive=false --nx-cloud=false
Go to created project
cd kaufman-bot-generated
Add all need schematics
npm install -D @nrwl/nest@15.0.13 @kaufman-bot/schematics
Create kaufman-bot application
npx -y nx@15.0.13 g @kaufman-bot/schematics:app adam-bot --bot-name adam
Create telegram bot in @BotFather
Append token to env file .env.local
TELEGRAM_BOT_TOKEN=5384981645:AAEKAfqNpZmoN1w5eQL2QxJtvY5h3O-71Zs
TELEGRAM_BOT_WEB_HOOKS_DOMAIN=
TELEGRAM_BOT_WEB_HOOKS_PATH=
TELEGRAM_BOT_ADMINS=
BOT_NAMES=adam
Check from telegram
npm run serve:adam-bot-local
Search new bot
Start work with bot
Example of run commands
Create new command
npm run nx -- g @kaufman-bot/schematics:lib super
Update app module
import { SuperModule } from '@kaufman-bot-generated/super';
...
@Module({
imports: [
...
SuperModule.forRoot(),
],
providers: [AppService],
})
export class AppModule {}
Restart application and check work in telegram
MIT
FAQs
Commands for setting and changing the current user language
The npm package @kaufman-bot/language-switcher-server receives a total of 1 weekly downloads. As such, @kaufman-bot/language-switcher-server popularity was classified as not popular.
We found that @kaufman-bot/language-switcher-server 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.