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.
pdj_sitegen
Pandoc and Jinja Site Generator
miv.name/pdj_sitegen/
miv.name/pdj_sitegen/demo_site/
github.com/mivanit/pdj-sitegen
pip install pdj-sitegen
you should either have Pandoc installed, or you can run
python -m pdj_sitegen.install_pandoc
which will install pandoc
using pypandoc
pdj_sitegen.config.DEFAULT_CONFIG_YAML
, or print a copy of it viapython -m pdj_sitegen.config
# directory with markdown content files and resources, relative to cwd
content_dir: content/
# directory with resources, relative to `content_dir`
resources_dir: resources/
# templates directory, relative to cwd
templates_dir: templates/
# default template file, relative to `templates_dir`
default_template: default.html.jinja2
# output directory, relative to cwd
output_dir: docs/
populate the content
directory with markdown files, populate content/resources/
with resources (images, css, etc.), and adjust templates in the templates
directory. See the demo site for usage examples.
run the generator
python -m pdj_sitegen your_config.yaml
FAQs
static site generator built on pandoc + jinja2
We found that pdj-sitegen 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.