web-security

Guide web security practices for password handling, HTTPS, and security headers.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Objective-Arts/lens-dist --skill web-security-objective-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-security
Source: https://github.com/Objective-Arts/lens-dist/tree/main/canon/web-security
Command: npx skills add https://github.com/Objective-Arts/lens-dist --skill web-security-objective-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need for robust web security by providing practical guidance on protecting web applications from common threats.

Core Features & Use Cases

  • Password Handling: Securely store and manage user passwords using modern hashing algorithms.
  • HTTPS Implementation: Enforce secure communication with HTTPS and HSTS.
  • Security Headers: Implement essential HTTP security headers to mitigate various attacks.
  • Authentication Patterns: Secure session management and prevent account enumeration.
  • Use Case: Implement secure password storage and enforce HTTPS for a new e-commerce website.

Quick Start

Apply the web-security skill to configure secure password handling and HTTPS for a web application.

Frequently Asked Questions about web-security

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

FAQPage Schema
What is the best way to implement secure password storage for a web application?

Secure password storage requires hashing passwords using modern algorithms like bcrypt or Argon2id. This approach protects user credentials by converting them into irreversible hashes, preventing exposure even if the database is compromised.

How do I configure HSTS and HTTPS to enforce secure communication?

To enforce secure communication, configure HTTPS and enable HSTS to force browsers to use secure connections. This prevents protocol downgrade attacks and ensures all data transmitted between the client and server remains encrypted.

Which HTTP security headers should I implement to mitigate common web vulnerabilities?

Implementing essential HTTP security headers mitigates various attacks like cross-site scripting and clickjacking. Configuring headers such as Content-Security-Policy adds strict layers of defense by controlling resource loading and execution.

How does rate limiting prevent account enumeration during authentication?

Rate limiting prevents account enumeration by restricting repeated authentication attempts. Applying rate limits to login endpoints stops automated attacks from guessing credentials or determining valid user accounts based on response variations.

What patterns should I use for secure session management in web security?

Secure session management patterns involve generating strong session identifiers and enforcing proper expiration policies. These patterns prevent session hijacking by ensuring authenticated states are securely maintained and invalidated when no longer needed.

How do I handle a breach response for compromised web applications?

Breach response involves containing the threat and securing compromised systems. A pragmatic response includes rotating affected credentials, patching exploited web vulnerabilities, and auditing logs to determine the scope of unauthorized access.