
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@nucypher/taco
Advanced tools
@nucypher/taco
nucypher/taco-web
taco
versionsTo use taco
, you need to connect with a proper network: mainnet
, testnet
, or devnet
. You can find a proper version for each network in the npmjs.com package tags.
Visit our documentation to learn more.
First, install the package:
$ yarn add @nucypher/taco ethers@5.7.2
import { conditions, domains, encrypt, initialize } from '@nucypher/taco';
import { ethers } from 'ethers';
// We have to initialize the TACo library first
await initialize();
const web3Provider = new ethers.providers.Web3Provider(window.ethereum);
const ownsNFT = new conditions.predefined.ERC721Ownership({
contractAddress: '0x1e988ba4692e52Bc50b375bcC8585b95c48AaD77',
parameters: [3591],
chain: 5,
});
const message = 'my secret message';
const messageKit = await encrypt(
web3Provider,
domains.TESTNET,
message,
ownsNFT,
ritualId,
web3Provider.getSigner(),
);
import { decrypt, domains, getPorterUri, initialize } from '@nucypher/taco';
import { ethers } from 'ethers';
// We have to initialize the TACo library first
await initialize();
const web3Provider = new ethers.providers.Web3Provider(window.ethereum);
const decryptedMessage = await decrypt(
web3Provider,
domains.TESTNET,
messageKit,
web3Provider.getSigner(),
);
Please find developer documentation for TACo here.
FAQs
### [`nucypher/taco-web`](../../README.md)
The npm package @nucypher/taco receives a total of 198 weekly downloads. As such, @nucypher/taco popularity was classified as not popular.
We found that @nucypher/taco demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.