
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
pkg.re/essentialkaos/go-confluence
Installation • Usage example • Build Status • License
go-confluence
is a Go package for working with Confluence REST API.
Currently, this package support only getting data from API (i.e., you cannot create or modify data using this package).
Make sure you have a working Go 1.15+ workspace (instructions), then:
go get -d pkg.re/essentialkaos/go-confluence.v5
For update to latest stable release, do:
go get -d -u pkg.re/essentialkaos/go-confluence.v5
package main
import (
"fmt"
cf "pkg.re/essentialkaos/go-confluence.v5"
)
func main() {
api, err := cf.NewAPI("https://confluence.domain.com", "john", "MySuppaPAssWOrd")
api.SetUserAgent("MyApp", "1.2.3")
if err != nil {
fmt.Printf("Error: %v\n", err)
return
}
content, err := cf.GetContentByID(
"18173522", cf.ContentIDParameters{
Version: 4,
Expand: []string{"space", "body.view", "version"},
},
)
if err != nil {
fmt.Printf("Error: %v\n", err)
return
}
fmt.Println("ID: %s\n", content.ID)
}
Branch | Status |
---|---|
master (Stable) | |
develop (Unstable) |
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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.