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.
@rckeller/cypress-unfetch
Advanced tools
Unofficial Cypress utilities for tracking network state
npm i -D @rckeller/cypress-unfetch
These utilities automatically configure your cypress instance upon import.
// support/index.js
import '@rckeller/cypress-unfetch'
We recommmend setting up the optional cy.await
command, which tracks in-flight requests in the background.
You can use this to wait for network state to resolve before progressing to a new test run.
// support/index.js
import '@rckeller/cypress-unfetch/await'
// You can add an afterEach to this file, which becomes "global"
afterEach(() => {
cy.await()
})
Registering cy.await
starts a server in the background, which can be used to track and block specific routes like so.
// in support/index.js OR a test
beforeEach(() => {
cy.route('/api/**').as('API')
})
test('something', () => {
cy.log('before...')
.wait('@API')
.log('...after')
})
FAQs
Unofficial Cypress utilities for tracking network state
The npm package @rckeller/cypress-unfetch receives a total of 1,222 weekly downloads. As such, @rckeller/cypress-unfetch popularity was classified as popular.
We found that @rckeller/cypress-unfetch 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.