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 — Demo: glsec findings as code scanning annotations by predictor2718 · Pull Request #2 · glsec/example-github-code-scanning

Conversation

@predictor2718

@predictor2718 predictor2718 commented Oct 26, 2026

Copy link
Copy Markdown
Member

Kept open on purpose as a demo, not meant to be merged.

main holds a clean pipeline. This pull request turns bad-pipeline.yml into the example from glsec.github.io/reports, and the glsec workflow uploads its SARIF report to code scanning. The findings show up as annotations on the changed lines under Files changed, each with the rule's title, severity and help.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@predictor2718
demo: the pipeline with the mistakes glsec reports
5706365
Signed-off-by: Nicolai Ehrhardt <[email protected]>
predictor2718 added a commit that referenced this pull request Oct 26, 2026
@predictor2718
README: the demo pull request is #2
b1eb32c
Signed-off-by: Nicolai Ehrhardt <[email protected]>
github-advanced-security[bot]
github-advanced-security Bot found potential problems Oct 26, 2026
View reviewed changes
Comment thread bad-pipeline.yml
- set -x
- curl -sSL https://get.example.com/install.sh | sh
- 'curl -H "Authorization: Bearer $DEPLOY_TOKEN" "https://hooks.example.com/deploy?branch=$CI_COMMIT_REF_NAME"'
- ssh -o StrictHostKeyChecking=no [email protected] ./release.sh
Comment thread bad-pipeline.yml
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
include:
- project: platform/ci-templates
ref: main
Comment thread bad-pipeline.yml
- template: Security/Secret-Detection.gitlab-ci.yml

variables:
DOCKER_AUTH_CONFIG: '{"auths":{"registry.example.com":{"auth":"ZGVwbG95OnMzY3IzdA=="}}}'
Comment thread bad-pipeline.yml

build:
stage: build
image: node:latest
Comment thread bad-pipeline.yml
expire_in: 1 week
paths:
- dist/
- .env
Comment thread bad-pipeline.yml

secret_detection:
rules:
- when: never
Comment thread bad-pipeline.yml
image: node:22.11.0
script:
- npm ci
- echo Running tests for $CI_COMMIT_REF_NAME
Comment thread bad-pipeline.yml
stage: build
image: docker:27.3.1
services:
- docker:27.3.1-dind
Comment thread bad-pipeline.yml
stage: build
image: node:latest
script:
- npm install
Comment thread bad-pipeline.yml
@@ -1,12 +1,62 @@
# The same service before the changes in the demo pull request: no findings.
# The pipeline of a small Node.js service, with the kind of security mistakes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@github-advanced-security github-advanced-security[bot] github-advanced-security[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@predictor2718 @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — 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.