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.
Used Packages:
canvas
andlatest-version
Kullanılan Modüller:
canvas
velatest-version
Developer:
Swôth#9990
Geliştirici:
Swôth#9990
EN: First we have to define the package.
TR: İlk olarak modülü tanımlamalıyız.
const rCaptcha = require('rcaptcha')
EN: Let's see how to create a captcha.
TR: Nasıl captcha oluşturulduğuna bakalım.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "", // TR or EN is avalable...
difficulty: "", // EASY, MEDIUM, HARD, VERYHARD is avalable...
length: 4, // Length is must me between 4 and 12...
})
EN: Let's see the response.
TR: Yanıtı görelim.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "EN", // TR or EN is avalable...
difficulty: "HARD", // EASY, MEDIUM, HARD, VERYHARD is avalable...
length: 10, // Length is must me between 4 and 12...
})
console.log(newCaptcha)
//Console:
/*
{
language: "EN",
difficulty: "HARD",
length: 10,
code: "KJADJAD", // random
image: {
url: "imageurl",
buffer: "buffercode"
}
}
*/
EN: Let's move on to using Captcha.
TR: Captcha kullanımına geçelim.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "EN", // TR or EN is avalable...
difficulty: "HARD", // EASY, MEDIUM, HARD, VERYHARD is avalable...
length: 10, // Length is must me between 4 and 12...
})
// captcha image link: newCaptcha.image.url
// example in html: <img src=" + newCaptcha.image.url + ">
const input = "TEST" // your input
if (input !== newCaptcha.code) {
console.log("Captcha failed!")
} else {
console.log("Captcha was passed!")
}
0.0.2 ▸ A small bug was fixed!
0.0.1 ▸ Package created and published on NPM
by
Swôth#9990
(MIT)
FAQs
rCaptcha Human Verification | by Swôth#9990 & Loiren#0555 & Roalia#0001
We found that rcaptcha 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’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.