
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@luhuiguo/annotorious-selector-pack
Advanced tools
Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin
Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin.
Include the plugin in your page directl from the CDN:
<html>
<head>
<!-- Annotorious first -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious@latest/dist/annotorious.min.js"></script>
<!-- Selector Pack plugin -->
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious-selector-pack@latest/dist/annotorious-selector-pack.min.js"></script>
</head>
<body>
<img id="hallstatt" src="640px-Hallstatt.jpg">
<script>
window.onload = function() {
// Init Annotorious
var anno = Annotorious.init({
image: 'hallstatt'
});
// Init the plugin
Annotorious.SelectorPack(anno);
// [ 'rect', 'polygon', 'point', 'circle', 'ellipse', 'freehand' ]
console.log(anno.listDrawingTools());
anno.setDrawingTool('ellipse');
}
</script>
</body>
</html>
You can set the tools to include when initializing the plugin.
// Will only include ellipse and freehand, but not circle
Annotorious.SelectorPack(anno, {
tools: ['ellipse', 'freehand']
});
npm i @recogito/annotorious-selector-pack
To use the plugin in VueJS, please follow this guide.
To run in development mode:
$ npm install
$ npm start
FAQs
Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin
The npm package @luhuiguo/annotorious-selector-pack receives a total of 0 weekly downloads. As such, @luhuiguo/annotorious-selector-pack popularity was classified as not popular.
We found that @luhuiguo/annotorious-selector-pack 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.