enum-headers-cookies

Audit HTTP response headers and cookie attributes for security misconfigurations.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill enum-headers-cookies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enum-headers-cookies
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/enum-headers-cookies
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill enum-headers-cookies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the lack of visibility into server-side security configurations, helping identify missing security headers and insecure cookie attributes that expose applications to session hijacking, information leakage, and cross-site attacks.

Core Features & Use Cases

  • Security Header Audit: Systematically verifies the presence and configuration of HSTS, CSP, X-Frame-Options, and other critical security headers.
  • Cookie Attribute Analysis: Evaluates session and tracking cookies for Secure, HttpOnly, and SameSite flags to prevent session-based vulnerabilities.
  • Information Leakage Detection: Identifies headers that inadvertently expose server versions, internal infrastructure, or technology stacks.

Quick Start

Use the enum-headers-cookies skill to perform a full security audit of the current in-scope target endpoints.

Frequently Asked Questions about enum-headers-cookies

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

FAQPage Schema
How do I audit HTTP security headers and cookie attributes for web application endpoints?

To audit HTTP security headers and cookie attributes, you systematically collect response headers and cookie metadata from target endpoints to validate compliance with modern web security standards and identify misconfigurations. This process evaluates HSTS, CSP, X-Frame-Options, Secure, HttpOnly, and SameSite flags to detect session hijacking and cross-site attack exposures.

What security misconfigurations can HTTP header analysis identify during reconnaissance?

HTTP header analysis identifies missing security headers like HSTS and CSP, insecure cookie attributes lacking Secure or HttpOnly flags, and information leakage from headers exposing server versions, internal infrastructure, or technology stacks. These misconfigurations expose applications to session hijacking and cross-site attacks.

Can I use this HTTP security audit for bug bounty reconnaissance and production hardening?

Yes, HTTP security audits apply directly to bug bounty reconnaissance and production environment hardening. The process systematically validates response headers and cookie metadata across web application endpoints to detect security misconfigurations and information leakage suitable for security assessments.

What is the best way to check cookies for Secure, HttpOnly, and SameSite flags?

The best way to check cookies for Secure, HttpOnly, and SameSite flags is through systematic cookie attribute analysis. This evaluates session and tracking cookies to prevent session-based vulnerabilities, validating that cookie configurations enforce modern web security standards across all target endpoints.

Does information leakage detection find server versions and technology stacks in HTTP headers?

Yes, information leakage detection identifies HTTP headers that inadvertently expose server versions, internal infrastructure, or technology stacks. By analyzing response headers systematically, it flags metadata that provides attackers with reconnaissance details about your web application environment.