
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
github.com/gpahal/snake
A Go language library for parsing information in a HTML head tag.
go get github.com/gpahal/snake
The snake.ProcessURL function takes a url string and a *http.Client, makes a GET request to the url using the http client and returns a new *snake.Object from the returned HTML. If client is nil, a default client is used.
object, err := snake.ProcessURL("http://ogp.me", nil)
The snake.ParseHTML function takes an io.Reader, reads HTML, parses the HTML and returns a new *snake.Object.
resp, _ := http.Get("http://ogp.me")
// ignoring the error and other response attributes (like status code)
// for simplicity
defer resp.Body.Close()
object, err := snake.ParseHTML(resp.Body)
The complete API documentation is available on GoDoc.
Licensed under the MIT License by Garvit Pahal. See LICENSE file for details.
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.