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.
The goal of this gem is to parse a crontab timing specification and produce an object that can be queried about the schedule.
This gem began as an extraction of Rufus::CronLine from the rufus-scheduler gem.
sch = Whedon::Schedule.new('30 * * * *')
# Most Recent
sch.last
# Upcoming
sch.next
# Next after date/time argument
sch.next("2020/07/01")
# Given date/time matches cron string
sch.matches?("2020/07/01 14:00:00")
# Time.now matches cron string
sch.now?
# Give cron string represented as an array
# [seconds minutes hours days months weekdays monthdays timezone]
sch.to_a
Why 'whedon' ? First, when was taken. I was considering variations on 'when do', & it occurred to me that 'whedon' (a la Joss Whedon) was an obvious anagram of 'when do'. The pun regarding Whedon::Schedule being that Joss Whedon's television series tend to get pulled from the network schedule.
FAQs
Unknown package
We found that whedon 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.