
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@mlc-ai/web-agent-interface
Advanced tools
A tool library for LLM agent in browsers to interact with the web.
The web-agent-interface
library provides tools to LLM agents in browsers to interact with different websites.
Note: The project is still in development phase. It has limited coverage and its APIs may change.
To install and build the library, follow these steps:
Clone the repository:
git clone https://github.com/mlc-ai/web-agent-interface.git
cd web-agent-interface
Install dependencies and build the project:
npm install
npm run build
import { State } from '@mlc-ai/web-agent-interface';
const state = new State();
import { tool, retriever, action } from '@mlc-ai/web-agent-interface';
const system_prompt = `
You are a helpful AI agent.
You have the following tools to use:
${tools.map((t) => JSON.stringify(t.schema)).join(",\n")}
`
const { tool_name, parameters } = extractToolCall(llm_response);
const observation = tool[tool_name].implementation(state, parameters);
console.log("Got observation:", observation);
FAQs
A tool library for LLM agent in browsers to interact with the web.
We found that @mlc-ai/web-agent-interface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.