Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
This is an simplified implementation of the paper [LogMine: Fast Pattern Recognition for Log Analytics](https://www.cs.unm.edu/~mueen/Papers/LogMine.pdf). The idea is to use a distance function to calculate a distance between to log line and group them in
This is an simplified implementation of the paper LogMine: Fast Pattern Recognition for Log Analytics. The idea is to use a distance function to calculate a distance between to log line and group them into clusters.
npm install logmining
import { Cluster, clustering, ILog, Token, TokenType } from "logmining";
const logs:Ilog[] = ...
const clusters = clustering(logs);
//view clusters
Query kustro:
database('vscode-ext-aggregate').table('teamsfx_all')
| where ExtensionName == "ms-teams-vscode-extension"
| where ServerTimestamp >= datetime(2021-6-28)
| extend event = trim_start("ms-teams-vscode-extension/", EventName)
| extend component = tostring(Properties["component"])
| extend success = tostring(Properties["success"])
| extend appid = tostring(Properties["appid"])
| extend correlationId = tostring(Properties["correlation-id"])
| extend resources = tostring(Properties["resources"])
| extend errorType = tostring(Properties["error-type"])
| extend errorCode = tostring(Properties["error-code"])
| extend errorMsg = tostring(Properties["error-message"])
| project ServerTimestamp, version=ExtensionVersion, event, component, success, errorType, errorCode, errorMsg, machineId=VSCodeMachineId, correlationId
| where success == "no"
| where errorType == "system"
| where version matches regex "^2.6.0$"
Export data in excel format:
Run the clustering program on you exported excel data:
npm install
npm run build
node .\dist\processErrorMsg.js <error excel file path>
The clustering results have two files in the same folder of input excel file: one html file and one json file:
The html file is a list of clusters (order by the size of cluster):
The json file is the json data of clusters, including some basic statistics of clusters:
FAQs
This is an simplified implementation of the paper [LogMine: Fast Pattern Recognition for Log Analytics](https://www.cs.unm.edu/~mueen/Papers/LogMine.pdf). The idea is to use a distance function to calculate a distance between to log line and group them in
The npm package logmining receives a total of 0 weekly downloads. As such, logmining popularity was classified as not popular.
We found that logmining 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.