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.
python-google-calendar-api
Advanced tools
This package demonstrates a simple implementation of Google calendar api and let you create and update events.
The first step is to turn on your google calendar api.
a. Use the following link to create or select a project from the google developer console and turn on the api.
https://console.developers.google.com/start/api?id=calendar
Click continue and go to credentials.
b. On the Add credentials to your project page, click the Cancel button.
c. At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button.
d. Select the Credentials tab, click the Create credentials button and select OAuth client ID.
e. Select the application type "Other", enter the desired name, and click the Create button.
f. Click OK to dismiss the resulting dialog.
g. Click the Download JSON button to the right of the client ID.
h. Move this file to your projects home directory and rename it client_secret.json.
Install the package using the folowing command
pip install python-google-calendar-api
Once the client_secret.json file is in your projects home directory and the this package is installed, you are able to create and update events on your google calendar.
Example code:
from calendar_api.calendar_api import google_calendar_api m=google_calendar_api() m.create_event(calendar_id='', start='2017,12,5,15,00,00', end='2017,12,5,15,15,00' description='foo' )
FAQs
A simple app to integrate Google calendar.
We found that python-google-calendar-api demonstrated a healthy version release cadence and project activity because the last version was released less than 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.