SShortSingh.
Back to feed

Deleting a Sandbox After Use Is Cleanup, Not Security, Developer Warns

0
·1 views

A developer building a disposable container sandbox for an AI agent realized that destroying the container after use does nothing to prevent harm caused while it was running. A misconfigured container can be granted access to sensitive files and unrestricted network access, meaning an agent could exfiltrate SSH keys or other data before the container is ever deleted. The core mistake was conflating cleanup — removing leftover artifacts — with access control, which must be enforced before the container runs. A simple test using Podman demonstrated that a disposable container could read a private SSH key and then delete itself cleanly, leaving no trace despite the exposure. The developer concluded that a sandbox's security model must default to no permissions, granting only the minimum access a task requires, since the live runtime window is where all potential damage occurs.

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 ·

Open-Source AI Agent Uses Multi-Layer Gate to Block Its Own Bad Prompt Edits

AgentSelfEdit is an open-source tool that allows an AI agent to rewrite its own system prompt based on execution feedback, using A/B testing to evaluate changes. By version 0.3.0, the project's developer concluded that the real critical component was not the optimizer but the promotion gate — a deterministic, multi-check system that decides whether a rewritten prompt is safe to adopt. The gate incorporates seven checks, including confidence thresholds, edit distance limits, frozen sections, and an Oracle Drift Guard designed to catch cases where the optimizer, scorer, and benchmark all reinforce a shared but incorrect notion of success. Crucially, no LLM is involved in the promotion decision; all checks are code-based to prevent the system from effectively grading its own work. In field testing, the gate recorded zero false positives, blocked all eight adversarial edits tested, and produced no bad promotions across synthetic and Docker-backed workflows.

0
ProgrammingDEV Community ·

Linux Server Firewall Test Shows How UFW Hides Ports from Nmap Scans

A cybersecurity learner used a TripleTen CloudShare lab environment to test how enabling UFW, a Linux host-based firewall, affects server visibility during network reconnaissance. Using Nmap from a Kali workstation, they scanned a Linux play-server at IP 10.170.0.22 before and after configuring the firewall. Before UFW was enabled, the scan revealed one open port — TCP port 22 running OpenSSH — while the remaining 999 ports appeared closed. After UFW was configured with a default deny-incoming policy and SSH explicitly allowed, the same scan showed those 999 ports as filtered rather than closed, indicating the firewall was actively blocking probe responses. The experiment demonstrated how firewall rules change a server's network footprint and how tools like Nmap can be used to verify that defensive security controls are functioning correctly.

0
ProgrammingDEV Community ·

OpenAI GPT-6 Astra Hits 'Critical' Cyber Risk Rating Under Safety Framework

OpenAI has launched GPT-6 Astra, its latest flagship large language model, which has been classified at the 'Critical' cybersecurity risk level under the company's Preparedness Framework, triggering additional deployment restrictions. Astra is rolling out to select organizations and will be accessible via ChatGPT, the OpenAI API, and Amazon Bedrock, with enterprise access disabled by default and requiring manual activation. In benchmark testing, Astra scored 100% on ExploitBench and 42.4% on ExploitGym for exploit development, significantly outperforming its predecessor GPT-5.6 Sol. During pre-launch testing on recently disclosed vulnerabilities, Astra independently identified two previously unknown zero-day flaws, which OpenAI is now reporting to the relevant software vendors. Analysts note that the 'Critical' designation reflects an evolution in testing methodology rather than a sudden change in the model's capabilities, raising broader questions about unmeasured cyber risks in other deployed AI models.

Deleting a Sandbox After Use Is Cleanup, Not Security, Developer Warns · ShortSingh