Skip to content
Agentmart
Submit a tool

dotnet-config-audit

.NET 配置安全审计工具。识别 appsettings、web.config、launchSettings、middleware 配置中的错误暴露、CORS、安全头、调试与危险开关风险。

Skill by ZMR0zhangmouren

IndexedApache-2.0★ 11
Write a review

Chalk Labs

Need help deploying dotnet-config-audit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zmr0zhangmouren-dotnet-config-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

.NET 配置安全审计工具。识别 appsettings、web.config、launchSettings、middleware 配置中的错误暴露、CORS、安全头、调试与危险开关风险。

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dotnet-config-audit

What's inside

Skill name
dotnet-config-audit
Description
.NET 配置安全审计工具。识别 appsettings、web.config、launchSettings、middleware 配置中的错误暴露、CORS、安全头、调试与危险开关风险。
License
Apache-2.0
Instructions
46 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# .NET 配置安全审计

## 共享抓手索引引用

- 默认以 shared/DOTNET_AUDIT_GRABBER_INDEX.md 作为本 Skill 的基础检索索引
- 枚举时至少覆盖与 appsettings、web.config、环境变量、Options 绑定、运行时覆盖和安全开关相关的共享抓手
- 若项目存在 ConfigHelper、FeatureFlagService、TenantSettingsProvider、SecretResolver 等二次封装,必须补充到输出中的项目内抓手章节
- 当本 Skill 的专项枚举规则比共享索引更细时,以本 Skill 为准,但不得缩减共享索引的基础覆盖范围

## 输入依赖

- 必需:`source_path`
- 可选:`route_mapping/routes_{timestamp}.md` 与 `route_mapping/params_{timestamp}.md`(用于关联受影响入口、功能面与 `route_id`)
- 可选:`auth_audit/auth_mapping_{timestamp}.md`(用于关联匿名入口、P0/P1 分桶与鉴权边界)
- 可选:`route_tracer/{route_id}/trace_{timestamp}.md` 与 `route_tracer/{route_id}/trace_summary_{timestamp}.md`(可作为配置影响到具体入口的交叉证据,不是前置硬依赖)

重点检查:

- DeveloperExceptionPage、DetailedErrors、Swagger/OpenAPI、GraphQL Playground、Hangfire Dashboard、health check、metrics 与诊断页面暴露
- CORS allow-any、AllowCredentials、Security Headers、HSTS、HTTPS 重定向、CookiePolicy、StaticFile 配置与缓存头
- appsettings.*、appsettings.{Environment}.json、web.config、launchSettings、User Secrets、环境变量、KeyVault/Secrets Manager 合并与覆盖顺序
- 反向代理、ForwardedHeaders、KnownProxies/KnownNetworks、PathBase、Host 头信任、TLS 终止与真实客户端 IP 判断边界
- DataProtection key 存储、连接字符串、日志级别、Feature Flag、实验开关、租户配置和默认账号配置
- Debug/trace/sandbox/test endpoint、文件浏览器、目录列表、静态文件映射、Razor Runtime Compilation 等危险开关
- 配置是否仅在开发环境生效,还是因环境判断错误、容器变量错配、流水线发布失误导致生产暴露

## 枚举规则(强制细化)

- 枚举 appsettings*.json、web.config、launchSettings、User Secrets、环境变量、KeyVault/Secret Manager、Helm/容器配置映射
- 优先搜索 UseDeveloperExceptionPage、UseSwagger、AllowAnyOrigin、ForwardedHeaders、Kestrel、DataProtection、StaticFiles、FeatureFlag 等关键配置项
- 枚举 Program.cs / Startup.cs / 扩展方法中的运行时配置覆盖、环境分支和默认值
- 对每个配置点记录:配置位置、运行时代码、影响面、环境限定条件、是否属于安全开关

证据引用:

- EVID_CFG_CONFIG_LOCATION
- EVID_CFG_RUNTIME_SETTING_CODE
- EVID_CFG_IMPACT_ASSOCIATION
- EVID_CFG_SECURITY_SWITCH_EVIDENCE

## 输出

- vuln_audit/cfg_{timestamp}.md
- 可选:vuln_poc/cfg_{timestamp}.md(如能构造复现请求或明确验证步骤)

From ZMR0zhangmouren/dotnet-security-audit-skill, Apache-2.0.

More from ZMR0zhangmouren/dotnet-security-audit-skill

Signals

Stars
11
Forks
1
Open issues
1
Last commit (this folder)
May 21, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ZMR0zhangmouren

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get dotnet-config-audit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying dotnet-config-audit?

CallGet help
Cite this page

dotnet-config-audit skill. Agent Mart. https://agentmart.dev/skills/zmr0zhangmouren-dotnet-config-audit (last updated 2026-10-24)