
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@redbuck/verify
Advanced tools
一个简单的验证弹窗.命令式调用,用户需要按照特定顺序点击canvas上的特定字符才能验证通过.
最终打包格式为umd,可<script>和import/require引入使用.
js: npm i @redbuck/verify或yarn add @redbuck/verify
css: 位于@redbuck/verifyr/lib/verify.css
Verify(options) // => promise
// 为了便于async/await使用,只会resolve,返回{success: Boolean}
options:
| 属性 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| getCodeAsync | Function | 100 | 截图框及输出尺寸 |
const getCode = () => {
let text = ranger(1000, 9999) + '';
return {
text,
img: '/static/2.png',
expectText: text.split('').reverse().join(''),
}
}
Verify({
// 刷新,获取新数据
getCodeAsync(callback) {
const options = getCode()
callback(options)
},
})
.then(result => {
// 验证成功返回
console.log(result.success)
})
FAQs
robot verify
We found that @redbuck/verify 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.