
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).
tdl-install-types
Advanced tools
A cli utility that generates TypeScript (and optionally Flow) types for TDLib, potentially fetching the needed schema from the TDLib's GitHub repository. These types can be used with the tdl library.
This utility can be launched via npx
without manually installing it.
By default, a tdlib-types.d.ts
file is created that you can git-commit.
$ npx tdl-install-types [<options>] [<target>]
Examples:
$ npx tdl-install-types # tries to use prebult-tdlib
$ npx tdl-install-types prebuilt-tdlib # same as above
$ npx tdl-install-types ./libtdjson.so # generate types for this shared library
$ npx tdl-install-types 0ada45c3618108a62806ce7d9ab435a18dac1aab # commit hash
$ npx tdl-install-types v1.8.0 # git tag in the TDLib repository
$ npx tdl-install-types ./td_api.tl # types for the given TDLib tl schema
For more information, see npx tdl-install-types --help
.
tdl-install-types@0.3.0 (2024-07-19)
number | string
instead of string
for int64
types
in output positions (the input int64 is still number | string
).prebuilt-tdlib
: can now use TDLib commit and version
from prebuilt-tdlib/package.json
instead of always extracting the commit
hash from the library file. The --prebuilt-tdlib
option is replaced with the
prebuilt-tdlib
argument (--prebuilt-tdlib
is deprecated).FAQs
Generate TypeScript (and Flow) types for TDLib
The npm package tdl-install-types receives a total of 13 weekly downloads. As such, tdl-install-types popularity was classified as not popular.
We found that tdl-install-types demonstrated a not healthy version release cadence and project activity because the last version was released 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.