Unnamed Skill
Apply security practices for the .NET 8 WPF widget host app: authN/authZ, secrets, encryption at rest, and secure local storage. Use when handling credentials, tokens, user data, or integrating identity providers.
$ Installieren
git clone https://github.com/YosrBennagra/3SC /tmp/3SC && cp -r /tmp/3SC/.github/skills/security ~/.claude/skills/3SC// tip: Run this command in your terminal to install the skill
SKILL.md
name: security description: Apply security practices for the .NET 8 WPF widget host app: authN/authZ, secrets, encryption at rest, and secure local storage. Use when handling credentials, tokens, user data, or integrating identity providers.
Security
Overview
Protect user data and credentials across local storage, network calls, and widget interactions.
Core areas
- Authentication and authorization
- Secrets management
- Encryption at rest
- Secure local storage
Definition of done (DoD)
- No secrets in source code or config files
- Sensitive data uses Windows DPAPI or equivalent
- Authorization checks happen at service boundaries, not UI
- Logs and telemetry are reviewed for PII before merging
- Password/token inputs are masked in UI
Guidance
- Do not store secrets in plain text or config files.
- Use OS-provided secure storage for tokens.
- Encrypt sensitive local data with per-user keys.
- Validate authorization in application services, not UI.
Workflow
- Identify data classified as sensitive.
- Select storage location and encryption strategy.
- Implement token handling and refresh flow.
- Validate authorization checks at service boundaries.
- Review logs and telemetry for PII leakage.
References
references/auth.mdfor authN/authZ patterns.references/secrets.mdfor secret storage rules.references/encryption.mdfor encryption at rest.references/secure-storage.mdfor Windows storage options.
Repository

YosrBennagra
Author
YosrBennagra/3SC/.github/skills/security
0
Stars
0
Forks
Updated2h ago
Added1w ago