
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.
github.com/edgedb/edgedb-go
In your module directory, run the following command.
$ go get github.com/geldata/gel-go
Follow the Gel tutorial to get Gel installed and minimally configured.
package main
import (
"context"
"fmt"
"log"
gel "github.com/geldata/gel-go"
"github.com/geldata/gel-go/gelcfg"
)
func main() {
ctx := context.Background()
client, err := gel.CreateClient(gelcfg.Options{})
if err != nil {
log.Fatal(err)
}
defer client.Close()
var result string
err = client.QuerySingle(ctx, "SELECT 'hello Gel!'", &result)
if err != nil {
log.Fatal(err)
}
fmt.Println(result)
}
A local installation of Gel is required to run tests. Download Gel from here or build it manually.
To run the test suite run make test
.
To run lints make lint
.
gel-go is developed and distributed under the Apache 2.0 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
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.