
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
github.com/hardymunjal/html_parser
This repo implements a html parser package, which extracts the links and texts from "a"(hyperlink) tag and returns as a array of json objects.
Clone or download the github repo from here.
Data contains dummy templates for testing. You can also create your own file in the same directory which you would want to test.
Go to the file main.go and assign filename variable with the name of your file.
filename := "test2.html" #replace test2.html
Run the file using the below command:
go run main.go
Images - Contains the screenshot of output of test2.html file.
data - Contains the template files for testing.
main - Contains the main file for execution.
src - Contains the source code.
Credits - Project idea by Jon Calhoun
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
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.