SShortSingh.
Back to feed

Developer Builds Single-Use Agent Permission System That Blocks Self-Minted Approvals

0
·1 views

A software developer completed a supervised AI agent experiment on August 9, 2026, designed to grant exactly one human-approved execution without allowing the agent to generate or expand its own permissions. The system required an operator-signed receipt that bound the approval to specific interpreter and script file hashes, a working directory, a maximum runtime, an expiry, and a one-time-use nonce. A replay attempt using the same still-valid receipt was successfully refused, confirming the single-use enforcement held. The permitted job was a deterministic, 453-line reproduction script testing a sequence attack against both an ungated guard and a purpose gate, with results verified against pre-frozen predictions. All hashes, contracts, and receipts have been published on GitHub, with verification instructions provided via OpenSSH commands in the repository's VERIFY.md file.

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 ·

Rust API Design: How to Handle Explicit Destructors and the Drop Trait

In Rust, adding an explicit destructor to a type that also implements the Drop trait creates a conflict: Drop receives &mut self, preventing fields from being moved out during cleanup. This means calling a consuming close() method from within drop() triggers a compile-time error, since the value cannot be moved from behind a mutable reference. The problem stems from Drop not owning self, so it cannot delegate ownership to the explicit destructor. There is no perfect fix, but common workarounds include wrapping fields in Option, adding an extra layer of indirection via a nested struct, or using unsafe code. Each approach involves trade-offs in complexity and safety that developers must weigh based on their use case.

0
ProgrammingDEV Community ·

How to Deploy an OpenClaw Agent on a VPS for 24/7 Automation

Running an OpenClaw agent on a Virtual Private Server (VPS) enables continuous, round-the-clock automation without relying on a personal machine. A basic Linux VPS with 2GB RAM running Ubuntu 22.04 LTS is sufficient to get started, with Node.js 20 and the OpenClaw package installed via the command line. The agent is configured as a systemd service, ensuring it restarts automatically after any server reboot. Chat platforms such as Telegram, Slack, or Discord can be connected to the headless agent, with jobs scheduled using the server's clock. Security best practices include binding the gateway to localhost or placing it behind an HTTPS reverse proxy and using a strong authentication token.

0
ProgrammingDEV Community ·

How AI Website Builders Turn a Text Prompt Into a Full Web App

AI website builders convert natural language prompts into fully structured websites by following a multi-step internal workflow. When a user submits a prompt, the system first interprets intent — inferring details like target audience, industry, and design direction — before planning the site's architecture and page hierarchy. It then breaks the layout into reusable components such as navbars, hero sections, and pricing tables, and generates the corresponding code using technologies like React or Next.js. Visual decisions, including color palette, typography, and spacing, are also derived automatically from descriptive phrases in the prompt. The result is a pipeline that effectively transforms vague human input into a structured, deployable web application.

0
ProgrammingDEV Community ·

H100, H200 or B200: Picking the Right NVIDIA GPU for AI Workloads in 2026

Selecting a GPU for AI infrastructure in 2026 requires evaluating multiple factors beyond raw speed, including model size, memory requirements, and whether the use case is training or inference. NVIDIA's H100, built on the Hopper architecture, remains a strong choice for organizations with existing deployments due to its maturity and proven track record across large language model training and HPC workloads. The H200 improves on the H100 primarily through larger, higher-bandwidth HBM3e memory, making it better suited for memory-intensive workloads where fitting large models into GPU memory is a bottleneck. Insufficient GPU memory can force teams into complex workarounds such as model partitioning, quantization, or batch-size adjustments, meaning memory capacity can shape overall system architecture. Infrastructure teams are advised to match GPU selection to their specific workload demands and total cost considerations rather than defaulting to the newest available hardware.