
Research
/Security News
11 Malicious Go Packages Distribute Obfuscated Remote Payloads
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
amis-sms-code-renderer
Advanced tools
yarn add amis-sms-code-control
载入组件
import 'amis-sms-code-control';
自定义
import { FormItem } from 'amis';
import { SmsCodeControl } from 'amis-sms-code-control';
@FormItem({
type: 'custom-sms-code',
})
class CustomSmsCodeControl extends SmsCodeControl {
// 自定义代码
}
配置
{
type: 'form',
controls: [
{
"type": "text",
"name": "phone",
"required": true,
"validations": "isPhoneNumber",
"placeholder": "请输入手机",
"label": "手机",
},
{
"type": "sms-code",
"label": '验证码',
"placeholder": "请输入验证码",
"name": "code",
"phoneField": "phone", // 与填写手机的字段 name 对应
"api": {
"method": "post",
"url": "/code",
"data": {
"phone": "${phone}" // 与填写手机的字段 name 对应
},
},
"validations": {
isNumeric: true,
isLength: 6
},
"required": true,
},
]
}
FAQs
```bash yarn add amis-sms-code-control ```
The npm package amis-sms-code-renderer receives a total of 1 weekly downloads. As such, amis-sms-code-renderer popularity was classified as not popular.
We found that amis-sms-code-renderer 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 uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).