Title | Type | Date | Comment |
---|---|---|---|
AI-Exploits | code | A collection of real world AI/ML exploits for responsibly disclosed vulnerabilities | |
LLM-Guard | code | The Security Toolkit for LLM Interactions | |
Garak | code | LLM vulnerability scanner | |
NIST AI RMF Playbook | doc | NST AI RM Playbook | |
MITRE ATLAS | doc | Adversarial Threat Landscape for AI Systems | |
NIST AI 100-2e2023 | doc | Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name | Address | Status | Version | Ciphersuite | Hash | Signature | Verification | | |
| ------------------------------------------------------------------------------------- | -------------------- | ---------- | ------- | ---------------------------- | ------ | --------- | -------------------------------------------- | | |
| accuknox-agents/agents-operator[health-check] | 172.20.183.36:9090 | PLAIN_TEXT | | | | | | | |
| accuknox-agents/agents-operator[spire-agent] | 172.20.183.36:9091 | PLAIN_TEXT | | | | | | | |
| accuknox-agents/discovery-engine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backporting to a branch by cherry-picking from the upstream/stable branch | |
git fetch upstream | |
git checkout upstream/v0.2 # verify if the tip is same as that of the branch you expect by comparing sha hash | |
git switch -c gke-cos-fix | |
git cherry-pick e2737efa975198efde13a48435cc994daa3ba018 # substitute with your commit of interest | |
git push origin gke-cos-fix # push the branch to your origin repo | |
# Go to github UI and raise PR to the v0.2 branch | |
# Pull PR locally and test | |
git fetch upstream pull/37/head:mybranch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: $0 <pod> [tcpdump-filter] | |
[[ "$1" == "" ]] && echo "Usage: $0 <pod> [tcpdump-filter]" && exit 1 | |
ep_id=`kubectl get cep -A -o jsonpath="{.items[?(@.metadata.name==\"$1\")].status.id}"` | |
iface=`cilium endpoint get $ep_id -o jsonpath="{[*].status.networking.interface-name}"` | |
shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# Aim of this script is to send a vxlan tunneled HTTP request with spoofed | |
# identity and pass through the authz checks implemented in cilium-ebpf. | |
# Configuration you need to set correct: | |
# 1. The target pod address (dip, dport) to which you want to make unauthorized access | |
# 2. The source identity (identity = 8849 below) to spoof. Use `cilium identity | |
# list` to check valid identity values. | |
# 3. The target node's vxlan IP address (vxlan_ip) and port (vxlan_port = 8472 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
gtd format: ss:usec ... raw time of day format .. difficult to read .. | |
whitefield format: ss:ms .. eases timestamp reading cuz ms format used | |
cooja format: hh:mm:ss.ms ... most easiest to read | |
./a.out 7 // show sample test of all timestamps with print | |
./a.out 1 1 // perf-test gettimeofday only | |
./a.out 2 1 // perf-test whitefield style | |
./a.out 4 1 // perf-test cooja style |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=gcc | |
AR=ar | |
V = 0 | |
ACTUAL_CC := $(CC) | |
CC_0 = @echo "CC [$<]"; $(ACTUAL_CC) | |
CC_1 = $(ACTUAL_CC) | |
CC = $(CC_$(V)) | |
ACTUAL_AR := $(AR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checks: '-*,readability-identifier-naming' | |
CheckOptions: | |
- { key: readability-identifier-naming.NamespaceCase, value: lower_case } | |
- { key: readability-identifier-naming.ClassCase, value: CamelCase } | |
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ } | |
- { key: readability-identifier-naming.StructCase, value: CamelCase } | |
- { key: readability-identifier-naming.FunctionCase, value: CamelCase } | |
- { key: readability-identifier-naming.VariableCase, value: camelBack } | |
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE } | |
- { key: readability-identifier-naming.GlobalVariableCase, value: camelBack } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Language: Cpp | |
# BasedOnStyle: WebKit | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: true | |
AlignConsecutiveAssignments: true | |
AlignConsecutiveDeclarations: true | |
AlignEscapedNewlinesLeft: false | |
AlignOperands: true | |
AlignTrailingComments: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool isPowOf2(val) | |
{ | |
return val && !( val & ( val - 1)); | |
// val && is required so that val=0 is handled. 0 is not the pow of 2 | |
} | |
/* increment val only if MAX_UINT val not reached. Use-case: for stats incr, you dont want the val to cycle */ | |
#define STAT(S) (S) += (!!(S ^ 0xffffffff)) // S will incr by 1 only till it reach 0xffffffff |
NewerOlder