
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).
sails-js-parser
Advanced tools
The sails-js-parser
is designed to parse Sails IDL files, producing an output that can be used to generate client libraries or facilitate interaction with Gear blockchain programs.
To install the sails-js-parser
library:
npm install sails-js-parser
import { SailsIdlParser } from 'sails-js-parser';
const parser = await SailsIdlParser.new();
Often used with sails-js
:
import { Sails } from 'sails-js';
import { SailsIdlParser } from 'sails-js-parser';
const parser = await SailsIdlParser.new();
const sails = new Sails(parser);
const idl = `
constructor {
New : ();
};
service SailsApp {
DoSomething : () -> str;
};
`
const program = parser.parse(idl);
The parse
method returns a Program instance representing the parsed IDL.
FAQs
Sails-IDL parser for TypeScript
The npm package sails-js-parser receives a total of 277 weekly downloads. As such, sails-js-parser popularity was classified as not popular.
We found that sails-js-parser 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.