
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).
persistentidgenerator
Advanced tools
This packages allows creating squential ids for financial entities. It's a fairly simple program that allocates 1 billion ids for each entity.
This Python program provides a robust solution for generating sequential IDs for various entities. It supports up to a billion IDs per entity with the option to expand further. Additionally, it allows for the deletion and reuse of IDs.
fx
: 1 (fx)prices
: 2 (hp)static
: 3 (sec)index
: 4 (idx)benchmarks
: 5 (bmrk)holdings
: 6 (hld)portfolio
: 7 (por)entity
: 8 (ent)other
:0 (oth)Ensure that you have SLITE_DB_PATH environment variable set. If not it'll store in profile and wont be persistent if you have concurrent users.
It has a class and multiple methods
Classes
guidgen
: All methods of the program are written hereMethods
generate_id()
: Creates the sqlite database for persistent storagedrop_id()
: Checks if the table existslogger()
: Creates new table, if table doesn't exist in databaseExamples
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please contact email@debmishra.me.
FAQs
This packages allows creating squential ids for financial entities. It's a fairly simple program that allocates 1 billion ids for each entity.
We found that persistentidgenerator 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.