
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
broccoli-retain-directive-header-comments
Advanced tools
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
I'm using this in conjunction with https://github.com/timmfin/sprockets-directive-loader so that Sprockets-style directive comments (like #= require ...
) are still available in the compiled JS and CSS output.
#= require ./other.js
# is converted to ...
###= require ./other.js ###`
#= require ./other.js
###= require ./two.js
#= require ./three.js
###
# is converted to ...
###= require ./other.js ###
###= require ./two.js ###
###= require ./three.js ###
###= require ./1.js
#= require ./2
#= require ./4 ###
# is converted to ...
###= require ./1.js ###
###= require ./2 ###
###= require ./4 ###
//= require ./other.css
// is converted to ...
/*= require ./other.css */
//= require ./other.css
//= require ./two.css
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
//= require ./other.css
/*= require ./two.css
= require ./three.css
*/
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
/*= require ./three.css */
FAQs
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
We found that broccoli-retain-directive-header-comments 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
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.