
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).
The hub for natural language processing (nlp) engines. Fork (https://github.com/marcelofelman/nlp-hub.git)
This is a library to connect different recognizers to a bot, currently supports:
By now, the only strategy supported is that of firsMatch, it goes through the configured recognizers and when the first one passes a certain threshold it returns the common data structure of the response. You must configure a default response as detailed in the example. This library is an open source and anyone who wants to participate will be welcome.
Use example:
const configuration: INlpHubConfiguration = {
threshold: 0.83,
recognizers: [
{
id: "HolaRegex",
type: "regex",
params: {
intent: "greetings",
exp: "(^hola$|^holaa$|^holas$|^holi$|^holis$|^hi$|^hello$)"
}
},
{
id: "recommender",
type: "regex" ,
params: {
intent: "recommender",
exp: "^Comprar vuelo$"
}
},
{
id: "Luis-1",
type: "luis",
params: {
"appId": "APP_ID",
"key": "SUBS_KEY",
"appHost": "http://westus.api.cognitive.microsoft.com" }
},
{
id: "Rasa-1",
type: "rasa",
params: {
appHost: "http://RASA_HOST"
}
},
{
id: "default-1",
type:"default" ,
params: {
intent: "NoneDialog"
}
}
]
};
const nlpHub: NlpHub = new NlpHub(configuration);
const utterance: string = 'Hola';
const response: any = await nlpHub.firstMatch(utterance);
FAQs
The hub for natural language processing (nlp) engines. Fork (https://github.com/marcelofelman/nlp-hub.git)
The npm package nlp-hub-v4 receives a total of 36 weekly downloads. As such, nlp-hub-v4 popularity was classified as not popular.
We found that nlp-hub-v4 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.