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/iancoleman/cia_world_factbook_api
Converts the CIA World Factbook into a json data structure.
If you just want the latest data, get it using the Latest link above.
If you also want to get the full historical data set, use the Historical link above.
If you want to parse the factbook html into json for yourself:
config.json
with the paths to your downloaded html archives.go run parse_html_to_json.go
to convert each country html to a json structure.go run create_weekly_json_files.go
to combine each individual country into a week-by-week data file.If you want to fetch the html files yourself and then parse them:
config.json
with the paths to use for the downloaded html archives.python fetch.py
to fetch the historical html files from archive.org (will take several days).go run parse_html_to_json.go
to convert each country html to a json structure.go run create_weekly_json_files.go
to combine each individual country into a week-by-week data file.cd cwf/src/country
go test
Contributions are most welcome.
Please report issues using the Issues tab at the top of this page.
If you modify the code please submit a pull request for review.
Most of the parsing logic is in src/country
in the files page.go
and string_conversions.go
.
If the parser is modified, please update the VERSION
contant in country/page.go
.
MIT - see LICENSE
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.