security-and-hardening

Integrate threat modeling, input validation, and secure session handling into web application development.

3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/vtgiang-dotcom/Solo-Code-Harness --skill security-and-hardening-vtgiang-dotcom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-and-hardening
Source: https://github.com/vtgiang-dotcom/Solo-Code-Harness/tree/main/.gemini/antigravity/skills/security-and-hardening
Command: npx skills add https://github.com/vtgiang-dotcom/Solo-Code-Harness --skill security-and-hardening-vtgiang-dotcom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security-first development practices for web applications. Treat every external input as hostile, every secret as sacred, and every authorization check as mandatory. Security isn't a phase — it's a constraint on every line of code that touches user data, authentication, or external systems.

Core Features & Use Cases

  • Threat modeling at the design phase to identify attack surfaces.
  • Enforcing input validation, parameterized queries, and secure session handling.
  • Example: If you build a login feature, apply threat models and validations to prevent data leakage and unauthorized access.

Quick Start

Draft a concise security plan for a new feature, outlining trust boundaries and the first three mitigations.

Frequently Asked Questions about security-and-hardening

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

FAQPage Schema
How do I integrate threat modeling into my web application development workflow?

Threat modeling integrates into web application workflows by identifying attack surfaces during feature design and enforcing input validation and secure session handling during implementation. You draft a concise security plan outlining trust boundaries and initial mitigations.

What's the best way to secure user authentication and external API integrations?

Securing authentication and API integrations requires treating every external input as hostile, enforcing parameterized queries, and applying mandatory authorization checks. This approach mitigates risks across data storage, sessions, and external systems.

How does input validation prevent OWASP Top 10 vulnerabilities in APIs?

Input validation prevents OWASP Top 10 vulnerabilities by treating all external inputs as hostile and enforcing strict data checks. Combined with parameterized queries and secure cookie practices, it hardens APIs against injection and unauthorized access.

Can I use secure coding practices during code review and feature design stages?

Secure coding practices apply across feature design, implementation, and review stages. They enforce security as a constraint on every line of code touching user data, ensuring continuous protection rather than treating security as a separate phase.

What should be included in a security plan for new web application features?

A security plan for new features should outline trust boundaries and the first three mitigations. It incorporates threat modeling to identify attack surfaces and enforces secure defaults for authentication, data storage, and external integrations.

Why do I need secure session handling and parameterized queries for hardening code?

Secure session handling and parameterized queries harden code by protecting sacred secrets and preventing injection attacks. They establish secure defaults across authentication and data storage, mitigating unauthorized access and data leakage.