Skip to content

Add --format github-annotations output mode to agentshield ci for inline PR diff warnings #74

Open

Description

@divyanshujethi

Currently agentshield ci supports Markdown, JSON, and SARIF 2.1.0 output. Adding --format github-annotations (::error file=...,line=...::...) surfaces leaked credentials inline on GitHub PR Files Changed diffs even on repositories without GitHub Code Scanning enabled.

Starting Points

  • src/ci.ts
  • src/cli.ts
  • tests/ci.test.ts

Activity

  1. github-actions commented on Nov 18, 2026

    @github-actions

    👋 Thanks for reporting this issue, @divyanshujethi!

    We appreciate your vigilance in keeping AI agents secure with AgentShield. 🛡️

    Our security team will review and triage this report shortly. If this is a suspected vulnerability or security finding, remember you can also disclose responsibly via our Security Policy.

    🤝 Want to contribute a fix or pattern? Let us know and we'd be happy to guide you through opening a PR!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions