
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
markdown-table-generator
Advanced tools
Python library to generate Markdown table.
pip3 install markdown_table_generator
csv-to-md -s ";" -a c tests/table.csv
# | OS | Creator | Company |
# |:-------:|:-----------------:|:---------:|
# | Ubuntu | Mark Shuttleworth | Canonical |
# | FreeBSD | | |
# | Fedora | | Red Hat |
csv-to-md -s ";" -a r tests/table.csv
# | OS | Creator | Company |
# |--------:|------------------:|----------:|
# | Ubuntu | Mark Shuttleworth | Canonical |
# | FreeBSD | | |
# | Fedora | | Red Hat |
csv-to-md -s ";" -a r tests/table.csv | xclip -selection clipboard # Copy markdown table in clipboard
psql -h 127.0.0.1 -U postgres postgres -c "select * from test" --csv | csv-to-md # Generate markdown table from PostgreSQL query
from markdown_table_generator import generate_markdown, table_from_string_list
# ====================================================
# Generate markdown table from list of list of strings
# ====================================================
rows = [
["OS", "Creator", "Company"],
["Ubuntu", "Mark Shuttleworth", "Canonical"],
["FreeBSD", None, None],
["Fedora", None, "Red Hat"],
]
table = table_from_string_list(rows, Alignment.CENTER)
markdown = generate_markdown(table)
print(markdown)
# | OS | Creator | Company |
# |:-------:|:-----------------:|:---------:|
# | Ubuntu | Mark Shuttleworth | Canonical |
# | FreeBSD | | |
# | Fedora | | Red Hat |
# ====================================================
# Generate markdown table from CSV
# ====================================================
csv = """
OS;Creator;Company
Ubuntu;Mark Shuttleworth;Canonical
FreeBSD;;
Fedora;;Red Hat
"""
table = table_from_csv(csv.splitlines(), ";", Alignment.RIGHT)
markdown = generate_markdown(table)
print(markdown)
# | OS | Creator | Company |
# |--------:|------------------:|----------:|
# | Ubuntu | Mark Shuttleworth | Canonical |
# | FreeBSD | | |
# | Fedora | | Red Hat |
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m build
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
pytest
ln -s "$(pwd)/sh/pre-commit.sh" .git/hooks/pre-commit
... and let's code!
FAQs
Library to generate Markdown table
We found that markdown-table-generator 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.