创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

用 Claude Code 每周审计网站安全与代码

AI 总结

一名 Reddit 用户称,他用 Claude Code 创建了两个技能,分别执行 20 多项安全检查,并找出损坏、缓慢、臃肿或难以维护的代码。该工作流通过 Launchd 和 Caffeinate 每周运行,由子智能体检查网站,并通过 Resend API 发送按严重程度排序的发现;用户表示这套流程已运行六个月,并经常发现需要修复的问题。

深度见解

该帖提供了一个将 Claude Code、计划任务、子智能体和邮件报告结合起来的具体案例,用于持续执行安全与代码质量审计。

Being non-technical, I've been concerned about my lack of coding knowledge as my site scales.

Here's the setup I've found helpful to catch vulnerabilities and messy code using Claude Code.

It's been running for 6 months and regularly catches things to fix, while keeping me confident in what I ship.

How I set it up:

  • Told Claude Code I'm non-technical and wanted my site as secure and healthy as possible - Had it research top exploits, code flaws, and hacking methods in 2026
  • Then had Claude build 2 skills off what it found: - Security audit: 20+ checks, like logins, API routes, file uploads, rate limits, exposed secrets - Codebase audit: finds things that are broken, slow, heavy, or hard to maintain
  • Scheduled them to run once a week at night when my usage is low - Launchd runs them and Caffeinate keeps my Mac on

What happens each week:

  • The skills launch a bunch of subagents to read the code and suggest fixes - One week a month they scan the full site, the other weeks they scan only the new commits
  • I get an email through the Resend API with findings ranked by severity - Full detailed reports are saved too
  • Each finding gets added to a log for tracking
  • I patch the biggest things, merge Dependabot updates, and repush the site
  • The log is updated with any fixes and decisions

Hope this helps other new builders make their sites more secure!

submitted by /u/chasing_next [link] [comments]

#Claude Code#Launchd#Caffeinate#Resend API#Dependabot

原文约 1 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。