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.
calendar-month
Advanced tools
node
npm i calendar-month --save
bower
bower i calendar-month --save
example:
var Month = require('./month');
Month.config({ startDay: 1 });
// months from 0 (january) ... to 11 (december)
new Month(2016, 3);
returns:
Month {
year: 2016,
month: 3,
meta: {
date: 'Tue Mar 01 2016 00:00:00 GMT+0100 (CET)',
lastDay: 31,
lastWeekDay: 4,
startDay: 1
},
list: [
{ date: 29, previous: true },
{ date: 1 },
{ date: 2 },
{ date: 3 },
{ date: 4 },
{ date: 5 },
{ date: 6 },
{ date: 7 },
{ date: 8 },
{ date: 9 },
{ date: 10 },
{ date: 11 },
{ date: 12 },
{ date: 13 },
{ date: 14 },
{ date: 15 },
{ date: 16 },
{ date: 17 },
{ date: 18 },
{ date: 19 },
{ date: 20 },
{ date: 21 },
{ date: 22 },
{ date: 23 },
{ date: 24 },
{ date: 25 },
{ date: 26 },
{ date: 27 },
{ date: 28 },
{ date: 29 },
{ date: 30 },
{ date: 31 },
{ date: 1, next: true },
{ date: 2, next: true },
{ date: 3, next: true },
{ date: 4, next: true },
{ date: 5, next: true },
{ date: 6, next: true },
{ date: 7, next: true },
{ date: 8, next: true },
{ date: 9, next: true },
{ date: 10, next: true }
]
}
FAQs
vanillajs month data handler
We found that calendar-month 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.