dmvcframework-security

dmvcframework-security is a skill for Claude Code, Codex from danieleteti/delphi-ai-skills. It costs 112 tokens per session (4,128 once invoked), scanned B, original, Apache-2.0.

A security reference for DelphiMVCFramework, a tool for building web servers in the Delphi programming language. It explains how to handle data received from users and other outside systems safely.

In plain words
What is it for?
Use it when writing or reviewing server endpoints, forms, file uploads, database queries, HTML output, login tokens, browser access rules, or other code that handles untrusted input.
Why use it?
It helps prevent common web vulnerabilities such as unauthorized access, SQL injection, cross-site scripting, request forgery, unsafe redirects, and exposed secrets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is // BROKEN — GET /download?file=../../.env.

Good fit Use it when writing or reviewing server endpoints, forms, file uploads, database queries, HTML output, login tokens, browser access rules, or other code that handles untrusted input.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/danieleteti/delphi-ai-skills
agentmods
npx agentmods add skills/danieleteti/delphi-ai-skills/dmvcframework-security

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dmvcframework-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/dmvcframework-security/github.svg)](https://agentmods.dev/skills/danieleteti/delphi-ai-skills/dmvcframework-security)
Your own site
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/dmvcframework-security"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/dmvcframework-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dmvcframework-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/dmvcframework-security"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/dmvcframework-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,128 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.04128
Opus 5 $0.00056 $0.02064
Sonnet 5 $0.00022 $0.00826
Haiku 4.5 $0.00011 $0.00413

Measured 11d ago against content hash 0888a42c4ca3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

dmvcframework-security scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

`169.254.169.254` (cloud metadata), your internal network. If a feature needs to fetch a URL, allow-list the

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/dmvcframework-security/SKILL.md · 367 lines

How it starts

The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DMVCFramework — Secure coding reference

This is a reference for the other DMVCFramework skills. Whenever you write an endpoint that accepts input from a client — a controller action, a minimal-API handler, a web page, a filter — the controls below apply. They are not optional extras.

Adapted from the OWASP-style VibeSec secure-coding guide (Apache-2.0), rewritten against the real DMVCFramework API: every class, attribute and filter named here was verified in sources/.

The rule that catches most of it: never trust anything that arrived over the wire — not the body, not the query string, not a header, not a cookie, not a filename, not a URL, not a JWT you have not verified.


When in doubt about an API — verify it, never guess

Never invent an identifier or answer from memory. If you need a signature this skill does not cover, ask the user for the path to their DelphiMVCFramework checkout and read sources/ (and the matching samples/ project); failing that, read the official repository — sources · samples. If you still cannot verify it, say so. Where a skill and a sample disagree, the sample wins.


1. Access control — the #1 cause of real breaches

Authentication says who you are. Authorization says what you may touch. Do not confuse them: a valid JWT is not permission to read row 42.

The IDOR trap. This is the single most common serious bug in a CRUD API:

// BROKEN — any authenticated user can read anyone's order
function TOrdersController.GetOrder(const ID: Integer): IMVCResponse;
begin
  Result := OKResponse(TMVCActiveRecord.GetByPK<TOrder>(ID));
end;

The ID comes from the URL. Nothing ties it to the caller. Scope every lookup to the authenticated principal, in the query — not with an if after the fact:

Read the full file on GitHub · 367 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 367 lines · 112 tokens per session scan B 0888a42c4ca3

Subscribe to this mod's changes

dmvcframework-security is a skill published in the GitHub repository danieleteti/delphi-ai-skills (18 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 112 tokens to every session and 4,128 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

intuitive-tests

Use this skill whenever the user asks about unit test best practices, test organization, flat test suites, redundant tests, test refactors, pytest/JUnit/Jest/xUnit layout, test taxonomy, flaky tests, coverage quality, fixtures, mocks, parametrization, pruning existing UTs, or "which tests are worth keeping." It…

MiaoDX/intuitive-flow · 154 tokens

intuitive-flow

Stable execution/change router after an approved plan, preflight contract, or tiny concrete task. Refactor-shaped work delegates to intuitive-refactor, and durable work runs through staged planning, review, GSD handoff, implementation, cleanup, and verification while keeping plan ledgers and active capsules compact by…

MiaoDX/intuitive-flow · 98 tokens

intuitive-preflight

Turn a vague task, plan, issue, or "LGTM/go ahead" request into an approval-ready preflight contract before implementation starts. Use when the user wants prompt preflight, clearer scope, non-goals, context package, acceptance criteria, definition of done, verification, stop gates, the exact execution command, or…

MiaoDX/intuitive-flow · 112 tokens

intuitive-squash

Squash local GSD or agent-generated commit history into a clean, reviewable story while preserving important fixes. Use when the user asks to squash commits, clean git history, compress phase commits, prepare a branch before PR, compare aggressive vs moderate squash options, or preserve hotfix/security commits during…

MiaoDX/intuitive-flow · 73 tokens

multica-goal-tracker

Track goal-driven Multica issues. Use when a user creates or maintains Multica issues by pasting a /goal prompt, wants Codex to summarize that goal into a concise issue purpose, append a normalized goal-start comment, record completion evidence from real Multica execution run messages or a supplied session transcript…

MiaoDX/intuitive-flow · 86 tokens

intuitive-reduce-entropy

Inspect a repository or plan and rank material simplification candidates. Use repo entropy mode when the cleanup owner is unknown, and plan entropy mode when an idea or plan needs blind spots found before approval. This skill discovers and routes work; it does not implement refactors.

MiaoDX/intuitive-flow · 63 tokens