Skip to content

Instantly share code, notes, and snippets.

View amouat's full-sized avatar

Adrian Mouat amouat

View GitHub Profile
@amouat
amouat / redis.vex
Created January 30, 2026 09:55
VEX document for dhi.io/redis:8 retrieved with `docker scout vex get --output redis.vex dhi.io/redis:8@sha256:b9f14448dcb4eaeeab5915c99b29583ee14b199a1b429cff8b258936b9cb3617`
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://scout.docker.com/public/vex-86086cbedc89f1b1c815fb48bcd3624836df713eae3c1e41e2d5059a0c53fea3",
"author": "Docker Hardened Images \[email protected]\u003e",
"role": "Document Creator",
"version": 1,
"tooling": "Docker Scout",
"statements": [
{
"@id": "175dc971-06c8-48e6-a305-0f493f9ec805",
@amouat
amouat / golang-vex.json
Created January 30, 2026 09:53
VEX document for dhi.io/golang:1.23. Retrieved with `docker scout vex get registry://dhi.io/golang:1.23@sha256:31398e476325627a94bf3c45dd5134f2d891b1456b36bf77b69179a0a0c7c04c --output golang-vex.json`
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://scout.docker.com/public/vex-2dbb10b9033b03376bf51603d76371006be87fbbaf30c8be721aa2c778e36dff",
"author": "Docker Hardened Images \[email protected]\u003e",
"role": "Document Creator",
"version": 1,
"tooling": "Docker Scout",
"statements": [
{
"@id": "88bffcd1-7214-4ab5-829b-79e5fd46b1d1",
@amouat
amouat / fortify.c
Last active January 10, 2025 09:02
Exercising _FORTIFY_SOURCE in gcc (clang should work as well)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
/*
* Simple test program for FORTIFY_SOURCE.
*
* Compile with the following to test with no source fortification and stack protection off:
* gcc -D_FORTIFY_SOURCE=0 -fno-stack-protector fortify.c -o fortify
*
@amouat
amouat / .conkyrc
Created January 6, 2012 20:11
Conky config for TODO system
#.conkyrc for TODOs
#
# Slightly modified version of basic config
#
# Adrian Mouat 2012
#
alignment top_right
background yes
border_width 1
default_color white