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.
vue3-yandex-smartcaptcha
Advanced tools
![licecap](https://raw.githubusercontent.com/Sakhnovkrg/Vue3-Yandex-SmartCaptcha/main/licecap.gif)
NPM:
$ npm install vue3-yandex-smartcaptcha
Yarn:
$ yarn add vue3-yandex-smartcaptcha
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import YSmartCaptcha from 'vue3-yandex-smartcaptcha'
const app = createApp(App)
app.use(YSmartCaptcha, {
siteKey: "Ключ клиента",
lang: "Язык ('ru' | 'en' | 'be' | 'kk' | 'tt' | 'uk' | 'uz' | 'tr')"
})
app.mount('#app')
Создай файл /plugins/ysmartcaptcha.js
import YSmartCaptcha from "vue3-yandex-smartcaptcha";
export default defineNuxtPlugin(nuxtApp => {
nuxtApp.vueApp.use(YSmartCaptcha, {
siteKey: "Ключ клиента",
lang: "Язык ('ru' | 'en' | 'be' | 'kk' | 'tt' | 'uk' | 'uz' | 'tr')"
})
})
Зарегистрируй плагин в nuxt.config.ts
export default defineNuxtConfig({
plugins: [
{src: '~/plugins/ysmartcaptcha.js', mode: 'client'},
]
})
<script setup>
import { ref } from 'vue';
const token = ref(); // сюда присвоится значение токена после прохождения проверки
</script>
<template>
<form>
<ClientOnly> <!-- Для Nuxt -->
<YSmartCaptcha v-model="token" />
</ClientOnly>
<button :disabled="!token">Submit</button>
</form>
{{ token }}
</template>
FAQs
![licecap](https://raw.githubusercontent.com/Sakhnovkrg/Vue3-Yandex-SmartCaptcha/main/licecap.gif)
The npm package vue3-yandex-smartcaptcha receives a total of 113 weekly downloads. As such, vue3-yandex-smartcaptcha popularity was classified as not popular.
We found that vue3-yandex-smartcaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.