
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).
Beautiful, powerful, and pythonic benchmarks engine for Python code.
Features:
sorting algorithms
list.sort
possible side-effect detected: slowest iteration x21 slower than fastest
5k loops, best of 5: 43.579 us ± 12.681 us ████▇
11 ops, 3961 ns/op
sorted
5k loops, best of 5: 43.911 us ± 3.697 us x1.01 slower █████
11 ops, 3991 ns/op
insert_sort
2 loops, best of 5: 100.662 ms ± 111.725 us x2309.85 slower █████
11_683_767 ops, 8 ns/op
python3 -m pip install true-north
import true_north
group = true_north.Group()
@group.add
def math_sorted(r):
val = [1, 2, 3] * 300
# timer start before entering the loop
# and stops when leaving it
for _ in r:
sorted(val)
# run and print all benchmarks in the group
if __name__ == '__main__':
group.print()
See examples for more examples and true-north.orsinium.dev for chad documentation.
FAQs
Beautiful and pythonic benchmarks engine.
We found that true-north 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.