Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
csproj-integrity
Advanced tools
Node library for check the visual studio solution integrity parsing the csproj file.
You can use it with Grunt Plugin grunt-csproj-integrity
npm install csproj-integrity --save-dev
This task takes an array of path and check if all files are included in the .csproj file.
Arguments:
[string / array] - the globby path of files to check.
Output JSON
{
"status": [string] ["success", "error", "fail"],
"message": [string],
"data": [object]
}
In case of success the data is empty.
Usage example
const csproj = require('csproj-integrity');
csproj
.checkFiles(['Views/**/*.cshtml', 'Controllers/**/*.cs'])
.then(res => {
let response = JSON.parse(res);
// your code
})
.catch(err => {
console.log(err.message);
});
This task check if all file included in the csproj file actually exist.
No arguments.
Output JSON
{
"status": [string] ["success", "error", "fail"],
"message": [string],
"data": [object]
}
If case of success the data is all file founded in csproj file.
Usage example
const csproj = require('csproj-integrity');
csproj
.checkIntegrity()
.then(res => {
let response = JSON.parse(res);
// your code
})
.catch(err => {
console.log(err.message);
});
FAQs
Check csproj file (Visual Studio) integrity
The npm package csproj-integrity receives a total of 400 weekly downloads. As such, csproj-integrity popularity was classified as not popular.
We found that csproj-integrity demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.