
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@ewt/ecaptcha
Advanced tools
EWT通用验证码工具
<script src="./eCaptcha.min.js"></script>
<script>
var dom = document.getElementById('test');
var config = {
bizCode: 'ewt',
type: 1,
env: 'sit'
};
var captcha = new ECaptcha(dom, config);
captcha.success(function(token) {
console.log(token);
});
</script>
import ECaptcha from '@ewt/ecaptcha';
const config = {
bizCode: 'kkl',
type: 1,
env: 'sit'
};
const captcha = new ECaptcha('#captcha', config);
captcha.success((token) => {
console.log(token);
});
interface captchaConf {
bizCode: string; // 业务编码;
type: string; // 验证码类型:1(点选验证码)、2(滑动验证码)
env: string; // 使用场景环境:sit(测试环境)、prod(线上环境),根据该配置生成相对应环境的接口请求地址;
hasButton?: boolean; // 是否需要点击验证按钮,可选配;
onClose?: Function; // 关闭验证码回调函数,可选配;
onRefresh?: Function; // 刷新验证码回调,可选配
safe?: safeConf; // 安全策略,为null或者undefined的时候不会经过安全策略
}
interface safeConf {
mobile?: string; // 手机号
deviceToken?: string; // 设备号
userId?: number; // userId
}
ISC
FAQs
EWT common captcha utils
The npm package @ewt/ecaptcha receives a total of 7 weekly downloads. As such, @ewt/ecaptcha popularity was classified as not popular.
We found that @ewt/ecaptcha 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.