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.
Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)
Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)
An example for Typescript...
import AddCal, {EventParams, generators} from 'addcal';
export class AppComponent {
private addCal:AddCal;
public constructor(){
this.addCal = new AddCal({
google: {
apiKey: '<YOUR_API_KEY>',
clientKey: '<YOUR_CLIENT_ID>'
}
});
}
/**
* Add event to an api service (google, etc.)
*/
public click_addEvent(eventData, service /* 'google' */){
const params = new EventParams({
summary: eventData.summary, // 'Event Summary'
description: eventData.description, // 'Event description.'
start: eventData.start, // new Date()
duration: eventDate.duration, // 60 minutes
url: eventData.url // 'http://www.google.com'
});
this.addCal.addEvent(service, params)
.then(() => {
console.log('The reminder was added!');
})
.catch((err) => {
console.log('There was a problem adding the reminder');
})
;
}
/**
* Download an .ics file
*/
public click_downloadEvent(eventData, type /* 'ical' */){
const params = new EventParams({
summary: eventData.summary, // 'Event Summary'
description: eventData.description, // 'Event description.'
start: eventData.start, // new Date()
duration: eventDate.duration, // 60 minutes
url: eventData.url // 'http://www.google.com'
});
this.addCal.download(type, params); // Or use `generators.ICALENDAR` for 'type' param
}
}
FAQs
Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)
The npm package addcal receives a total of 2 weekly downloads. As such, addcal popularity was classified as not popular.
We found that addcal 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.