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.
Language detection module based on the GiellaLT models, specifically aimed at minority and indigenous languages
Makes the language classification script from the GiellaLT's corpus tools available as a python module (GiellaLT's website, original repo).
The source code as well as the language model files are released under the GPL-3.0 license.
pip install gielladetect
import gielladetect
text = "Lurer du på hva som rører seg innenfor veggene til Nasjonalbiblioteket på Solli plass i Oslo?"
gielladetect.detect(text)
# Result: 'nob'
# To restrict detection to a subset of languages:
gielladetect.detect(text, ['nob', 'nno', 'eng'])
# Result: 'nob'
Using ISO 639-3 codes.
Code | Name |
---|---|
ara | Arabic |
bxr | Russia Buriat |
ckb | Central Kurdish |
dan | Danish |
deu | German |
eng | English |
est | Estonian |
fao | Faroese |
fas | Persian |
fin | Finnish |
fit | Tornedalen Finnish |
fkv | Kven Finnish |
fra | French |
hbs | Serbo-Croatian |
isl | Icelandic |
ita | Italian |
kal | Kalaallisut |
kmr | Northern Kurdish |
koi | Komi-Permyak |
kpv | Komi-Zyrian |
krl | Karelian |
mdf | Moksha |
mhr | Eastern Mari |
mns | Mansi |
mrj | Western Mari |
myv | Erzya |
nno | Norwegian Nynorsk |
nob | Norwegian Bokmål |
olo | Livvi |
pol | Polish |
rmf | Kalo Finnish Romani |
rmn | Balkan Romani |
rmu | Tavringer Romani |
rmy | Vlax Romani |
ron | Romanian |
rus | Russian |
sma | Southern Sami |
sme | Northern Sami |
smj | Lule Sami |
smn | Inari Sami |
sms | Skolt Sami |
som | Somali |
spa | Spanish |
swe | Swedish |
tur | Turkish |
udm | Udmurt |
urd | Urdu |
vep | Veps |
vie | Vietnamese |
yid | Yiddish |
yrk | Nenets |
FAQs
Language detection module based on the GiellaLT models, specifically aimed at minority and indigenous languages
We found that gielladetect 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
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.