Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
bake-dependencies
Advanced tools
Bake simple dependencies into their dependent files for self-contained packages
Bake simple dependencies into their dependent files for self-contained packages
bake-dependencies
turns this:
const import = require('./import') // src/index.js
module.exports = 'IMPORT' // src/import.js
into this:
const import = "IMPORT" // index.js
IMPORTANT: This works only for primitive data, no functions!
npx bake-dependencies src/index.js index.js
const bakeFS = require('bake-dependencies/fs')
bakeFS('src/index.js', 'index.js')
const bake = require('bake-dependencies')
const sourceFile = fs.readFileSync('src/index.js')
const bakedFile = bake(sourceFile, 'src')
FAQs
Bake simple dependencies into their dependent files for self-contained packages
We found that bake-dependencies 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.