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 - sobregosodd/anomalous: Github actions behavioural analysis

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
__tests__
__tests__
 
 
analyze
analyze
 
 
bin
bin
 
 
dist
dist
 
 
examples
examples
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 
eslint.config.mjs
eslint.config.mjs
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
pyproject.toml
pyproject.toml
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Anomalous

Spot the baddies in your GitHub Actions pipelines.

CI pipelines are repetitive by nature — the same builds, tests, and deploys, run after run. Anomalous learns what a pipeline normally does at runtime and flags the runs that don't fit that pattern, so a compromised action or an injected step that reaches out to exfiltrate secrets or pull a payload stands out instead of blending in.

It drops into a workflow as a single action, captures what actually happens during a run (processes, network connections, files, DNS), learns each pipeline's fingerprint, and surfaces the outliers — with a low false-positive rate.

Runtime data collection is powered by the Datadog Agent and its Cloud Workload Security (CWS) activity dumps.

Features

  • One-line integration — add a single action as the first step; your existing steps stay untouched.
  • Runtime behavioural capture — process lineage, network connections, file access, and DNS, collected on the runner via the Datadog Agent (CWS activity dumps).
  • Learned per-pipeline baseline — a behavioural model built from your own historical runs, refreshed on a schedule.
  • Anomaly scoring — every run is compared against the baseline and deviations are surfaced as findings.
  • Low noise — alerts fire on genuinely out-of-profile behaviour, not routine variation.
  • Detect first, block later — starts in report-only mode, with a path to gating anomalous runs.

Quick start

Add Anomalous as the first step of your job. It starts a host-wide activity dump on entry, then — in its post: step, which runs even if a later step fails — stops the dump, uploads it as an artifact, and scores it against a trained model.

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: sobregosodd/anomalous@v1
        with:
          model-path: anomalous-model.joblib   # trained by the scheduled trainer
      - run: ./build-and-test.sh   # your existing steps, unchanged

The model is built off the critical path by a scheduled trainer (examples/train.yml, daily) that accumulates collected dumps and uploads an anomalous-model artifact. Your workflow must make that model available to the action (e.g. by downloading the latest model artifact before the uses: step). If no model is present yet, analysis is skipped — the dump is still uploaded so the trainer can build the first model from accumulated runs. See examples/example.yml for a complete reference workflow that resolves and downloads the latest model.

Required permissions

The action uploads the collected dump as a workflow artifact from its post: step using the @actions/artifact library (a JS post: step cannot uses: the actions/upload-artifact action). For the uploaded artifact to appear in the run Summary UI, the workflow must grant actions: write to the GITHUB_TOKEN. Without it the upload still succeeds and the artifact is fully downloadable via the API, but GitHub hides it from the Summary page.

permissions:
  contents: read
  actions: write   # required for the uploaded dump artifact to show in the UI

If your workflow declares permissions: explicitly, remember that all unlisted scopes default to none — so actions: write must be listed explicitly even if your repo's default workflow permissions are permissive.

Documentation

  • Architecture — how the pieces fit together and the packaging trade-offs.

License

Anomalous is licensed under the Apache License, Version 2.0 — the same license as the Datadog Agent it builds on. See LICENSE.

About

Github actions behavioural analysis

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — 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.