
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@geneontology/wc-light-modal
Advanced tools
This is a lightweight web component to display modals. It allows notably to include HTML content in the modal card. The modal can be triggered by 3 methods: open()
, close()
or toggle()
.
To start the component in a dev environment:
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
<script src='https://unpkg.com/@geneontology/wc-light-modal/dist/wc-light-modal.js'></script>
in the head of your index.html<html>
<head>
<script src="https://unpkg.com/@geneontology/wc-light-modal/dist/wc-light-modal.js"/>
</head>
<body>
<wc-light-modal modal-title="Your Modal Title"
modal-content="Your Modal Content including HTML: <button>test button</button>"></wc-light-modal>
</body>
</html>
By assigning an id to the modal HTML element, one can also interact with is using the methods open()
, close()
and toggle()
.
npm install @geneontology/wc-light-modal --save
<script src='node_modules/@geneontology/wc-light-modal/dist/wc-light-modal.js'></script>
in the head of your index.htmlFAQs
Lightweight modal web component
We found that @geneontology/wc-light-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.