Skip to content
Agentmart
Submit a tool

dotnet-aspnet-core-audit

ASP.NET Core 框架专项审计工具。针对中间件顺序、配置绑定、鉴权、CSRF、CORS、静态文件、安全头和运行时选项进行白盒审计。

Skill by ZMR0zhangmouren

IndexedApache-2.0★ 11
Write a review

Chalk Labs

Need help deploying dotnet-aspnet-core-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-aspnet-core-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

ASP.NET Core 框架专项审计工具。针对中间件顺序、配置绑定、鉴权、CSRF、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-aspnet-core-audit

What's inside

Skill name
dotnet-aspnet-core-audit
Description
ASP.NET Core 框架专项审计工具。针对中间件顺序、配置绑定、鉴权、CSRF、CORS、静态文件、安全头和运行时选项进行白盒审计。
License
Apache-2.0
Instructions
43 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# ASP.NET Core 框架专项审计

## 输入依赖

- 必需:`source_path`
- 可选:`route_mapping/routes_{timestamp}.md` 与 `route_mapping/params_{timestamp}.md`(如已由 `dotnet-route-mapper` 生成,用于对齐入口、参数绑定与 `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`(如需将中间件/宿主控制面与具体入口、副作用链做交叉引用)

## 重点检查

- Middleware 顺序:UseForwardedHeaders、UsePathBase、UseRouting、UseCors、UseAuthentication、UseAuthorization、UseSession、UseEndpoints 的先后关系
- Antiforgery、CORS、静态文件、异常页、安全头、HSTS、HTTPS 重定向、Rate Limiting、Output Caching 的配置与覆盖范围
- Minimal API、Endpoint Filter、Route Group、MapFallback、MapWhen、branch pipeline 与匿名/授权混用边界
- appsettings.json、web.config、Options 绑定、IOptionsSnapshot、IOptionsMonitor、自定义配置绑定器与模型验证缺口
- Kestrel、IIS、反向代理、容器、PathBase、HostFiltering、ForwardedHeaders 的信任边界与环境差异
- Swagger、HealthChecks、Prometheus、Hangfire、SignalR、StaticFile、Razor Runtime Compilation 等功能组件的暴露面

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

- 枚举 Program.cs、Startup.cs、扩展方法和宿主初始化代码中的中间件注册顺序,记录每个 Use/Map/Run 分支的进入条件、顺序位置和是否存在短路
- 优先搜索 appsettings.json、web.config、UseRouting、UseAuthentication、UseAuthorization、UseCors、UseSession、UseEndpoints、MapGroup、MapControllers、MapFallback、MapWhen、UseWhen、AddAntiforgery、AddCors、AddAuthentication、AddAuthorization
- 枚举 Minimal API、Controller Endpoint、HealthChecks、Swagger、StaticFiles、Hangfire、SignalR、GraphQL、Prometheus 等暴露端点,记录匿名可达性、环境开关、PathBase 与反向代理前缀影响
- 枚举 Options 绑定、Configure<T>、PostConfigure<T>、BindConfiguration、自定义校验器、IValidateOptions、环境变量覆盖和 appsettings.* 分层,记录安全开关是否会在运行时被覆盖
- 对每个高风险组件记录:注册位置、保护机制、依赖配置、环境差异、前置中间件、后置中间件以及可能影响的漏洞类型

## 输出要求

- 输出文件:framework_audit/aspnet_core_{timestamp}.md
- 必须按 中间件顺序、端点暴露面、配置绑定与安全开关、环境差异与代理边界 四个章节组织结果
- 每个问题点必须写明 代码位置、触发条件、影响范围、关联端点/功能组件、建议联动复核的漏洞专项
- 必须单列 未闭合链路与环境依赖项,说明缺失的是 配置证据、部署证据、代理证据 还是运行时注册证据

## 证据引用

- EVID_CFG_RUNTIME_SETTING_CODE
- EVID_CFG_SECURITY_SWITCH_EVIDENCE
- EVID_AUTH_TOKEN_DECODE_JUDGMENT
- EVID_AUTH_PERMISSION_CHECK_EXEC

输出类型映射:AUTH、CSRF、CFG、XSS、LOGIC、SESS。

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-aspnet-core-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-aspnet-core-audit?

CallGet help
Cite this page

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