Least-privilege auditor for GitHub Actions workflows: permissions, triggers, secrets.
MCPpedia last refreshed this data
io.github.CloudCorpRecords/flowcheck is an MCP server that least-privilege auditor for GitHub Actions workflows: permissions, triggers, secrets. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 55/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"flowcheck": {
"args": [
"-y",
"@reneturcios/flowcheck",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Least-privilege auditor for GitHub Actions workflows: permissions, triggers, secrets.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@reneturcios/flowcheck' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @reneturcios/flowcheck against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in developer-tools / devops
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP server for using the GitLab API
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
MCP Security Weekly
Get CVE alerts and security updates for io.github.CloudCorpRecords/flowcheck and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The default GitHub token can write to your repo. Most workflows never check.
Every GitHub Actions workflow runs with a GITHUB_TOKEN. Repos created with legacy settings give that token write access to nearly everything, and a workflow with no permissions: block inherits whatever the repo default is. Add the trigger shapes that check out pull request code inside a privileged context, secrets passed wholesale to reusable workflows, and caches written by PR runs and read back by release runs, and the workflow file itself becomes the attack surface. The 2025 tj-actions compromise showed how fast a trusted action can turn; "pwn request" write-ups have shown the same for pull_request_target checkouts of PR heads for years.
flowcheck audits every workflow in a repo for least-privilege problems, shows the evidence per file, job, and line, and emits a hardened permissions block per job, inferred from what the job's steps actually do, that you can paste in.
GitHub Actions are the second largest confirmed open source supply-chain attack surface of the last year, behind only npm. The failures are rarely exotic: a missing permissions block, one write-all, a checkout of ${{ github.event.pull_request.head.sha }} under pull_request_target, a self-hosted runner answering PR triggers. All of them are visible in the YAML, statically, before anything runs. flowcheck reads the YAML with a real parser (anchors, merge keys, and block scalars included), never executes anything in the scanned repo, and is callable by agents through MCP so the audit can run inside contribution and release workflows, not just by hand.
Sibling tools ask different questions: actionpin asks whether action refs are pinned to SHAs. flowcheck asks whether permissions and triggers are least-privilege. They share no code.
| rule | severity | what it means |
|---|---|---|
FC-PERMS-WRITE-ALL | critical (top level), high (job) | permissions: write-all, every scope writable by the token. |
FC-PR-HEAD-CHECKOUT | critical | pull_request_target, workflow_run, or issue_comment trigger combined with a checkout whose ref points at the PR head. Privileged context, untrusted code. |
FC-NO-TOP-PERMISSIONS | high or medium | No top-level permissions: block. Jobs inherit the repo default token, which is write-all on many repos. |
FC-JOB-GRANT-BROAD | medium (high for id-token) | A job (or the top-level block it inherits) grants a write scope no step in the job needs, judged against the inferred needs. |
FC-SECRETS-INHERIT | high or medium | A reusable workflow call passes secrets: inherit, handing every repo secret to the called workflow. |
FC-REUSABLE-MISSING | high | A job calls a local reusable workflow (./.github/workflows/...) that does not exist in the estate. GitHub fails the caller at runtime. |
FC-REUSABLE-NOT-CALLABLE | high | A job calls a local workflow as reusable, but that file declares no workflow_call trigger, so it cannot be called. |
FC-REUSABLE-INPUTS | medium | A caller passes an input the callee does not declare in workflow_call inputs, or omits a required input that has no default. |
FC-REUSABLE-SECRETS | medium | A caller does not pass a secret the callee declares required: true in workflow_call secrets (and does not use secrets: inherit). |
Reusable graph checks resolve local calls only: a remote reusable call (owner/repo/.github/workflows/... at a ref) cannot be read from the local estate and is not flagged by the graph rules.
| FC-SELF-HOSTED-PR | high | A self-hosted runner in a workflow with PR-reachable triggers. Fork code on your machine and your network. |
| FC-SECRETS-ON-PR | medium | Secret references in a pull_request workflow. Same-repo PR branches run with secrets before merge. |
| FC-CACHE-POISON | medium | A cache step under a PR trigger in a workflow that also has a privileged (write) consumer: a poisoned