
Research
/Security News
Popular Go Decimal Library Targeted by Long-Running Typosquat with DNS Backdoor
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.
@alemonjs/db
Advanced tools
提供 redis 和 sequelize 连接
import { getIoRedis, getSequelize } from '@alemonjs/db';
// redis
export const Redis = getIoRedis();
// seuqlieze
export const sequelize = getSequelize();
yarn add @alemonjs/db -W
db:
dialect: mysql
mysql:
host: '127.0.0.1'
port: '3306'
user: 'root'
password: 'Mysql123456!'
database: 'alemonjs'
redis:
host: '127.0.0.1'
port: '6379'
password: ''
db: '0'
Settings > Docker Engine
{
"registry-mirrors": ["https://registry.cn-hangzhou.aliyuncs.com"]
}
services:
mysql:
image: mysql:8.0
container_name: mysql-container
environment:
# 密码 Mm002580!
# 用户 root
MYSQL_ROOT_PASSWORD: 'Mysql123456!'
MYSQL_ROOT_HOST: '%'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- '3306:3306'
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/docker-dbinit.sql
redis:
image: redis:6.2-alpine
container_name: redis-container
ports:
- '6379:6379'
-- 数据库名称:alemonjs
CREATE DATABASE IF NOT EXISTS `alemonjs`
CHARACTER SET utf8mb4
COLLATE utf8mb4_general_ci;
docker-compose up -d
FAQs
The npm package @alemonjs/db receives a total of 157 weekly downloads. As such, @alemonjs/db popularity was classified as not popular.
We found that @alemonjs/db demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.

Research
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.