Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
This package provides a Pygments_ lexer for OpenSSL_ configuration files. The lexer is published as an entry point and Pygments will pick it up automatically.
You can use the openssl
language with Pygments::
$ pygmentize -l openssl /etc/openssl/openssl.cnf
In Sphinx_ documents the lexer is selected with the highlight
directive::
.. highlight:: openssl
.. _OpenSSL: https://www.openssl.org/docs/manmaster/man5/config.html .. _Pygments: https://pygments.org/ .. _Sphinx: https://sphinx-doc.org/
Use your favorite installer to install pygments-openssl into the same Python environment you have installed Pygments. For example::
$ pip install pygments-openssl
To verify the installation run::
$ pygmentize -L lexer | grep -i openssl
* openssl:
OpenSSL (filenames *.cnf, *.conf)
Update INI lexer tests for Pygments >= 2.14. [stefan]
Update tox.ini for latest tox. [stefan]
Add GitHub CI workflow. [stefan]
Add Python 3.8-3.10 to tox.ini. Remove old Python versions. [stefan]
Replace deprecated python setup.py test
in tox.ini.
[stefan]
Remove deprecated test_suite
from setup.py.
[stefan]
Move lexer into pygments_openssl
namespace.
[stefan]
Move metadata to setup.cfg and add a pyproject.toml file. [stefan]
Include tests in sdist but not in wheel. [stefan]
Support new .pragma
and .include
directives.
[stefan]
Pygments 2.11 whitespace token modernization. [stefan]
Add MANIFEST.in. [stefan]
Release as wheel. [stefan]
Add a LICENSE file. [stefan]
Add a test suite and fix two minor whitespace lexing issues. [stefan]
FAQs
Syntax coloring for OpenSSL configuration files
We found that pygments-openssl 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.