dangling-markup-injection

dangling-markup-injection is a skill for Claude Code, Codex from ShulkwiSEC/bb-huge. It costs 67 tokens per session (3,325 once invoked), scanned A, a copy of dangling-markup-injection, MIT.

A web-security testing guide for stealing page content or tokens through injected, unfinished HTML when JavaScript is blocked. The technique is called dangling markup injection.

In plain words
What is it for?
Use it to assess HTML injection points, Content Security Policy (CSP) restrictions, and possible theft of CSRF tokens or form data.
Why use it?
It helps identify risks that ordinary script-based cross-site scripting tests may miss when browser security rules or sanitizers prevent JavaScript from running.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess HTML injection points, Content Security Policy (CSP) restrictions, and possible theft of CSRF tokens or form data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shulkwisec/bb-huge/dangling-markup-injection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ShulkwiSEC/bb-huge --skill dangling-markup-injection
Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dangling-markup-injection

README.md
[![agentmods](https://agentmods.dev/badge/skills/shulkwisec/bb-huge/dangling-markup-injection.svg)](https://agentmods.dev/skills/shulkwisec/bb-huge/dangling-markup-injection)
Your own site
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/dangling-markup-injection"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/dangling-markup-injection.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.03325
Opus 5 $0.00034 $0.01663
Sonnet 5 $0.00013 $0.00665
Haiku 4.5 $0.00007 $0.00332

Measured 4d ago against content hash 0fce78cc132d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dangling-markup-injection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to dangling-markup-injection — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/curated/dangling-markup-injection/SKILL.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SKILL: Dangling Markup Injection — Exfiltration Without JavaScript

AI LOAD INSTRUCTION: Covers dangling markup exfiltration via unclosed img/form/base/meta/link/table tags, what can be stolen (CSRF tokens, pre-filled form values, sensitive content), browser-specific behavior, and combinations with other attacks. Base models often overlook this technique entirely when CSP blocks scripts, jumping to "not exploitable" — dangling markup is the answer.


1. WHEN TO USE DANGLING MARKUP

You need dangling markup when ALL of these are true:

  1. You have an HTML injection point (reflected or stored)
  2. JavaScript execution is blocked:
    • CSP blocks inline scripts and event handlers
    • Sanitizer strips <script>, onerror, onload, etc.
    • WAF blocks known XSS patterns
  3. The page contains sensitive data AFTER your injection point:
    • CSRF tokens
    • Pre-filled form values (email, username, API keys)
    • Session identifiers in hidden fields
    • Sensitive user content

Core insight: You don't need JavaScript to exfiltrate data — you just need the browser to make a request that includes the data in the URL.


2. CORE TECHNIQUE

Inject an unclosed HTML tag with a src, href, action, or similar attribute pointing to your server. The unclosed attribute quote "consumes" all subsequent page content until the browser finds a matching quote.

Read the full file on GitHub · 322 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 322 lines · 67 tokens per session scan A 0fce78cc132d

Subscribe to this mod's changes

dangling-markup-injection is a skill published in the GitHub repository ShulkwiSEC/bb-huge (22 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 3,325 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to dangling-markup-injection, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

continuum-streaming

Stream tokens, tool calls, handoffs, and memory events out of a Continuum agent in real time using runner.runstream() and the EventType enum. Invoke when the user asks "stream tokens to UI", "websocket chat", "live progress", "see tool execution as it happens", or anything that needs token-by-token output.

shyftlabs/continuum · 77 tokens

scaffold-vite-react

Scaffold Vite + React POC frontend in delivery worktree output directory.

DemonDamon/AgenticX · 22 tokens

skill-extract

Reverse-engineer design systems, tokens, and components from live products or screenshots.

nyldn/claude-octopus · 19 tokens

agent-frontend-standard

A set of engineering guidelines for building consistent front-end interfaces with AI agents. It covers shared design components, type-checked interfaces, visual checks and staged testing requirements.

martin1847/evolab · 216 tokens

design-system

Design system management for frontend agents. Actions: init (create DESIGN.md from template), load (inject into agent context), validate (check component compliance). Use when: (1) starting a frontend project, (2) generating UI components, (3) reviewing frontend code for design consistency. Triggers: /design-system…

alfredolopez80/multi-agent-ralph-loop · 80 tokens

perf

Performance optimization skill. Core Web Vitals via Lighthouse, bundle size analysis, metrics tracking over time. Use when: (1) optimizing frontend performance, (2) analyzing bundle size, (3) tracking metrics regression. Triggers: /perf, 'performance audit', 'core web vitals', 'bundle size'.

alfredolopez80/multi-agent-ralph-loop · 66 tokens