http2-header-impersonation

http2-header-impersonation is a skill for Claude Code, Codex from uphiago/recon-skills. It costs 23 tokens per session (3,096 once invoked), scanned A, original, MIT.

A tool for making HTTP/2 network requests resemble those made by specific browsers, including their connection settings and header order.

In plain words
What is it for?
It helps test browser-profile matching for Chrome, Firefox, Safari on iOS, or Android OkHttp clients, using tools such as Python, curl, or httpx.
Why use it?
It helps when a service detects automated requests even though the TLS connection already looks like a browser. It addresses checks based on HTTP/2 setup and browser-style headers.

Skill for Claude CodeCodex

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

Good fit It helps test browser-profile matching for Chrome, Firefox, Safari on iOS, or Android OkHttp clients, using tools such as Python, curl, or httpx.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uphiago/recon-skills/http2-header-impersonation
About the project

Recon Skills is a pack of security-testing skills covering reconnaissance, web applications, APIs, authentication, vulnerability validation, cloud infrastructure, and reporting. Security professionals use it for authorized assessments of systems they own or have written permission to test. The catalogue entries are individual skills from the pack.

uphiago/recon-skills · 1,408 stars · on GitHub · hiago.sh

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 uphiago/recon-skills --skill http2-header-impersonation
Clone the repo
git clone --depth 1 https://github.com/uphiago/recon-skills

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 http2-header-impersonation

README.md
[![agentmods](https://agentmods.dev/badge/skills/uphiago/recon-skills/http2-header-impersonation/github.svg)](https://agentmods.dev/skills/uphiago/recon-skills/http2-header-impersonation)
Your own site
<a href="https://agentmods.dev/skills/uphiago/recon-skills/http2-header-impersonation"><img src="https://agentmods.dev/badge/skills/uphiago/recon-skills/http2-header-impersonation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for http2-header-impersonation

Your own site · 80×15
<a href="https://agentmods.dev/skills/uphiago/recon-skills/http2-header-impersonation"><img src="https://agentmods.dev/badge/skills/uphiago/recon-skills/http2-header-impersonation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00023 $0.03096
Opus 5.5 $0.00009 $0.01238
Sonnet 5.5 $0.00005 $0.00619
Haiku 4.5 $0.00002 $0.00310

Measured 23d ago against content hash 48882ce1d30b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

http2-header-impersonation scanned grade A with 1 finding 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 23d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl, httpx, python3
recon/http2-header-impersonation/SKILL.md · 270 lines

How it starts

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

HTTP/2 Header Impersonation

Spoof HTTP/2 SETTINGS frames, pseudo-header ordering, and browser-specific HTTP headers to match real browsers at the protocol level. Targets the detection gap between TLS fingerprinting (ClientHello) and JavaScript fingerprinting — the HTTP/2 connection setup and header structure that anti-bot systems analyze. Matches Chrome, Firefox, Safari iOS, and OkHttp (Android) profiles with exact window sizes, header list limits, and header ordering.

When to Use

  • TLS fingerprint is correct but target still detects non-browser HTTP behavior.
  • Target uses HTTP/2-specific detection (SETTINGS frame analysis, pseudo-header order).
  • Need browser-accurate sec-ch-ua, Accept, Accept-Encoding, Priority, and sec-fetch-* headers.
  • Mobile API endpoints require Android OkHttp header profiles.
  • Combining with TLS impersonation for a complete network-level browser profile.

Prerequisites

  • terminal with python3.
  • pip install impit (includes HTTP/2 impersonation via patched h2 library).
  • Or standalone: use the header lists below to configure curl/httpx manually.

How to Run

# Compare default client headers with a browser profile
export TARGET="https://target.com"

python3 - <<'PY'
import os
import requests

url = os.environ["TARGET"]
default = requests.get(url, timeout=15)
browser = requests.get(url, timeout=15, headers={
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.7444.176 Safari/537.36",
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
    "Accept-Language": "en-US,en;q=0.9",
    "Sec-Fetch-Site": "none",
    "Sec-Fetch-Mode": "navigate",
    "Sec-Fetch-User": "?1",
    "Sec-Fetch-Dest": "document",
})
print(f"default: {default.status_code} {len(default.content)}b")
print(f"browser: {browser.status_code} {len(browser.content)}b")
if default.status_code != browser.status_code or len(default.content) != len(browser.content):
    print("DIFFERENTIAL — header-based detection likely")
PY

Read the full file on GitHub · 270 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. 23d ago Changed · +32 lines 48882ce1d30b
  2. 3mo ago First seen · 238 lines · 23 tokens per session scan A a70f12bb0df4

Subscribe to this mod's changes

http2-header-impersonation is a skill published in the GitHub repository uphiago/recon-skills (1,408 stars, last pushed 23d ago), licensed MIT. It adds 23 tokens to every session and 3,096 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

http2-header-impersonation compared with skills from other repositories

http2-header-impersonation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
http2-header-impersonationuphiago/recon-skillsSkill1.4k23d agoMITA23Claude Code, Codex
performing-aws-privilege-escalation-assessmentxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A54Claude Code, Codex
performing-cloud-penetration-testing-with-pacuxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
auditing-gcp-iam-permissionsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
detecting-s3-data-exfiltration-attemptsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A63Claude Code, Codex
implementing-aws-config-rules-for-compliancexalgorix/xalgorixSkill1.5kyesterdayApache-2.0A53Claude Code, Codex
implementing-aws-security-hub-compliancexalgorix/xalgorixSkill1.5kyesterdayApache-2.0A53Claude Code, Codex