
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.
@coinbase/farcaster-langchain
Advanced tools
This toolkit contains tools that enable an LLM agent to interact with Farcaster using Neynar's API. The toolkit provides a wrapper around the Neynar API, allowing agents to interact with Farcaster and perform actions like posting casts.
npm install @coinbase/farcaster-langchain
Set the following environment variables:
export CDP_API_KEY_NAME=<your-api-key-name>
export CDP_API_KEY_PRIVATE_KEY=$'<your-private-key>'
export AGENT_FID=<your-farcaster-fid>
export NEYNAR_API_KEY=<your-neynar-api-key>
export NEYNAR_MANAGED_SIGNER=<your-neynar-managed-signer>
export OPENAI_API_KEY=<your-openai-api-key>
export NETWORK_ID=base-sepolia # Optional: Defaults to base-sepolia
import { FarcasterToolkit } from "@coinbase/farcaster-langchain";
import { FarcasterAgentkit } from "@coinbase/cdp-agentkit-core";
// Initialize LLM
const llm = new ChatOpenAI({ model: "gpt-4o-mini" });
// Farcaster Agentkit
const farcasterAgentkit = new FarcasterAgentkit();
// Farcaster Toolkit
const farcasterToolkit = new FarcasterToolkit(farcasterAgentkit);
// Get available Farcaster tools
const tools = farcasterToolkit.getTools();
The toolkit provides the following tools:
Check out farcaster-langchain/examples for sample implementations!
FAQs
Farcaster langchain Toolkit extension of CDP Agentkit
We found that @coinbase/farcaster-langchain demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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.