
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/coggsflod/confluence-go-api
is a Confluence REST API client implementation written in GOLANG.
If you miss some feature implementation, feel free to open an issue or send pull requests. I will take look as soon as possible.
If this project helps you, feel free to give us a cup of coffee :).
If you already installed GO on your system and configured it properly than its simply:
go get github.com/virtomize/confluence-go-api
If not follow these instructions
package main
import (
"fmt"
"log"
"github.com/virtomize/confluence-go-api"
)
func main() {
// initialize a new api instance
api, err := goconfluence.NewAPI("https://<your-domain>.atlassian.net/wiki/rest/api", "<username>", "<api-token>")
if err != nil {
log.Fatal(err)
}
// get current user information
currentUser, err := api.CurrentUser()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", currentUser)
}
To generate a confluence personal access token (PAT) see this article: using personal access tokens. Only set the token in the NewAPI function
api, err := goconfluence.NewAPI("https://<your-domain>.atlassian.net/wiki/rest/api", "", "<personal-access-token>")
see examples for some more usage examples
You find the full code documentation here.
The Confluence API documentation can be found here.
Thank you for participating to this project. Please see our Contribution Guidlines for more information.
This repo uses pre-commit hooks. Please install pre-commit and do pre-commit install
Format commit messaged according to Conventional Commits standard.
Whenever you need to version something make use of Semantic Versioning.
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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.