security-and-hardening

Enforce threat modeling and input validation to mitigate security vulnerabilities.

1|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Borisserz/FoodTracker --skill security-and-hardening-borisserz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-and-hardening
Source: https://github.com/Borisserz/FoodTracker/tree/main/.agents/skills/skills/security-and-hardening
Command: npx skills add https://github.com/Borisserz/FoodTracker --skill security-and-hardening-borisserz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hardens code against vulnerabilities by enforcing security-first practices across input handling, authentication, data storage, and external integrations. It treats untrusted data as hostile, secrets as sacred, and every authorization point as mandatory.

Core Features & Use Cases

  • Threat modeling first: map trust boundaries, assets, and attack surfaces before implementing controls.
  • Boundary validation: validate external input at API or boundary layers using strict checks and parameterized operations.
  • Defense-in-depth: apply OWASP-aligned patterns, secret management, secure defaults, and robust error handling across the stack.

Quick Start

Run a threat-model review and implement strict input validation and least-privilege access for the next feature.

Frequently Asked Questions about security-and-hardening

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

FAQPage Schema
How do I harden web applications against OWASP vulnerabilities?

To harden web applications against OWASP vulnerabilities, enforce threat modeling, strict boundary input validation, parameterized queries, secure error handling, and secure headers across authentication flows and external API integrations.

What is threat modeling and when do I need it for input validation?

Threat modeling maps trust boundaries, assets, and attack surfaces before implementing input validation controls. You need threat modeling when designing web applications processing user data to treat untrusted external input as hostile.

How do I implement secure authentication flows and external API integrations?

Implement secure authentication flows and external API integrations by enforcing least-privilege access, treating secrets as sacred, validating external input at boundary layers using strict checks, and applying robust error handling.

Does this approach work for runtime hardening of data storage layers?

Yes, this approach works for runtime hardening of data storage layers by applying defense-in-depth patterns, parameterized operations, and strict boundary validation to protect assets and mitigate security vulnerabilities across the stack.

What is the best way to establish trust boundaries for secure code design?

The best way to establish trust boundaries for secure code design is mapping attack surfaces and assets first, then validating external input strictly at API boundaries using parameterized operations and OWASP-aligned protections.

Why does treating untrusted data as hostile improve boundary validation?

Treating untrusted data as hostile improves boundary validation by enforcing strict checks and parameterized operations at API or boundary layers, ensuring external input cannot exploit authorization points or data storage vulnerabilities.