replay-audit

Audit protocol authentication flows for replay attack weaknesses.

5|1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/Hatedatastructures/Prism --skill replay-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: replay-audit
Source: https://github.com/Hatedatastructures/Prism/tree/main/.claude/skills/replay-audit
Command: npx skills add https://github.com/Hatedatastructures/Prism --skill replay-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you review protocol authentication and session-setup changes for replay resistance, ensuring that captured handshakes, first packets, and credential checks cannot be reused to reveal or bypass a proxy service.

Core Features & Use Cases

  • Replay Defense Audit: Checks AEAD integrity, nonce uniqueness, timestamp windows, and rejection behavior for authentication paths.
  • Protocol Security Review: Applies to SOCKS5, Trojan, VLESS, SS2022, TLS-based disguises, and other first-packet credential flows.
  • Failure-Path Consistency: Verifies that authentication failures, fallback behavior, and multi-user handling do not leak timing, error, or user-selection signals.
  • Use Case: After changing password verification or packet parsing, use this Skill to confirm that repeated or modified captures cannot be accepted or fingerprinted.

Quick Start

Ask the Skill to audit the changed authentication, nonce, and first-packet code paths for replay safety and consistent failure behavior.

Frequently Asked Questions about replay-audit

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

FAQPage Schema
How do I audit authentication flows for replay attack vulnerabilities?

Auditing authentication flows for replay attacks requires checking AEAD integrity, nonce uniqueness, timestamp windows, and rejection behavior to ensure captured handshakes cannot be reused to bypass proxy services.

What is replay attack defense in first-packet authentication?

Replay attack defense in first-packet authentication verifies that credential checks for protocols like SOCKS5 and VLESS cannot be reused, requiring timestamp and nonce binding alongside consistent failure behavior to prevent bypasses.

How do I verify AEAD nonce handling and TLS session security?

Verifying AEAD nonce handling and TLS session security involves auditing nonce uniqueness and AEAD integrity validation across multi-user scenarios, ensuring repeated captures are strictly rejected during authentication.

Does this replay audit work with SOCKS5, Trojan, and VLESS protocols?

Yes, this replay audit applies to SOCKS5, Trojan, VLESS, SS2022, and TLS-based disguises to review first-packet credential flows and ensure authentication failures do not leak timing or user-selection signals.

Why does my proxy authentication failure path leak timing signals?

Proxy authentication failure paths leak timing signals when fallback behavior and multi-user handling lack consistency, requiring replay-safe fallback validation to prevent error and user-selection fingerprinting.

When should I check for replay attack weaknesses in proxy handshakes?

You should check for replay attack weaknesses in proxy handshakes immediately after changing password verification or packet parsing to confirm that repeated or modified captures cannot be accepted or fingerprinted.