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.
@acrolinx/app-sdk
Advanced tools
SDK for apps running inside of the Acrolinx Sidebar.
npm install @acrolinx/app-sdk
import {RequiredCommands, RequiredEvents, DEVELOPMENT_APP_SIGNATURE, initApi} from '@acrolinx/app-sdk';
// Initialize the Acrolinx App API
const api = initApi({
appSignature: DEVELOPMENT_APP_SIGNATURE,
title: 'App Title',
button: {
text: 'Extract Text',
tooltip: 'Extract text from the document'
},
requiredCommands: [RequiredCommands.openWindow],
requiredEvents: [RequiredEvents.textExtracted],
});
// Listen to events
api.events.textExtracted.addEventListener(textExtractedEvent => {
console.log('textExtractedEvent', textExtractedEvent.text, textExtractedEvent.languageId);
});
// Execute commands
api.commands.openWindow('https://www.acrolinx.com');
If you prefer to code in plain old JavaScript without npm and without a bundler, you can use the minified browser bundle. In this case you can find the SDK in the global namespace acrolinxAppSdk.
<script src="https://unpkg.com/@acrolinx/app-sdk/dist/acrolinx-app-sdk.min.js"></script>
<script>
var api = acrolinxAppSdk.initApi({....
</script>
Please have a look at the corresponding live demo. Please note that this app does not do much when not loaded inside of an Acrolinx Sidebar.
The app icon needs to be named by convention "acrolinx-app-icon.svg" and must put next to the app html file (example).
Copyright 2019-present Acrolinx GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
For more information visit: https://www.acrolinx.com
FAQs
Acrolinx App SDK
We found that @acrolinx/app-sdk 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 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.