beef

Hook browsers via XSS and inject JavaScript for client-side attacks.

15|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/AeonDave/malskill --skill beef
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: beef
Source: https://github.com/AeonDave/malskill/tree/main/offensive-tools/exploits/beef
Command: npx skills add https://github.com/AeonDave/malskill --skill beef

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows for the exploitation of web browsers through Cross-Site Scripting (XSS) and injected JavaScript, enabling client-side attacks and session hijacking.

Core Features & Use Cases

  • Browser Hooking: Gain control over hooked browsers via a web console.
  • Client-Side Attacks: Execute various attacks targeting the user's browser, including social engineering and information gathering.
  • Use Case: When you have identified an XSS vulnerability on a target website, use this Skill to inject a BeEF hook and pivot into browser-side attacks to steal session cookies or perform phishing.

Quick Start

Start the BeEF XSS framework by running 'beef-xss' on Kali Linux or by cloning and running from source.

Frequently Asked Questions about beef

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I hook a browser after finding an XSS vulnerability?

Browser hooking via XSS works by injecting a JavaScript payload into a vulnerable website, which connects the victim's browser to a control console for executing client-side attacks and session hijacking.

Can I perform session hijacking and social engineering with client-side attacks?

Yes, session hijacking and social engineering are possible with client-side attacks. After hooking a browser through an XSS vector, you can steal session cookies and execute phishing attacks directly from the compromised browser context.

Do I need Ruby on Linux to run browser exploitation frameworks?

Yes, you need Ruby installed on a Linux or macOS environment to run this browser exploitation framework. It can be installed via apt on Kali Linux or cloned and run from source via GitHub.

What is the best way to pivot into browser-side attacks using JavaScript injection?

The best way to pivot into browser-side attacks using JavaScript injection is to deploy a dedicated XSS framework that provides a web console to manage hooked browsers, gather information, and launch targeted social engineering attacks.

What limitations exist when using injected JavaScript for browser exploitation?

Limitations of browser exploitation via injected JavaScript include requiring an active XSS vulnerability on the target website to initialize the hook, and the necessary dependency on a Ruby execution environment on Linux or macOS.