SShortSingh.
Back to feed

Kubernetes Secret controls cannot protect API keys already injected into pods

0
·1 views

A security researcher demonstrated on September 13, 2026, that standard Kubernetes hardening controls fail to protect LLM API keys once they have been injected into a pod as environment variables. Despite enabling restricted Pod Security Standards, strict RBAC policies, disabled service account token mounting, and a read-only filesystem, a single file read inside the container was enough to extract the credential. The stolen key was then successfully authenticated to the LLM provider from a separate pod, confirming the breach. The researcher clarifies that Kubernetes admission and RBAC controls govern access to Secret objects in the API, but do not restrict credentials a pod has already been granted at startup. The finding is especially relevant for AI agent workloads, which are designed to act on arbitrary text instructions and therefore represent a high-value target if a credential is exposed.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How One SaaS Team Replaced Ad-Hoc AI Prompting With a Structured Operating System

A SaaS operator has published a detailed guide outlining how their team moved away from one-off AI prompting toward a structured, repeatable operating system for running multiple software products. The system is built around two core layers: a set of organised playbooks covering key founder workflows such as validation, building, launching, and growth, and an engineering stack that automates and logs those playbooks on a schedule. The motivation came after inconsistent AI outputs — including hallucinated competitor features and off-target content — revealed that the problem was structural rather than a matter of prompting skill. Research cited in the guide suggests that teams relying on unstructured prompts face higher error and hallucination rates compared to those using grounded, repeatable processes. The guide also covers how the team integrates a CRM with AI workflows and built an automated Reddit trend research tool to support content operations.

0
ProgrammingDEV Community ·

Why 'When Did This Change Happen?' Has No Single Answer in Modern Databases

Determining exactly when a database change occurred is a complex, multi-layered question critical to replication, auditing, and application-log correlation. In MVCC-based databases, a single row update involves at least six distinct moments — from transaction start and read point selection to commit visibility and client acknowledgment — none of which are interchangeable. PostgreSQL tracks these using transaction IDs, snapshot coordinates, and Log Sequence Numbers, while Oracle consolidates many functions into its System Change Number, though it still relies on additional identifiers. Distributed systems like YugabyteDB use hybrid logical clocks, while SQL Server, MySQL, and MongoDB each split these responsibilities differently. The core insight is that no single timestamp or coordinator answers all ordering questions, and the right one to use depends entirely on what the application is actually asking.

0
ProgrammingDEV Community ·

EU Moves to Make Huawei Ban Legally Binding Across Critical Infrastructure

The European Commission reissued its recommendation in May 2026 to exclude Huawei and ZTE from critical telecom infrastructure, reinforcing a stance it first took in 2020. A January 2026 revision to the EU Cybersecurity Act would transform six years of voluntary guidance into a binding legal obligation, proposing a 36-month phase-out window covering mobile, fixed broadband, and transport infrastructure. Only 13 of 27 EU member states had taken concrete action under the original 2020 framework, highlighting weak compliance with voluntary measures. The proposed legislation is still under review by the European Parliament and Council, with key questions remaining around the phase-out timeline and how heavily exposed nations like Germany may seek to negotiate its terms. Cost estimates for the transition vary sharply — from €10–13 billion by the Commission to €35 billion by industry groups — a gap analysts say reflects the absence of a shared model for mapping the full scope of vendor dependencies involved.

0
ProgrammingDEV Community ·

Developer builds MCP server to track brand visibility across AI answer engines

A developer has launched Cituna, a tool designed to monitor how often a product or brand is cited by AI-powered answer engines such as ChatGPT, Perplexity, Gemini, Claude, Grok, and Google's AI search features. The tool runs daily prompt simulations across all seven platforms and records which brands each engine mentions in response to buyer-style queries. It exposes this data via the Model Context Protocol, allowing users to query their AI visibility directly inside Claude without switching tools. Cituna also integrates with Google Search Console to highlight cases where a product ranks well on traditional search but remains absent from AI-generated answers. A free first scan is available, and the tool offers both an MCP interface and a REST API for developers who prefer to build on top of the data.

Kubernetes Secret controls cannot protect API keys already injected into pods · ShortSingh