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.
Kord is a coroutine-based, modularized implementation of the Discord API, written 100% in Kotlin.
If you have any feedback, we'd love to hear it, hit us up on discord or write up an issue if you have any suggestions!
Kord was created as an answer to the frustrations of writing Discord bots with other JVM libraries, which either use thread-blocking code or verbose and scope restrictive reactive systems. We believe an API written from the ground up in Kotlin with coroutines can give you the best of both worlds: The conciseness of imperative code with the concurrency of reactive code.
Aside from coroutines, we also wanted to give the user full access to lower level APIs. Sometimes you have to do some unconventional things, and we want to allow you to do those in a safe and supported way.
Right now, Kord should provide a full mapping of the non-voice API on Kotlin/JVM and Kotlin/JS and an experimental mapping of the Voice API on Kotlin/JVM
Module | Docs | Artifact | JVM | JS | Native² |
---|---|---|---|---|---|
common | common | kord-common ¹ | ✅ | ✅ | ❌ |
rest | rest | kord-rest ¹ | ✅ | ✅ | ❌ |
gateway | gateway | kord-gateway ¹ | ✅ | ✅ | ❌ |
core | core | kord-core ¹ | ✅ | ✅ | ❌ |
voice | voice | kord-voice | ✅ | ❌³ | ❌ |
core-voice | core-voice | kord-core-voice | ✅ | ❌ | ❌ |
¹ These artifacts only supports Gradle Version 5.3 or higher, for older Gradle versions and Maven please append -jvm
² For Native Support please see #69
³ For Voice JS please see #69
Replace {version}
with the latest version number on maven central.
For Snapshots replace {version}
with {branch}-SNAPSHOT
e.g: feature-amazing-thing-SNAPSHOT
for the branch feature/amazing-thing
For Snapshots for the branch main
replace {version}
with {nextPlannedVersion}-SNAPSHOT
(see nextPlannedVersion
in gradle.properties
)
repositories {
mavenCentral()
// Kord Snapshots Repository (Optional):
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation("dev.kord:kord-core:{version}")
}
repositories {
mavenCentral()
// Kord Snapshots Repository (Optional):
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
implementation("dev.kord:kord-core:{version}")
}
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<dependency>
<groupId>dev.kord</groupId>
<artifactId>kord-core-jvm</artifactId>
<version>{version}</version>
</dependency>
Currently we're supporting both Kotlin/JVM and Kotlin/JS for the majority of our API, for more information check Modules and #69
Yes.
FAQs
Unknown package
We found that dev.kord:kord-voice demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.