LogoClawIndex
CasesSkillsAbout
LogoClawIndex

hygiene - .NET Security Hygiene and Sanitization Guidance

Provides guidance for input sanitization, output encoding, and security hygiene practices in .NET applications

Tags

Updated: 2026-02-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Prevent XSS attacks
  • Prevent SQL injection
  • Encode HTML content
  • Encode URL parameters
  • Encode JavaScript output
  • Validate user input
  • Configure CSP headers
  • Implement CSRF protection
  • Set secure HTTP headers
  • Prevent path traversal

Inputs

  • .NET application code
  • User input data
  • HTTP request headers
  • Database queries
  • File paths

Outputs

  • Sanitized user input
  • Encoded output data
  • Security headers configuration
  • Parameterized SQL queries
  • Secure file paths

Requirements

  • .NET environment
  • ASP.NET Core framework
  • System.Text.Encodings.Web namespace
  • Data annotations validation
  • Antiforgery token service

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
security
hygiene
sanitization
dotnet
web
prevention
encoding
validation
Prevent XSS attacks
Prevent SQL injection
Encode HTML content
Encode URL parameters
.NET application code
User input data
HTTP request headers
Sanitized user input
Encoded output data
Security headers configuration