
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
pdf-reports
Advanced tools
PDF Reports (complete documentation here <https://edinburgh-genome-foundry.github.io/pdf_reports/>) is a Python library to create nice-looking PDF reports from HTML or Pug <https://pugjs.org> templates. It features modern-looking components (via the Semantic UI <https://semantic-ui.com/>_ framework) and provides routines to embed tables or plots in the documents.
Your Pug template file template.pug may look like this (see a full example <https://github.com/Edinburgh-Genome-Foundry/pdf_reports/blob/master/examples/example_template.pug>_):
.. code:: pug
#sidebar I am the text in the sidebar.
h1 {{ title }}
.ui.piled.segment
p Oh hi there ! I am some text in a cool box.
Your Python code will be as follows:
.. code:: python
from pdf_reports import pug_to_html, write_report
html = pug_to_html("template.pug", title="My report")
write_report(html, "example.pdf")
And your final result may look like this (PDF file <https://github.com/Edinburgh-Genome-Foundry/pdf_reports/raw/master/examples/example.pdf>_):
.. image:: https://github.com/Edinburgh-Genome-Foundry/pdf_reports/raw/master/screenshot.png
PIP installation:
.. code:: bash
pip install pdf_reports
Web documentation: <https://edinburgh-genome-foundry.github.io/pdf_reports/>_
Github Page: <https://github.com/Edinburgh-Genome-Foundry/pdf_reports>_
Live demo: <http://cuba.genomefoundry.org/sculpt_a_sequence>_
License: MIT
Copyright 2018 Edinburgh Genome Foundry, University of Edinburgh
FAQs
Create nice-looking PDF reports from HTML content.
We found that pdf-reports 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.