
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).
taranis-sentiment-analysis
Advanced tools
This project integrates sentiment analysis into Taranis AI, allowing for the classification of news items as positive, negative, or neutral using transformer models. The API intelligently chooses the appropriate model based on the text length, utilizing XLM-RoBERTa for shorter texts and Longformer for longer texts.
To install dependencies:
pip install -r requirements.txt
To start the Flask API:
python -m sentiment_analysis.api.api_multimodel
By default, the API runs at http://127.0.0.1:5003/.
To test the API with a POST request, use curl:
curl -X POST http://127.0.0.1:5003/analyze_sentiment \
-H "Content-Type: application/json" \
-d '{"text": "This is an example sentence to analyze sentiment."}'
{
"sentiment": {
"label": "POSITIVE",
"score": 0.94
}
}
EUROPEAN UNION PUBLIC LICENCE v. 1.2
FAQs
Sentiment analysis Bot for Taranis AI
We found that taranis-sentiment-analysis 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.