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.
jupyter-display-area
Advanced tools
Prototype Web Component for Jupyter Display areas
npm install jupyter-display-area
<script>
// Include a polyfill if the browser isn't fully supported
if ('registerElement' in document
&& 'createShadowRoot' in HTMLElement.prototype
&& 'import' in document.createElement('link')
&& 'content' in document.createElement('template')) {
console.log("Native web components supported!");
} else {
document.write('<script src="https:\/\/cdnjs.cloudflare.com/ajax/libs/polymer/0.3.4/platform.js"><\/script>')
}
</script>
<link rel="import" href="dist/jupyter-display-area.html">
<jupyter-display-area id="play-display"></jupyter-display-area>
<script>
area = document.querySelector("#play-display");
area.handle(iopub_message); // Accepts Jupyter Protocol messages
</script>
npm run build
dist/jupyter-display-area.html
- Web Component with fully inlined scriptsdist/jupyter-display-area.local.html
- Web Component with separate scriptdist/jupyter-display-area.js
- Script to pair with jupyter-display-area.local.htmlsrc
The transpiled ES5 javascript ends up in lib/
while the original ES6 sources
are in src/
. These are intended for use in Electron/Atom, though you may want
to just use the browserified/bundled web component. Your choice!
Run npm run dev
to do automated watch, build, serve, and live-reload.
npm run dev
FAQs
Web component for Jupyter kernel rich output/display
We found that jupyter-display-area demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.