Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
The sitemap builder traverses links from a website and constrains itself to the given domain name. The final result will be a simple sitemap deduced from the links visited. The crawler will accept & process only URLs with http or https schemes.
To run the following command to install the tool:
.. code-block:: bash
pip install -U sitemapbuilder
To run the sitemap builder:
.. code-block:: bash
sitemapbuilder -u 'https://monzo.com' -o test_monzo.dot
Some websites have strong protection and the tool will not work for them:
.. code-block:: bash
sitemapbuilder -u 'https://bloomberg.com' -o test_bloomberg.dot
#. Generate Graphviz .dot
file showing directed links between pages. One can generate PNG/PDF and other image/document formats.
#. Have configurable decay
(maximum depth) to avoid abuse.
#. Visit web link within the same hostname by default.
#. Use 5 threads
by default and times out after 10 seconds
.
#. Timeout after 5 seconds
when fetching a URL.
#. Handle timeout exceptions when querying a website.
#. Send a HTTP HEAD
request and verify that Content-Type
is text/html
and charset
is either UTF-8
or US-ASCII
.
#. Have a map of visited URLs to avoid revisiting them.
#. Follow HTTP redirects.
FAQs
Simple sitemap builder
We found that sitemapbuilder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.