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.
github.com/grapphy/go-captcha
Another 2captcha wrapper but made in Golang.
Currently only supports google recaptcha v2 and funcaptcha (the two ones i mostly use). For solving other captchas use the official library (which i recently realized it already exists).
package main
import (
"log"
"fmt"
"github.com/Grapphy/Go-Captcha"
)
func main() {
client := gocaptcha.NewClient("Your-api-key")
captcha := gocaptcha.NewRecaptchaV2()
captcha.SetSiteKey("6LeIxboZAAAAAFQy7d8GPzgRZu2bV0GwKS8ue_cH")
captcha.SetUrl("https://2captcha.com/demo/recaptcha-v2")
captcha.SetAction("verify")
solution, err := client.Solve(captcha)
if err != nil {
log.Fatal(err)
}
fmt.Println(solution)
}
captcha := NewFuncaptcha()
captcha.SetPublicKey("20782B4C-05D0-45D7-97A0-41641055B6F6")
captcha.SetPageUrl("https://github.com/signup")
captcha.SetServerUrl("https://api.funcaptcha.com")
Project under MIT license.
FAQs
Unknown package
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.