
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Dynamically generated, AI-resistant captcha images.
Can you tell what time it is? AI can't.
Features:
- dynamically generated images
- rgb and grayscale color mode
- 12-hour and 24-hour clock mode
- custom colors
pip install clockcaptcha
from clockcaptcha import ClockCaptcha
captcha = ClockCaptcha()
print(captcha.value)
captcha.verify('0645') # True/False
captcha.save_image('image.png')
# generate new captcha
captcha.generate_new()
Choose between color_mode='rgb'
(color-captcha.png)
or 'grayscale'
(grayscale-captcha.png).
Pick between a 12-hour or a 24-hour clock_mode
.
from clockcaptcha import ClockCaptcha
captcha = ClockCaptcha(clock_mode=12)
Image size can be changed with relative size
parameter. Here are corresponding pixel values.
size | width | height |
---|---|---|
1 | 190 | 65 |
2 | 380 | 130 |
3 | 570 | 195 |
4 | 760 | 260 |
... | ... | ... |
Change colors globally:
from clockcaptcha import ClockCaptcha
ClockCaptcha.set_colors([
'#FFFFFF',
'#000000',
'#999999'
])
FAQs
Dynamically generated, AI-resistant captcha images
We found that clockcaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.