
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.
double-latte
Advanced tools
Python-like MRO based multiple inheritance for CoffeeScript.
Works with all javascript engines supported by CoffeeScript.
{multiple, isinstance, issubclass} = require "double-latte"
class A
constructor: ->
console.log "A"
class B extends A
constructor: ->
console.log "B"
super
class C extends A
constructor: ->
console.log "C"
super
class D extends multiple B, C
constructor: ->
console.log "D"
super
d = new D # will print D; B; C; A;
isinstance d, B # true
npm install double-latte
Q: Can I use this with <insert favorite compile-to-javascript language here> *
A: Probably not. This relies on the cls.__super__ property that CoffeeScript uses to figure out what parent to call. If your compiler does that, then maybe.
Q: How fast is this?
A: Fast enough ( Guido for president! ). If you're that worried about performance then you should probably code in javascript directly.
Q: What's the deal with isinstance?
A: For technical reasons, the instanceof operator doesn't work with classes that have multiple parents. The isinstance and issubclass are provided to work around this fact.
FAQs
Multiple inheritance for CoffeeScript
We found that double-latte 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.