
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
@healerlab/vue3-simple-otp-input
Advanced tools
Powerful, lightweight, and reusable OTP input component for Vue 3
To get started, you can install vue3-simple-otp-input
with:
npm i @healerlab/vue3-simple-otp-input
with pnpm:
pnpm add @healerlab/vue3-simple-otp-input
with yarn:
yarn add @healerlab/vue3-simple-otp-input
Import the component and register it locally in your Vue component:
<script setup lang="ts">
import { HOtpInput } from "@healerlab/vue3-simple-otp-input";
const handleFinish = (otpCode: string) => {
// write logic with received code
}
const handleChange = (otpCode: string) => {
// write logic with changed code
}
const getCodeWithSeparator = () => {
// get code with separator
// otpInput?.value?.genResultWithSeparator()
}
</script>
Use the component in your template:
<HOtpInput
:length="6"
type="text"
@on-finish="handleFinish"
@on-change="handleChange"
wrapperClassName="otp-input"
:outlined="true"
ref="otpInput"
:only-number="true"
separator="-" // separator support
separatorType="middle" // middle or all
/>
This is minimal style for your input, you can change it to match your use-case:
<style scoped lang="scss">
.otp-input {
:deep(input) {
outline: none;
width: 30px;
padding: 12px;
font-size: 22px;
border: none;
margin-left: 10px;
text-align: center;
&:first-child {
margin-left: 0;
}
&:focus {
outline: none
}
}
:deep(span) {
padding: 0 0px 0 10px;
font-size: 30px;
}
}
</style>
See the Vue3 Simple OTP Input page for more information.
FAQs
Powerful, lightweight, and reusable OTP input component for Vue 3
The npm package @healerlab/vue3-simple-otp-input receives a total of 143 weekly downloads. As such, @healerlab/vue3-simple-otp-input popularity was classified as not popular.
We found that @healerlab/vue3-simple-otp-input 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.