
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
PowerGrid is a high-performance Python library for looking up Transmission System Operators (TSOs) based on ISO country-region codes.
📝 Note: This version currently supports French region codes only.
🎯 Contributors are welcome to extend it to other countries!
📝 Version 0.2.1:
- ✅ **Now handle TSO for Germany and Corsica.
📝 Version 0.2.0:
- ✅ Now returns full
Tso
objects instead of just IDs.- ✅ Uses a shared
constants.py
file for managing data source paths.- ✅ Case-insensitive searches for region codes & ENTSO-E codes.
✅ Blazing-fast in-memory lookup
✅ Search by:
✅ Case-insensitive searches
✅ Optimized for REST APIs and large-scale queries
PowerGrid is available on PyPI at https://pypi.org/project/powergrid/
Install it with:
uv pip install powergrid
from tso_finder import TsoFinder
finder = TsoFinder()
print(finder.by_region("FR-IDF")) # Output: "TSO_FR_001"
print(finder.by_tsoid("TSO_FR_001")) # Output: ["FR-IDF", "FR-ARA", ...]
print(finder.by_entsoe("10YFR-RTE------C")) # Output: <Tso object for RTE>
We welcome contributions!
To contribute:
PowerGrid is MIT Licensed.
See the LICENSE file for details.
FAQs
A high-performance lookup library for Transmission System Operators (TSOs)
We found that powergrid 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.