security-review

Enforce bcrypt hashing, Zod/Pydantic validation, and device-scoped data access.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Konstantin212/countOnMe --skill security-review-konstantin212
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/Konstantin212/countOnMe/tree/main/.cursor/skills/security-review
Command: npx skills add https://github.com/Konstantin212/countOnMe --skill security-review-konstantin212

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps ensure authentication, input handling, and device-token management are secure across the CountOnMe app, reducing security risks.

Core Features & Use Cases

  • Security patterns across client and server
  • Device-token hashing and device-scoped data access
  • Input validation and safe error handling

Quick Start

Use this Skill to audit and harden authentication, token handling, and data access patterns in the codebase.

Frequently Asked Questions about security-review

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

FAQPage Schema
How do I enforce secure device token hashing and device-scoped data access?

Secure device token hashing enforces bcrypt hashing during device registration, ensuring device-scoped data access by validating tokens against hashed credentials before authorizing API endpoint data retrieval.

What is the best way to validate API inputs and handle errors securely in a Python backend?

Validating API inputs securely uses Zod or Pydantic schemas to enforce strict input validation, combined with generic error handling and secure logging to prevent data leakage during client and server interactions.

How does SQLAlchemy ORM usage prevent SQL injection in API endpoint design?

SQLAlchemy ORM usage prevents SQL injection by abstracting database queries through parameterized ORM models, ensuring input validation layers sanitize all data before it reaches the database layer.

Can I use bcrypt hashing and Pydantic validation together for device registration?

Yes, bcrypt hashing and Pydantic validation work together during device registration by validating incoming token payloads with Pydantic before hashing the device token with bcrypt for secure storage.

Why does generic error handling matter for secure API endpoint design?

Generic error handling matters for secure API endpoint design because it prevents exposing internal stack traces or sensitive validation logic to clients, ensuring secure logging captures details server-side only.