security-first

Integrate security practices into web and API development lifecycles.

3|Updated Apr 5, 2023
One-click install
npx skills add https://github.com/mrp4sten/.dotfiles --skill security-first-mrp4sten
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-first
Source: https://github.com/mrp4sten/.dotfiles/tree/main/development/IA/opencode/skill/security-first
Command: npx skills add https://github.com/mrp4sten/.dotfiles --skill security-first-mrp4sten

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security-first development practices ensure vulnerabilities are addressed from the start, reducing risk and rework by injecting security into every stage of the lifecycle (Shift-Left Security).

Core Features & Use Cases

  • Input validation and secure coding practices to prevent common vulnerabilities.
  • Secrets management, encryption, and robust authentication/authorization safeguards.
  • Security headers, rate limiting, logging, and secure dependency practices to protect and observe production systems.

Quick Start

Assess your project for Shift-Left Security gaps and implement safeguards across input handling, authentication, data storage, and API design.

Frequently Asked Questions about security-first

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

FAQPage Schema
What is shift-left security and how does it apply to API and web development?

Shift-left security integrates security practices into the early stages of the development lifecycle. It applies to web and API projects by enforcing input validation, authentication, encryption, and secure coding during design and implementation to reduce vulnerabilities.

How do I implement secure authentication and JWT security in my application?

Implement secure authentication by applying robust authorization safeguards and proper JWT security protocols. This involves enforcing correct password storage, utilizing strong cryptography, and managing secrets effectively to protect user access.

What's the best way to manage input validation and secrets management for web projects?

The best way to manage input validation and secrets is to enforce secure coding practices that prevent common vulnerabilities. This includes strict input handling, secure data storage, and dedicated secrets management across your application.

How do I configure security headers, rate limiting, and CORS controls for production APIs?

Configure production API protection by implementing security headers, rate limiting, and CORS controls. These safeguards protect endpoints from malicious traffic and unauthorized cross-origin requests while maintaining comprehensive logging for system observation.

Does this shift-left security approach work for third-party integrations and dependency security?

Yes, this approach applies to third-party integrations and dependency security. It enforces secure practices for external connections and monitors dependencies to ensure vulnerabilities are addressed across the entire software lifecycle.

When do I need to apply encryption and comprehensive logging in my software lifecycle?

You need to apply encryption and comprehensive logging during the design, implementation, and deployment stages. These practices protect data storage and provide ongoing observation of production systems to detect security anomalies.