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.
cypress-bobril
Advanced tools
Cypress commands for searching bobril components.
Add following lines to your commands.ts:
/// <reference types="cypress-bobril" />
import "cypress-bobril/commands";
and change tsconfig.json:
{
"compilerOptions": {
...
"types": ["cypress-bobril"],
...
},
...
}
cypress-bobril is command plugin, so it adds following commands interacting with BBSeeker (tool for exploring virtual-dom and its data):
cy.injectBBSeeker
- Injects BBSeeker to testing window - injection is mandatory to run all the other commands.cy.visitWithBBSeeker
- Visits address using cy.visit
and injects BBSeeker to window using cy.injectBBSeeker
.cy.findElements
- Performs recursive search of a page virtual DOM starting from bobril root objects. All matching objects are returned as instances of HTMLElementcy.getData
- Returns selected bobril data node value.cy.getProperty
- Returns selected bobril property value.Prerequisites: installed bbcore.
To develope and debug commands just run testing bobril page within sampleApp by command:
bb
Then in the root directory install dependencies and run Cypress:
yarn
npx cypress open
[4.3.0] - 2022-09-23
FAQs
Cypress commands for searching bobril components.
The npm package cypress-bobril receives a total of 0 weekly downloads. As such, cypress-bobril popularity was classified as not popular.
We found that cypress-bobril demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.