
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.
Cryptocurrency icons set
npm i coin-icon
Optimazed way to use icons, since the icon is loading through URL.
Gettting started
images/svg
;svg
(github repo) to your public folder 'images/svg
;CoinIconProvider
with public folder path:<CoinIconProvider folderPath="'images/svg">
<App />
</CoinIconProvider>
CoinIcon
to your code:import { CoinIcon } from 'coin-icon';
<CoinIcon code="btc" />;
Details
width
and heigth
are equal to 1em
by default. To change icon's size change the font-size
of parent or current tag
.HTMLAttributes<HTMLDivElement>
interface from @types/react
package and custom properties described below:Property | Type | Required | Description |
---|---|---|---|
code | CoinIconCode | No | TypeScript literal type of icon code |
url | string | No | Image URL. For a case, when icon for a code is missing |
svg
folder<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<title>new-coin</title>
...
</svg>
Make sure that width
and height
property are removed.
src/interfaces/index.ts
file:export const CoinIconNameList = [
...
/* start */
'new-icon',
/* end */
...
];
FAQs
Cryptocurrency icons
We found that coin-icon 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
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.