Urgent.News

What's breaking now, across thousands of outlets.

Tech

How We Learned to Harden Jenkins Agents: 3 Mistakes That Cost Us

Originally published on kuryzhev.cloud Context: agents are the attack surface, not the controller We had to harden Jenkins agents after a routine security review turned into something less routine. A pull request from an external contributor triggered a build that, for a brief moment, had a live network path to an internal metadata endpoint it had no business touching. Nothing was exfiltrated.…

Jenkins agents were treated as trusted extensions of the controller, leading to a compromised pull request being able to access internal metadata endpoints. Agents were assumed to be safe due to the controller's RBAC security measures, but this led to the execution of arbitrary code. Agents were also connected over standard JNLP/Remoting, allowing compromised or malicious build steps to potentially reach controller-side objects.

Three main mistakes were identified in the process: treating agents as trusted extensions, mounting docker.sock for convenience, and keeping long-lived "pet" agents. To improve security, the team switched to ephemeral agents for each build, which eliminates leftover workspace and cached credentials. Additionally, they adopted a pod-per-build model using Kubernetes, ensuring that each build receives a fresh environment.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

You Will Relearn Your Job Every Few Years, and That Is the Job

When I started in this field, I quietly believed there would come a point where I had learned enough. I would master the stack, accumulate enough hard-won knowledge, and then coast on that expertise…

  • Constant change in technology requires relearning every few years
  • Deep judgment of systems remains valuable across generations
  • Beginner's mindset enables quick adaptation to unfamiliar systems

How I Got 40,000 Facebook Followers in Just Two Months

Two months ago, my Facebook page had a small, quiet following. Today, more than 40,000 people follow it. I did not expect this to happen so fast, and I do not believe there is a secret trick behind…

  • PlotLab grew from modest to 40,000 followers in two months.
  • Content focuses on visualizing abstract math concepts with Manim animations.
  • PlotLab addresses real student confusion before expanding to custom animations.

In 5 weeks you can make $1,250/month by building a battery-efficient mileage tracker.

In 5 weeks you can make $1,250/month by building a battery-efficient mileage tracker. 4.7★ lifetime → 4.3★ now · Finance Metric Score Opportunity score 4/5 Market gap 4/5 Build time 5 weeks Expected…

  • Developer can build and launch battery-efficient mileage tracker app in 5 weeks
  • App generates $1,250/month in recurring revenue at $2.50/month price point
  • Current app suffers from severe battery drain and limited free tier

Role grupowe w PostgreSQL - zbiorcze zarzadzanie uprawnieniami krok po kroku

Nadawanie uprawnien kazdemu userowi z osobna szybko robi sie niezarzadzalne - role grupowe w PostgreSQL rozwiazuja ten problem. Pokazujemy praktyczny model.

  • PostgreSQL role groups allow collective management of permissions for multiple users.
  • Article provides steps to create role groups, assign permissions, and manage them.
  • Example shows creating 'programisci' role group for 'programista1' and 'programista2' users.

More from Wednesday 2 September →