
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.
mini-coffeecup
Advanced tools
Inspired by coffeecup, and ck, and mini-handlebars libraries.
As I was developing mini-coffeecup, I had a better idea which became coffee-templates. I will still keep mini-coffeecup around for posterity, but no new features are likely to be added.
# this line is only required within node
MiniCoffeeCup = require 'mini-coffeecup'
# initialize new engine
coffeecup = new MiniCoffeeCup format: true
# provide template expression
template = (data) ->
doctype 5
html ->
head ->
title @title
body ->
p 'Hello, {{name}}!'
p 'Here are your Christmas lists ({{santa_laugh}}):'
table ->
thead ->
tr ->
block 'each children, name', ->
th '{{name}}'
tbody ->
tr ->
block 'each children, name', ->
td ->
block 'each list', ->
ul ->
li '{{this}}'
# for example
locals =
title: 'Christmas List'
# render coffeecup template to html
console.log coffeecup.render template, locals
As usual, for the latest examples, review the easy-to-follow ./test/test.coffee.
Or try it immediately in your browser with codepen.
FAQs
Minimalist CoffeeCup.js
The npm package mini-coffeecup receives a total of 15 weekly downloads. As such, mini-coffeecup popularity was classified as not popular.
We found that mini-coffeecup 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.