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.
= +rcov+
+rcov+ is a:
If you want to use the command line tool, the output from rcov -h is self-explicative.
If you want to automate the execution of +rcov+ via Rake or Rant, take a look at readme_for_rake[link:files/README_rake.html] or readme_for_rant[link:files/README_rant.html], respectively.
If you want to use the associated library, read on.
== Usage of the +rcov+ runtime/library
+rcov+ is primarily a tool for code coverage analysis, but since 0.4.0 it exposes some of its code so that you can build on top of its heuristics for code analysis and its capabilities for coverage information and execution count gathering.
The main classes of interest are Rcov::FileStatistics, Rcov::CodeCoverageAnalyzer and Rcov::CallSiteAnalyzer.
Rcov::FileStatistics can use some heuristics to determine which parts of the file are executable and which are mere comments.
Rcov::CodeCoverageAnalyzer is used to gather code coverage and execution count information inside a running Ruby program.
Rcov::CallSiteAnalyzer is used to obtain information about where methods are defined and who calls them.
The parts of +rcov+'s runtime meant to be reused (i.e. the external API) are documented with RDoc. Those not meant to be used are clearly marked as so or were deliberately removed from the present documentation.
FAQs
Unknown package
We found that spicycode-rcov demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.