Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Canvas LMS client: Download submissions, upload grades and comments from excel
A python client for grading canvas submissions.
Make sure you have installed pip
and python3
Install the client: pip install canvas_client
Create and open a folder where you want to download the submissions
Create a config.json
file by running canvas_client
in terminal (the config will be saved in the current folder)
Fill the config properly (see the notes below):
e.g:
{
"url": "canvas.university.edu",
"access_token": "1234abcdef",
"course_id": 157,
"labs": {
"L1": {
"assignment_id": 1024
},
"L2": {
"assignment_id": 1025
}
}
}
Note$^1$: you can find the course id
and assingment id
by opening the approriate assingment in canvas:
Note$^2$: to get an access token: open canvas, go to Your profile
-> Settings
-> New access token
-> Generate Token
-> copy the value
Download the submissions:
canvas_client <assingment name> -d
e.g.:
canvas_client L1 -d
This command downloads the submissions into the assigments
folder and creates an L1.xls
file with the student names, comments, etc. Write the grades and comments into this file.
To upload the grades and comments:
canvas_client <assingment_name> -u
e.g.:
canvas_client L1 -u
This command uploads the content of the L1.xls
Note: the grades will appear on canvas after 10-15 seconds (refresh the page if necessary)
FAQs
Canvas LMS client: Download submissions, upload grades and comments from excel
We found that canvas-client 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.