dotnet-file-read-audit

dotnet-file-read-audit is a skill for Codex from jinyimeng01/net-code-audit-skill-master. It costs 68 tokens per session (1,048 once invoked), scanned A, original, MulanPSL-2.0.

A .NET security review tool for file reads and path-traversal risks. It follows user-controlled input into file operations such as FileStream, StreamReader, PhysicalFile and Path.Combine.

In plain words
What is it for?
Use it to review endpoints and handlers that read or return files, including Server.MapPath and Response.WriteFile.
Why use it?
It helps show whether an attacker could use crafted paths to read files outside the intended directory, with evidence and repair suggestions.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to review endpoints and handlers that read or return files, including Server.MapPath and Response.WriteFile.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinyimeng01/net-code-audit-skill-master/dotnet-file-read-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jinyimeng01/net-code-audit-skill-master --skill dotnet-file-read-audit
Clone the repo
git clone --depth 1 https://github.com/jinyimeng01/net-code-audit-skill-master

Made for: 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 dotnet-file-read-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinyimeng01/net-code-audit-skill-master/dotnet-file-read-audit.svg)](https://agentmods.dev/skills/jinyimeng01/net-code-audit-skill-master/dotnet-file-read-audit)
Your own site
<a href="https://agentmods.dev/skills/jinyimeng01/net-code-audit-skill-master/dotnet-file-read-audit"><img src="https://agentmods.dev/badge/skills/jinyimeng01/net-code-audit-skill-master/dotnet-file-read-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00068 $0.01048
Opus 5 $0.00034 $0.00524
Sonnet 5 $0.00014 $0.00210
Haiku 4.5 $0.00007 $0.00105

Measured 8d ago against content hash 0bf95a5ba794, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

dotnet-file-read-audit scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

net-skill/dotnet-file-read-audit/SKILL.md · 108 lines

The source is not reproduced here

Licensed MulanPSL-2.0

The repository is licensed MulanPSL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 108 lines · 68 tokens per session scan A 0bf95a5ba794

Subscribe to this mod's changes

dotnet-file-read-audit is a skill published in the GitHub repository jinyimeng01/net-code-audit-skill-master (5 stars, last pushed 4mo ago), licensed MulanPSL-2.0. It adds 68 tokens to every session and 1,048 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens

mcp

Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…

managedcode/dotnet-skills · 123 tokens

migrate-xunit-to-mstest

Convert .NET tests from xUnit.net v2/v3 to MSTest v4 while preserving VSTest or MTP. Use for replacing xunit packages, Fact/Theory/InlineData/MemberData, assertions, IClassFixture/ICollectionFixture, ITestOutputHelper, TestContext cancellation, traits/Owner, skips, timeouts, and xUnit parallelization. Also use when a…

managedcode/dotnet-skills · 141 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

managedcode/dotnet-skills · 149 tokens