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.
@gatsby-contrib/gatsby-transformer-ipynb
Advanced tools
Search for gatsby; implemented via elasticlunr.
Parses jupyter notebook files.
npm install --save @gatsby-contrib/gatsby-transformer-ipynb
// In your gatsby-config.js
plugins: [`@gatsby-contrib/gatsby-transformer-ipynb`];
It recognizes files with the ipynb
extension.
Each notebook file is parsed into a node of type JupyterNotebook
.
This plugin adds additional fields to the JupyterNotebook
GraphQL type
including:
html
: html string created using the react component NotebookRender
from @gatsby-contrib/notebook-render
.metadata
: jupyter notebooks can embed metadata to indicate authors, titles...json
: the json notebook code converted into a javascript object with JSON.parse
.internal.content
: contains the raw notebook code, it can be used to feed the react component NotebookPreview
from @gatsby-contrib/notebook-preview
.A sample GraphQL query to get JupyterNotebook nodes:
{
query
JupyterQuery {
allJupyterNotebook {
edges {
node {
id
metadata {
kernelspec {
name
language
display_name
}
}
html
json {
nbformat
nbformat_minor
cells {
cell_type
execution_count
}
}
internal {
content
}
}
}
}
}
}
FAQs
Search for gatsby; implemented via elasticlunr.
We found that @gatsby-contrib/gatsby-transformer-ipynb 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.