
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
This is a simple tool for determining a student's progress on a codecademy tutorial.
var codecademy = require('codecademy')
/**
* This should be the user name from the user's profile.
* It will resolve to http://www.codecademy.com/[user]
*/
var user = "UserName"
/**
* This should be the unique course name.
* If you hover a card on a user's profile, your browser will show the url.
* It will resolve to http://www.codecademy.com/tracks/[course]
*/
var course = "CourseName"
codecademy.getProgress(user,course,function(e,progress) {
if(e.message === "EEUSER") return console.log("User Does Not Exist!")
if(e) return console.log(e)
console.log(user+" has completed "+progress+"% of "+course)
})
As a screen scraper, this tool is inherently fragile. If Codecademy changes up their website, this tool will stop working. As such, I have included a solid set of tests that cover the use cases for this app. Simply run npm test
to make sure the tool still works. These tasks require network, and will fail if not present.
FAQs
Screen scrapes the codecademy website to get student progress
The npm package codecademy receives a total of 3 weekly downloads. As such, codecademy popularity was classified as not popular.
We found that codecademy 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.