Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
app-scaffold-ci projectName
cd projectName
npm install
1、分析某页业务页面需要哪些模块,比如需要两个并排的line,一个单独的table
npm run domain userDau filter line table
注:
2、启动系统本地http服务
npm start
3、根据业务需求修改配置
"layout": {
"filter": { /* 全局检索功能,默认是放在页面最上方 */
"uuid": "test01234"
},
"modules": [ /* 纵向布局 */
[ /* 横排两个line */
{
"uuid": "test1",
"type": "line"
},
{
"uuid": "test2",
"type": "line"
}
],
[ /* 最下方一个table */
{
"uuid": "test3",
"type": "table"
}
]
]
}
"test01234": {
"uuid": "test01234",
"type": "search",
"filter": [{
"key": "id",
"type": "input",
"defaultValue": "test",
"label": "层ID"
},
{
"key": "name",
"type": "input",
"label": "层名称"
},
{
"key": "layerlist",
"type": "select",
"defaultValue": "a",
"url": "/api/domain/layer",
"method": "get",
"data": [{
"id": "a",
"name": "A"
}],
"label": "layerlist"
}]
}
"test3": {
"uuid": "test3",
"type": "table",
"basic": {
"url": "/api/62fs6ivwv7ljs6hf",
"method": "get",
"columns": [
{
"title": "ID",
"width": 40,
"key": "id"
}
],
"justOpt": {
"title": "操作",
"width": 100,
"key": "opt",
"values": {
"modify": true,
"delete": false
}
}
},
"filter": [{
"key": "id",
"type": "input",
"defaultValue": "test",
"label": "层ID"
},
{
"key": "name",
"type": "input",
"label": "层名称"
},
{
"key": "layerlist",
"type": "select",
"defaultValue": "a",
"url": "/api/domain/layer",
"method": "get",
"data": [{
"id": "a",
"name": "A"
}],
"label": "layerlist"
},
{
"key": "applist",
"type": "select",
"url": "/api/domain/app",
"data": [{
"id": "b",
"name": "B"
}],
"label": "applist"
}],
"forms": [
{
"key": "name",
"type": "input",
"defaultValue": "defname",
"label": "名称",
"isMust": true,
"rule": {
"len": 60,
"log": "名称不能为空且不能大于60字符"
}
},
{
"key": "url",
"type": "input",
"defaultValue": "",
"label": "url"
},
{
"key": "zipUrl",
"type": "input",
"defaultValue": "",
"label": "zipUrl"
},
{
"key": "md5",
"type": "input",
"defaultValue": "",
"label": "md5"
},
{
"key": "desc",
"type": "multinput",
"defaultValue": "",
"label": "版本描述",
"isMust": true,
"rule": {
"len": 60,
"log": "版本描述不能为空且不能大于60字符"
}
},
{
"key": "apis",
"type": "input",
"defaultValue": "",
"label": "apis"
},
{
"key": "layerlist",
"type": "select",
"defaultValue": "a",
"url": "/api/domain/layer",
"method": "get",
"data": [{
"id": "a",
"name": "A"
}],
"label": "层选择"
}
],
"create": {
"type": "link",
"submit": {
"url": "/api/f2suwcuildaxmlz8_create",
"method": "post"
}
},
"modify": {
"type": "link",
"forms": [
{
"key": "id",
"type": "input",
"defaultValue": "test",
"label": "层ID",
"notModify": true
}
],
"data": {
"url": "/api/f2suwcuildaxmlz8_modify_data",
"method": "get"
},
"submit": {
"url": "/api/f2suwcuildaxmlz8_modify",
"method": "post"
}
},
"delete": {
"forms": [
{
"key": "id",
"label": "ID"
}
],
"submit": {
"url": "/api/62fs6ivwv7ljs6hf_delete",
"method": "post"
}
}
}
FAQs
The npm package fast163 receives a total of 4 weekly downloads. As such, fast163 popularity was classified as not popular.
We found that fast163 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.