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.
a.k.a AI's View or Terminator's View, is pure canvas library to overlay measurement data on top of analysed images.
An online demo is available. Also check examples/
and examples/fixtures.json
for an
example of input data.
Having some properties/features extracted from a given image:
props =
src: 'http://foo.com/bar.png'
cover:
colors: ...
saliency: ...
histogram: ...
We can setup AlanView
to draw those features into a given canvas:
view = new AlanView
canvas: document.getElementById 'some-canvas'
maxWidth: 500
maxHeight: 300
view.draw props
Should give something like:
It is also possible to hide layers:
view = new AlanView
canvas: document.getElementById 'some-canvas'
maxWidth: 500
maxHeight: 300
noCircle: true
noSceneFading: true
noColors: true
view.draw props
Those are the options available:
noSaliency
: hides the salient region bounding box
noPolygon
: hides the polygon around the salient regionnoCircle
: hides the circle around the salient regionnoFaces
: hides faces bounding boxes
noFaceConfidence
: hide confidence levels for facesnoScene
: hides scene bounding box
noSceneFading
: hides the fading bounding box around scenenoLines
: hides rows/columns bounding boxesnoColors
: hides the color palettenoTextregions
: hides textual regionsnoBackground
: do not clean the background (good for overlays)FAQs
Alan's view for a given image
The npm package alan-view receives a total of 5 weekly downloads. As such, alan-view popularity was classified as not popular.
We found that alan-view 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.