
Research
Active Supply Chain Attack Compromises @antv Packages on npm
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.
@alemonjs/db
Advanced tools
提供 redis 和 sequelize mysql 连接
import { getIoRedis, getSequelize } from '@alemonjs/db'
// redis
export const Redis = getIoRedis()
// seuqlieze mysql
export const sequelize = getSequelize()
yarn add @alemonjs/db -W
redis:
host: '127.0.0.1'
port: '6379'
password: ''
db: '0'
mysql:
host: '127.0.0.1'
port: '3306'
user: 'root'
password: 'Mm002580!'
database: 'alemonjs'
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: 'Mm002580!'
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
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.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.