
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.
For programmatically deploying an arbitrary number of pre-compiled smart contracts, and, Soon:tm:, interacting with them in all sorts of interesting ways.
The imported package contains three modules:
contracts
object, which contains the JSON of the default contractsDeployer
class
Deployer(web3Provider, accountAddress, gasLimit)
Deployer(web3Provider, accountAddress)
to let MetaMask handle transaction gasdeployer.addContract(compiledJSON)
compiledJSON
must be an undeployed, compiled Truffle artifact, i.e. the output of truffle compile
const instance = deployer.deploy(contractName, constructorParameters)
contracts
or the name of a contract added using addContract
src/deployer.js
for additional methods you may want to usedeploy
function, which exposes the internal API of Deployer
for stateless deployment
deploy(contractJSON, constructorParams, web3Provider, web3Account, gasLimit)
gasLimit
is optionalgetInstance
function, which retrieves a deployed contract given its artifact, its deployed address, a provider, and (optionally) a sender accountcallInstance
function, which calls a specified function from a given TruffleContract instance and returns the resultFAQs
Programmatic pre-compiled Truffle contract deployment
The npm package chain-end receives a total of 3 weekly downloads. As such, chain-end popularity was classified as not popular.
We found that chain-end 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
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.