
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ionic-captcha
Advanced tools
This is an Ionic Angular component that ask arithmetic equation to user and check its result.
npm install ionic-captcha
Add CaptchaProvider to your AppModule and add imports from used module CaptchaComponentModule. Then add <captcha></captcha> to your html file.
To use within FormControl add required validator and add form control name formControlName="captcha"
At least usage shown like below.
In Html Template
<captcha formControlName="captcha"></captcha>
In Controller
this.formBuilder.group({
captcha: ['', Validators.required]
});
User has 3 chance to find true solution otherwise regenerate captcha with new solution. In this 3 chance keyPress timeout is default 1500ms because of mobile platform but this is parametric. Developer change this timeout with keypressTimeout parameter.
Also there are four other parameters you can use and default values are given below.
| Parameter | Description | Default Value |
|---|---|---|
| useMinus | Use only plus operant or both | true |
| negativeAllowed | Result can be negative number | true |
| minNumLength | Minimum number of digits of numbers | 1 |
| maxNumLength | Maximum number of digits of numbers | 2 |
FAQs
Arithmetic Captcha Component For Ionic 3
We found that ionic-captcha 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.