← All tasks
contexteasy

security-check

Audit and fix a repo so commits are possible and no secrets are leaked via code, logs, or tracked env files.

Why this matters

A good researcher/engineer should treat secret leakage as a blocker: fix git identity safely, stop committing secrets, and prevent future leakage (gitignore + redaction) instead of only addressing the surface error.

Agent instruction

You are working inside a local Git repository (path: /app/repo). You have already run git add . and git commit -m "finish!!", and now you are preparing to push. Can you push directly at this point? If not, fix the repository so that it can be used to safely commit code (you do not need to actually push to the remote).

Constraints

  • You may modify any files inside the repository as needed to complete the fix.

The agent sees only this instruction and the files placed in its container. Reference solutions and verifier tests are intentionally hidden.