GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aolingge/agent-secret-guard-action: Run Agent Secret Guard in GitHub Actions with a versioned wrapper: configurable scan paths, severity thresholds and text, JSON or SARIF output.

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
BACKLOG.md
BACKLOG.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
SECURITY.md
SECURITY.md
 
 
action.yml
action.yml
 
 

Repository files navigation

Agent Secret Guard Action

Run agent-secret-guard in GitHub Actions to scan AI agent, MCP, and local automation repositories for risky secrets and permissions.

Languages: English | 简体中文

GitHub Marketplace Main repo License: MIT

This wrapper action is intentionally small. The scanner source, rules, docs, and examples live in the main repository:

  • Marketplace listing: https://github.com/marketplace/actions/agent-secret-guard
  • Main repo: https://github.com/aolingge/agent-secret-guard
  • npm package: https://www.npmjs.com/package/agent-secret-guard
  • Fix guide: https://github.com/aolingge/agent-secret-guard/blob/main/docs/remediation.md
  • Changelog: CHANGELOG.md

Quick Start

name: Agent Secret Guard

on:
  pull_request:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          persist-credentials: false
      - uses: aolingge/[email protected]
        with:
          path: .
          fail-on: high

Inputs

Input Default Description
path . Directory or file to scan.
fail-on high Lowest severity that should fail the action: low, medium, high, or critical.
format text Output format: text, json, or sarif.
output empty Optional file path to write the report to.

SARIF Example

- uses: aolingge/[email protected]
  with:
    path: .
    fail-on: high
    format: sarif
    output: agent-secret-guard.sarif

- uses: github/codeql-action/upload-sarif@v4
  if: always()
  with:
    sarif_file: agent-secret-guard.sarif

Version Policy

Each action tag pins a specific agent-secret-guard npm package version inside action.yml. This keeps workflow runs reproducible.

To get scanner rule updates, upgrade the action tag after checking the wrapper changelog and the main scanner release notes.

What It Catches

  • MCP tokens passed through command args.
  • Hardcoded API and package tokens.
  • Broad filesystem access in agent or automation configs.
  • Browser profile and credential store exposure.
  • Dangerous shell commands in agent instructions.
  • Over-permissive GitHub Actions workflows.

Launch Guides

Preparing to publish an AI agent, MCP server, or automation repo? Start with the main project's launch kit for release copy and the remediation guide for fixing findings before release.

Privacy

The action runs the npm CLI package inside your workflow. It does not upload findings to a remote service. Treat text, JSON, and SARIF reports as sensitive artifacts because they may include private file paths or surrounding evidence.

Contributing

Wrapper changes are documented in CONTRIBUTING.md. Scanner rule changes should go to the main agent-secret-guard repository.

License

MIT

Support

Report wrapper execution bugs with the bug report form. Scanner rule requests and false-positive reports belong in the main agent-secret-guard repository.

If this project saves you time, you can support future maintenance here: Buy Me a Coffee.

About

Run Agent Secret Guard in GitHub Actions with a versioned wrapper: configurable scan paths, severity thresholds and text, JSON or SARIF output.

github.com/marketplace/actions/agent-secret-guard

Topics

ai-agentai-agent-securitygithub-actiongithub-actionsmcpmcp-securitysarifsecret-scanningsecurity-tools

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.