Skip to content

fix(daily-vulnhunter-scan): raise max-ai-credits to 1500 - #47236

Merged
pelikhan merged 3 commits into
mainfrom
copilot/increase-max-ai-credits
Jul 22, 2026
Merged

fix(daily-vulnhunter-scan): raise max-ai-credits to 1500#47236
pelikhan merged 3 commits into
mainfrom
copilot/increase-max-ai-credits

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The Daily VulnHunter Scan was hitting the default 1K AIC guardrail — the scan legitimately consumed ~1029 AIC (57 turns, 62 reads, 41 greps) running the full multi-phase VulnHunter methodology across the repo.

Changes

  • daily-vulnhunter-scan.md — adds max-ai-credits: 1500, giving ~50% headroom above observed usage
  • daily-vulnhunter-scan.lock.yml — recompiled; firewall config updated to "maxAiCredits": 1500

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update max AI credits in Daily VulnHunter scan workflow fix(daily-vulnhunter-scan): raise max-ai-credits to 1500 Jul 22, 2026
Copilot AI requested a review from pelikhan July 22, 2026 08:13
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot do not raise AIC, change the agent prompt / strategy to focus on a subset of the issues found and stay within budget

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

@copilot do not raise AIC, change the agent prompt / strategy to focus on a subset of the issues found and stay within budget

Got it — reverting the AIC increase and refocusing the prompt to scope the scan to a prioritized subset so it stays within the 1K budget.

…y points

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review July 22, 2026 08:38
Copilot AI review requested due to automatic review settings July 22, 2026 08:38
@pelikhan
pelikhan merged commit 11414ff into main Jul 22, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/increase-max-ai-credits branch July 22, 2026 08:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Intended to prevent VulnHunter scans from exceeding the 1K AI-credit guardrail, but the limit remains unchanged while scan coverage is reduced.

Changes:

  • Limits VulnHunter to two phases and selected entry points.
  • Reduces maximum reported findings from five to three.
  • Updates generated workflow metadata only.
Show a summary per file
File Description
.github/workflows/daily-vulnhunter-scan.md Narrows the scan methodology and reporting.
.github/workflows/daily-vulnhunter-scan.lock.yml Updates the body hash; retains the 1K default limit.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Medium

@@ -1,4 +1,4 @@
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"5f7e1cd29e3ca0e84205de47c594770818b70d9a9a9689b6685193ce970306b2","body_hash":"a48dbec98bfea6f55c1ae6e80414c0759b46e692b7c5712b5c122f80dd909fcd","strict":true,"agent_id":"claude","agent_model":"claude-sonnet-4.6","engine_versions":{"claude":"2.1.216"}}
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"5f7e1cd29e3ca0e84205de47c594770818b70d9a9a9689b6685193ce970306b2","body_hash":"25bdc06d98c7da8265c15256225306a4fdfdc0c1d8792e15f368bb8ba112517e","strict":true,"agent_id":"claude","agent_model":"claude-sonnet-4.6","engine_versions":{"claude":"2.1.216"}}
- every file under `/tmp/gh-aw/agent/vulnhunter/vulnhunter/vulnhunt/phases/`
3. Follow the extracted `vulnhunt` instructions as your operating playbook and scan `/tmp/gh-aw/agent/vulnhunter/repo` for verified, exploitable vulnerabilities.
4. Save your intermediate notes and any machine-readable findings under `/tmp/gh-aw/agent/vulnhunter/out/`.
- List the files under `/tmp/gh-aw/agent/vulnhunter/vulnhunter/vulnhunt/phases/` and select **at most 2 phases** most applicable to a Go CLI codebase (e.g. injection, secrets). Read only those phase files.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Daily VulnHunter Scan exceeded max AI credits

3 participants