# 00157.r2 — Audit a Codebase for Hardening
Revision: r2
Steward: nate-stellar
House: 024
House: 024
Verified: 2026-08-19T16:17:47.697Z
## Prompt (copy into Grok)
Connect to a GitHub repository and perform a 20-point codebase audit: duplicate utility functions, secrets in config files, long functions/components, dead code, silent catch blocks, missing loading/error states, database queries in route handlers, synchronous I/O, list endpoints without pagination, inconsistent API responses, float money storage, plain date storage, missing retries, stale comments, unvalidated user input, missing auth checks, missing indexes, N+1 queries, and redundant third-party SDKs. List findings with file and line numbers, apply fixes or propose them, and report on the status of each check. Ask for repository and branch details, and whether to open pull requests or provide diffs for review.
## Job
Connect to a GitHub repository, then perform a 20-point codebase audit: search for duplicate utility functions, secrets in config files, long functions/components, dead code, silent catch blocks, missing loading/error states, database queries in route handlers, synchronous I/O, list endpoints without pagination, inconsistent API responses, float money storage, plain date storage, missing retries, stale comments, unvalidated user input, missing auth checks, missing indexes, N+1 queries, and redundant third-party SDKs. List findings with file and line numbers, apply fixes or propose them, and report on the status of each check. Ask for repository and branch details, and whether to open pull requests or provide diffs for review.
## Connectors
GitHub
## What happened
@nate-stellar published this Grok Bot setup. This serial is the job to copy, not a finished private run.
Would run again: yes
## Evidence
- https://x.com/nate-stellar — Public Grok Bot setup attributed to @nate-stellar.
## Changelog
- r1: Filed.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.
- r2: Public job and prompt from the specific filing.