hunt-request-signature

Validates API request signature coverage, replay protection, and canonicalization on authorized targets.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-request-signature-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-request-signature
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-request-signature
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-request-signature-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When testing your own API's HMAC request signing, it is hard to know whether the server actually enforces signature coverage, timestamp freshness, and nonce replay protection, or whether it silently accepts mismatched requests. This Skill provides an evidence-gated workflow to verify that server-side signature validation behaves as declared. ## Core Features & Use Cases - Signature Coverage Verification: Confirms which fields (method, path, query, body, host, timestamp, nonce, key ID) the server actually includes in signature validation, using single-variable differential probes. - Replay and Freshness Testing: Replays expired or altered self-owned no-op requests to check timestamp and nonce enforcement, with strict baselines before and after each probe. - Server-Side Oracle Discipline: Treats only server audit logs plus authoritative state as proof, ruling out false positives from HTTP 200s, SDK limits, or client-side UI differences. - Use Case: You built an HMAC-signed internal API and want to confirm the server rejects a request when a signed query parameter is tampered with, rather than trusting the client SDK's behavior. ## Quick Start Use the hunt-request-signature skill to verify that my test API's server rejects requests when a signed field is modified or an expired timestamp is replayed.

Frequently Asked Questions about hunt-request-signature

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

FAQPage Schema
How do I test if my API server actually verifies HMAC request signatures?

Capture a baseline of a normal signed request, then change exactly one field the signature should cover and resend through a dedicated test client. The signature is enforced only if server audit logs confirm rejection of the mismatched request.

How to test API replay protection with timestamp and nonce headers?

Replay an expired, self-owned no-op request and check whether the server rejects it based on timestamp or nonce validation. A single controlled replay with fresh baselines is sufficient; bulk replays are out of scope.

Why is an HTTP 200 not proof of a signature validation flaw?

A 200 response can come from caching, SDK behavior, or client-side differences rather than server acceptance. Only server audit records combined with authoritative state changes prove the server accepted a request it should have rejected.

What is canonicalization in API request signing?

Canonicalization is the deterministic formatting of method, path, query, body, and headers before HMAC computation. Testing confirms the server applies the same canonical rules as the client, since mismatches can let altered requests pass verification.

When should I stop an API signature security test?

Stop immediately if testing would involve real signing keys, production or third-party credentials, actual transactions or resource writes, bulk replays, or bypassing request quotas. These conditions fall outside authorized, reversible validation.

Does this apply to JWT or webhook signature testing?

JWT-specific validation routes to a dedicated JWT cryptography skill, and webhook sender or receiver verification routes to a webhook signature skill. This Skill covers general HMAC and canonical request signature boundaries only.