
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@solflare-wallet/pfp
Advanced tools
import { Connection, PublicKey } from '@solana/web3.js';
import { getProfilePicture } from '@solflare-wallet/pfp';
const connection = new Connection('https://api.mainnet-beta.solana.com');
const walletPubkey = new PublicKey('ES8rZr16f5eAc9PkUcAbafwg5JjEJANbpwu92CF2Cbox');
const { isAvailable, url } = await getProfilePicture(connection, walletPubkey);
function getProfilePicture (connection: Connection, publicKey: PublicKey, config: ProfilePictureConfig): Promise<ProfilePicture>
connection
- RPC connection objectpublicKey
- The public key of the walletconfig
(optional)
fallback
- Boolean, use a fallback generated image (default true
)Object with the following fields:
isAvailable
- booleanurl
- The URL of the profile image, always populated (either a fallback image or an empty-image icon), you can choose to ignore it if isAvailable
is falsefunction createSetProfilePrictureTransaction (ownerPublicKey: PublicKey, mintPublicKey: PublicKey, tokenAccountPublicKey: PublicKey): Promise<Transaction>
ownerPublicKey
- The public key of the walletmintPublicKey
- The public key of the NFT's minttokenAccountPublicKey
- The public key of the token account that holds the NFTA Web3 Transaction object
function createRemoveProfilePictureTransaction (ownerPublicKey: PublicKey): Promise<Transaction>
ownerPublicKey
- The public key of the walletA Web3 Transaction object
FAQs
## Description
The npm package @solflare-wallet/pfp receives a total of 33 weekly downloads. As such, @solflare-wallet/pfp popularity was classified as not popular.
We found that @solflare-wallet/pfp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.