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.
by Ty-Lucas Kelley
## ## ##### #### ##### ###### ###### ## ##
## ## ## # ## ## ## ## ## ## ##
## ## ## # ###### ## ## ## ####
## ## ## # ## ## ## ## ## ##
#### ##### ## ## ##### ###### ## ##
This is an unofficial client library for interacting with Udacity courses and users. It is made up of two parts:
Note that this is not an official Udacity product. They are allowed to change their internal API at any time, and I will try my best to make sure this library gets updated as well.
In the end, be sure to use this only for personal purposes, not any serious application with a lot of users.
It's on pip! Install it from the terminal, with Python 2 or 3:
$ pip install udacity
You can then include it in your application:
import udacity
The User
class is used to view a user's account info and see their progress in courses.
It includes a lot of convenience functions.
Run pydoc udacity.User
for information about each method and what it returns.
Example usage:
import udacity
user = udacity.User('email@example.com', 'password123')
name = user.name()
# print out quiz completion rate in each course
for course in user.enrollments():
prog = user.progress(course)
print('Course: ' + prog['title'])
print('\t' + str(prog['quizzes_completed']) + '/'
+ str(prog['quiz_count']) + ' quizzes completed')
The Catalog
class can be used to filter data from Udacity's Catalog API. It has
plenty of convenience functions.
Run pydoc udacity.Catalog
for information about each method and what it returns.
Example usage:
import udacity
c = udacity.Catalog()
tracks = c.tracks()
track_names = [t['name'] for t in tracks]
web_dev_teachers = c.instructors('cs253')
nd001_description = c.degree('nd001')['expected_learning']
FAQs
Library for interacting with Udacity account data and course progress
We found that udacity 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.