adhit-r / adhit-r/aran

Enhance Security, Monitoring, and Dependency Hygiene

未關閉
#44 0 則留言 0 個 reaction 已指派 1 人 已被 @adhit-r 認領 在 GitHub 檢視
enhancement security
主要語言
TypeScript
星號
4
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

**Goal**: Strengthen production readiness with auditing, logging, validation, and basic rate limiting.

---

### Tasks
- Add `npm audit` to CI for vulnerability checks
- Set up Dependabot for automated dependency updates
- Build logging utilities (see `/src/lib/logger.ts` example)
- Validate required environment variables on startup
- Implement simple rate limiting middleware in `/src/middleware.ts`

**References:** See [QUICK_WINS.md](https://github.com/adhit-r/aran/blob/main/QUICK_WINS.md)

**Acceptance Criteria**
- CI fails on high vulnerabilities
- Automatic PRs for outdated dependencies
- New logger and env validation modules
- Rate limiting at entry for app endpoints

貢獻指南

開啟貢獻指南

研究方向

Start with QUICK_WINS.md, then inspect the existing CI configuration and the entry points in /src/lib/logger.ts and /src/middleware.ts. Separate the audit, Dependabot, logging, environment validation, and rate-limiting tasks before changing anything. Done means high-severity vulnerabilities fail CI, dependency update PRs are enabled, logging and startup validation exist, and app endpoints receive rate limiting.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
api, devops, security
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。