Skip to content
Back to skills

Policy Security

ASecurity

Security policy of the todo app team (version 2). Rules for input handling, destructive operations, rendering user text and dependencies. Load it whenever you write or review a spec, design or code that reads files or input, deletes or overwrites data, renders user text, or adds a dependency.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsrustsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 12, 2026

npx -y skills add fx-studio/fx-sdlc-lab --skill policy-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Policy Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Policy Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fx-studio-policy-security/badge)](https://www.skillsdirectory.com/skills/fx-studio-policy-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: policy-security
description: Security policy of the todo app team (version 2). Rules for input handling, destructive operations, rendering user text and dependencies. Load it whenever you write or review a spec, design or code that reads files or input, deletes or overwrites data, renders user text, or adds a dependency.
version: 2
owner: Khoa (tech lead, also security owner, simulated) · backup: Mai (simulated)
---

# Security policy · v2

Sample policy for the demo. Each rule has an ID; cite it as `policy-security@2#S<n>`.

- **S1.** Treat every imported file as untrusted. Validate it against the expected schema, reject unknown fields, cap its size at
  1 MB, never evaluate its content. The expected schema is the one of the file's own `version`: a field that a later version
  allows is still unknown in an earlier one (v2, 2026-11-04: backup files gain `version: 2` with an optional `dueDate`).
- **S2.** Any operation that overwrites or deletes more than one item asks for an explicit confirmation **before** it runs, and the
  confirmation says what will be lost (for example "Thay 12 việc hiện có bằng 30 việc trong file?").
- **S3.** Render user-provided text with `textContent`, never `innerHTML`.
- **S4.** No new external dependency (CDN script, library, web service) without sign-off from the security owner.

Files in this skill

  • SKILL.md1.3 KB
  • triggers.md610 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.