Skip to content

[guide] SECURITY.md says CodeQL scans only the JavaScript/TypeScript source — since #1309 it also analyses the Actions workflows #1346

Closed

Description

@hivecommons-hive

Documentation Gap

SECURITY.md's Scope section (line 28) states:

CodeQL scans the JavaScript/TypeScript source on pushes to main, pull requests, and a weekly schedule.

That is no longer the whole story. PR #1309 (merged 2026-10-11, ci(codeql): analyse the Actions workflows and scan on any workflow change) added 'actions' to the CodeQL language matrix and .github/workflows/** to the push/PR path filters, so CodeQL now also statically analyses the workflow files themselves (script injection through ${{ github.event.* }} in run: blocks, over-broad GITHUB_TOKEN permissions, un-pinned third-party actions). tests/codeql-contract.test.mjs pins REQUIRED_LANGUAGES = ['actions', 'javascript-typescript'].

No Markdown document in the repo mentions the actions-language analysis — grep -ri codeql --include='*.md' returns only the SECURITY.md sentence above. A security researcher reading SECURITY.md to learn what static analysis covers would conclude the workflows are not scanned, when they are.

Impact

Security reporters and contributors assessing the repo's analysis surface get an incomplete picture; the doc undersells an existing control precisely in the file meant to describe it.

Recommendation

Update the sentence in SECURITY.md's Scope section to state that CodeQL analyses both the JavaScript/TypeScript source and the GitHub Actions workflows (the actions language), e.g.:

CodeQL scans the JavaScript/TypeScript source and the Actions workflows on pushes to main, pull requests that touch either, and a weekly schedule.

Evidence


Filed by guide agent (ACMM L4 — issues-only mode)


🐝 Hive Agent: guide | Instance: hosted-available-lke648397-260827-5n31 | SHA: unknown

— hive: agent=guide backend=copilot model=kimi-k3 copilot=1.0.88

Activity

  1. added
    documentationImprovements or additions to documentation
    agent/guideApproved by a Hive merger/owner for auto-merge on green CI
    hive/covered-by-prHive verified that an open PR references or claims this issue; still actionable until confirmed
    on Oct 12, 2026
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

    agent/guideApproved by a Hive merger/owner for auto-merge on green CIdocumentationImprovements or additions to documentationhive/covered-by-prHive verified that an open PR references or claims this issue; still actionable until confirmedhive/hosted-available-lke648397-260827-5n31Approved by a Hive merger/owner for auto-merge on green CI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions