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.
website-visual-diff
Advanced tools
Compare your website before and after making changes
var VISUAL_DIFF_CONFIG = {
baseFolder: path.join(__dirname, '/visual_diff'),
urlBase: 'http://localhost:8000',
cookies: [{
url: 'http://localhost:8000/',
name: 'my-secret-cookie',
value: 'any-cookie',
}],
sizes: [{
// Mobile
width: 320,
height: 568,
}, {
// Large
width: 1280,
height: 800,
}],
pages: [{
name: 'events',
url: `/events/`,
}, {
name: 'appointments',
url: `/appointment/`,
}, {
name: 'account',
url: `/account/`,
}]
}
// Caches screenshots
// RUN IT before making changes to CSS/HTML
gulp.task('diff:cache', function() {
return vdiff.cache(VISUAL_DIFF_CONFIG);
})
// Creates new screenshots and compares them with cached screenshots
gulp.task('diff:compare', function() {
return vdiff.compare(VISUAL_DIFF_CONFIG);
})
// Copies new screenshots into cache
// RUN IT if you want to update the cache with last taken screenshots
gulp.task('diff:copy', function() {
return vdiff.copy(VISUAL_DIFF_CONFIG);
})
// Removes all screenshots (both cache and current)
gulp.task('diff:clean', function() {
return vdiff.clean(VISUAL_DIFF_CONFIG);
})
FAQs
Compare your website before and after making changes
The npm package website-visual-diff receives a total of 1 weekly downloads. As such, website-visual-diff popularity was classified as not popular.
We found that website-visual-diff 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’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.