Cookie Security Analyzer

🌐Community
by jeremylongshore · vlatest · Repository

Analyzes websites for cookie security vulnerabilities like HttpOnly, Secure flags, and SameSite attributes, improving protection against attacks.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add cookie-security-analyzer npx -- -y @trustedskills/cookie-security-analyzer
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "cookie-security-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/cookie-security-analyzer"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The cookie-security-analyzer skill scans web applications to identify insecure HTTP-only and Secure flag configurations within cookies. It detects potential session hijacking vulnerabilities by analyzing how cookies are set across different endpoints.

When to use it

  • Audit production environments before deployment to catch misconfigured state management tokens.
  • Perform penetration testing on authentication flows to ensure sensitive data isn't exposed via browser storage.
  • Validate third-party integrations that rely on cookie-based session persistence for security compliance.
  • Integrate into CI/CD pipelines to automatically flag insecure cookie attributes in new code commits.

Key capabilities

  • Identifies missing HttpOnly flags on cookies containing sensitive user data.
  • Detects absent Secure flags allowing cookies to be transmitted over unencrypted connections.
  • Analyzes cookie attributes across multiple endpoints within a web application context.
  • Provides actionable reports highlighting specific vulnerabilities related to session management.

Example prompts

  • "Run a security scan on my login endpoint to check for insecure cookie configurations."
  • "Analyze the cookies set after user registration and flag any missing security flags."
  • "Generate a report of all endpoints with cookies that lack HttpOnly or Secure attributes."

Tips & gotchas

Ensure your target web application is accessible via both HTTP and HTTPS protocols for comprehensive analysis. This tool focuses specifically on cookie attribute validation rather than broader XSS or CSRF detection, so combine it with other security scanners for full coverage.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jeremylongshore
Installs
29

🌐 Community

Passed automated security scans.