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.
github.com/grokify/go-wordpressxml
The go-wordpressxml
package provides a WordPress WXR (WordPress eXtended RSS) XML parser.
Documentation is provided using godoc and available on GoDoc.org.
Installing any of the packages will install the entire library. For example:
$ go get github.com/grokify/go-wordpressxml
import (
"github.com/grokify/go-wordpressxml"
)
func main() {
wp := wordpressxml.NewWordPressXML()
err := wp.ReadFile("myblog.wordpress.2016-08-13.xml")
if err != nil {
panic(err)
}
wp.WriteMetaCSV("articles.csv")
}
Since WordPress uses content:encoded
and excerpt:encoded
, Go's XML built-in parser treats both of these as the field encoded
in different namespaces. This parser retrieves these fields as an array of encoded
and then moves the data into the Content
property.
Features, Issues, and Pull Requests are always welcome.
To contribute:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Please report issues and feature requests on GitHub.
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
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.