Local LLM Finds Real Terraform Security Flaws Without Cloud Upload

A developer tested whether a model running entirely on a laptop could perform a useful security review of real Terraform code. The review used a sanitized copy of their infrastructure with seven deliberately planted issues, rated easy to hard in advance. The reviewer was a small agent built with AWS's open-source Strands Agents SDK, which can target a local server or Amazon Bedrock by changing one line. The most valuable discovery was an unplanted flaw: an attached AWS managed policy letting the host role read any SSM parameter, undermining a later restriction. The author also used the experiment to compare two local models, Ornith 1.5 and Inkling 2 Mini, on the same task.
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