security

Automates secure coding checks for WebSocket and REST APIs in Python, including input validation and token authentication for backend services and microservices.

49|15|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/fcsonline/droneroute --skill security-fcsonline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security
Source: https://github.com/fcsonline/droneroute/tree/main/.opencode/skills/security
Command: npx skills add https://github.com/fcsonline/droneroute --skill security-fcsonline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guidance establishes secure coding patterns for the droneroute Express backend, covering authentication checks, authorization, input validation, error handling, and environment variable safety.

Core Features & Use Cases

  • Authentication & Authorization: Enforce JWT validation and scope data access to the authenticated user.
  • Input Validation & Error Handling: Validate inputs, reject invalid data, and avoid leaking internal details in errors.
  • Environment & Secrets Safety: Promote safe handling of secrets, avoid leaking environment info, and use secure configurations.
  • Use Case: When adding a new API route, apply an auth/authz checklist and secure defaults.

Quick Start

Configure a new API route by validating inputs, enforcing JWT checks, and securing secrets.

Frequently Asked Questions about security

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

FAQPage Schema
How do I enforce JWT authentication and authorization in an Express backend?

To enforce JWT authentication in an Express backend, validate tokens on incoming requests and scope data access to the authenticated user. This ensures proper access control across API routes managing missions, users, and configuration data safely.

What is the best way to prevent SQL injection and data exposure in Node.js APIs?

Preventing SQL injection and data exposure in Node.js APIs requires parameterized queries and robust input validation. Reject invalid data at API boundaries and avoid leaking internal details in error messages to secure backend configurations.

How do I safely handle environment variables and secrets in an Express application?

Safely handling environment variables and secrets in an Express application involves using secure configurations and avoiding environment info leaks. Apply safe handling practices to ensure secrets are not exposed during backend processing or error generation.

How do I validate inputs and handle errors safely when adding new API routes?

Validate inputs and handle errors safely by applying an auth and authorization checklist to new API routes. Reject invalid data immediately and ensure error responses do not leak internal backend details to the client.

Does this backend security approach work for managing complex resources like drone missions?

Yes, this backend security approach works for managing complex resources like drone missions by enforcing JWT validation and proper access control. It specifically secures API routes handling missions, users, and configuration data.