Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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
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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.