
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).
"Reality is merely an illusion, albeit a very persistent one."
~ Albert Einstein
FakeNOS created to simulate Network Operating Systems interactions.
Crucial aspect of writing applications or scripts for Network Automation is testing, often testing done using physical or virtual instances of network appliances running certain version of Network Operating System (NOS). That approach, while gives best integration results, in many cases carries a lot of overhead to setup, run and tear down as well as putting significant burden on compute and storage resource utilization.
Other approach is to mock underlying libraries methods to fool applications under testing into believing that it is getting output from real devices. That approach works very well for unit testing, but fails to simulate such aspects as connection establishment and handling.
FakeNOS positions itself somewhere in the middle between full integration testing and testing that mocks device interactions. FakeNOS allows to create NOS plugins to produce pre-defined output to test applications behavior while running servers to establish connections with.
FakeNOS can:
Send input and get the output - this is how we interact with many Network Operating Systems, FakeNOS allows to pre-define the output to sent in response to certain input commands, making it ideal for isolated feature testing.
FakeNOS is a micro-kernel framework that can be extended using plugins. The core is kept small and optimized while most of the functionality offloaded to plugins.
FakeNOS has these pluggable systems:
FakeNOS is a simulator, it does not emulate any of Network Control, Data or Management planes, it merely takes the commands as input and responds with predefined output.
FAQs
Fake Network Operating System
We found that fakenos demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.