
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
Implement the SuperMemo 2 algorithm.
Check this article for detail: https://www.supermemo.com/english/ol/sm2.htm
import supermemo2 from 'supermemo2'
let quality // A number between 0 and 5 that indicate the quality of review. 0 is the worse while 5 is the best.
let lastSchedule // The duration of last review space.
let lastFactor // The factor that was used to caculate last schedule.
let ret = supermemo2(quality, lastSchedule, lastFactor)
The output will be:
{
schedule: Number, // The next review space.
factor: Number, // The factor that should be use in the next round of caculation.
isRepeatAgain: Boolean // If is true, should review the item again until the quality is not less than 4.
}
FAQs
An implement of supermemo 2 algorithm.
The npm package supermemo2 receives a total of 68 weekly downloads. As such, supermemo2 popularity was classified as not popular.
We found that supermemo2 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.