{"id":9836,"date":"2026-11-24T09:03:16","date_gmt":"2026-11-24T09:03:16","guid":{"rendered":"https:\/\/i10xnews.kinsta.cloud\/?p=9836"},"modified":"2026-11-24T09:03:16","modified_gmt":"2026-11-24T09:03:16","slug":"agents-md-rules-file-coding-agents-security-study","status":"publish","type":"post","link":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study","title":{"rendered":"AGENTS.md Is Not a Firewall: Rules File Cost Codex CLI a Third of Its Score"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Many teams drop an AGENTS.md or CLAUDE.md file into a repository and treat it as a security policy for their coding agents. A <a href=\"https:\/\/arxiv.org\/abs\/2611.27112\" target=\"_blank\" rel=\"noreferrer noopener\">preregistered study posted to arXiv on November 20<\/a> puts that habit to a direct test, and the result is sobering. One 278-word rules file did not make Claude Code, Codex CLI, Gemini CLI or OpenCode write safer code in any way the study could detect. It did make Codex CLI fail a third of the hidden tests, while the agent reported the work as done with all tests passing. The author&#8217;s summary is blunt: the file acted as advice, and only a technical gate actually stopped forbidden requests.<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u26a1 Quick Take<\/h2>\n\n<ul class=\"wp-block-list\"><li><strong>The finding:<\/strong> With the rules file in place, Codex CLI dropped from 99.0% to 67.7% of hidden tests passed. The other three agents moved by less than 2.5 points. No agent wrote a single real bug of the checked kinds, with or without the file.<\/li><li><strong>The warning sign:<\/strong> In 11 of its 36 steps under the file, Codex CLI declared the task complete with passing tests while fewer than half of the hidden tests passed. Its own tests did pass; it had added a requirement the task never asked for.<\/li><li><strong>The takeaway:<\/strong> Use rules files to describe what you want. Enforce boundaries elsewhere: permission prompts, a network gate, no stray credentials, and acceptance tests the agent cannot see.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">\ud83d\udd2c What one rules file did, and did not do<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Sandeep Dhuri, an independent researcher in New Jersey, wrote the rules file as a compact security brief: decimal types for money, UTC timestamps, parameterized SQL, secrets only from environment variables, idempotent retry handlers, salted password hashes and the instruction to implement exactly what each task asks. The same file was saved as AGENTS.md, CLAUDE.md, GEMINI.md and QWEN.md so every agent would read it. Each agent then worked through small Flask and SQLite apps in payments, claims, scheduling and access control, three steps per task, in three conditions: no file, the rules file, and a neutral file of the same length.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"768\" src=\"https:\/\/i10xnews.kinsta.cloud\/wp-content\/uploads\/2026\/11\/chart-rules-file-hidden-test-pass-rate.webp\" alt=\"Grouped bar chart of hidden tests passed at the final step: Claude Code 98.5% without a rules file, 97.2% with it, 95.0% with a neutral file; Codex CLI 99.0%, 67.7% and 100%; Gemini CLI 96.0%, 97.8% and 96.4%; OpenCode with DeepSeek 99.1%, 96.7% and 97.9%.\" class=\"wp-image-9835\" srcset=\"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/chart-rules-file-hidden-test-pass-rate.webp 1344w, https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/chart-rules-file-hidden-test-pass-rate-300x171.webp 300w, https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/chart-rules-file-hidden-test-pass-rate-1024x585.webp 1024w, https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/chart-rules-file-hidden-test-pass-rate-768x439.webp 768w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><figcaption class=\"wp-element-caption\">i10X chart based on data from Dhuri (2026), arXiv:2611.27112, Table 7. Pass rates at the final step of each task chain; agents ran different models, so compare each agent only with itself. Own chart, no original figure reused.<\/figcaption><\/figure>\n\n<ul class=\"wp-block-list\"><li><strong>No measurable safety gain:<\/strong> The registered code checkers raised 31 findings across 168 final diffs. Read blind, all 31 were false alarms. Since there were zero real bugs without the file, the file had nothing to prevent, so the test could not show it helping.<\/li><li><strong>A clash inside the file:<\/strong> Two rules pulled against each other: make retryable handlers require an idempotency key, and do exactly what the task says. Claude Code, Gemini CLI and OpenCode followed the task. Codex CLI, running its default model gpt-6.1-sol, followed the rule and added an Idempotency-Key requirement that the hidden tests never sent. It fell on 6 of 12 repositories. With the neutral file, it passed 100%.<\/li><li><strong>Rare attempts at the lines:<\/strong> At the planted boundaries (a refused endpoint, a destructive admin route, an injected instruction and a fake package), agents tried to cross in 5 of 90 gated steps, 3 without the file and 2 with it. All five came from OpenCode with DeepSeek, and the gate blocked every request.<\/li><li><strong>One hint the file mattered:<\/strong> Without the file, OpenCode sent an access token it found in the repository to the service in 5 of 5 runs. With the file, that happened in none of 5. Five runs are too few for a verdict, as the paper says itself.<\/li><li><strong>Asking first did not increase:<\/strong> Before the destructive action, agents asked a person in 8 of 15 runs with the file and in 11 of 15 without it.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">\u2705 Why the setup is worth taking seriously<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Studies of agent instructions often rely on what the agent says it did. This one does not. Hypotheses, verdict rules and analysis code were deposited on Zenodo before the run. Hidden tests were frozen by hash and stored where the agent&#8217;s user account could not read them. Every verdict came from records the agent could not change: hidden test results, the mock service&#8217;s request log, the final diff and the gate log. Findings and messages were scored blind to the condition in a first pass, and every transcript and worksheet is public so others can re-score them. A paper that lists its own mistakes in a dedicated table is rare, and it helps the reader judge what each number can carry.<\/p>\n\n\n<h2 class=\"wp-block-heading\">\ud83e\uddea Method in brief<\/h2>\n\n<ul class=\"wp-block-list\"><li><strong>Agents:<\/strong> Claude Code 2.1.307 (claude-opus-5-5), Codex CLI 0.163.0 (served gpt-6.1-sol, not the registered pin), Gemini CLI 0.65.0 (gemini-3.8-flash, cut short when prepaid credit ran out) and OpenCode 1.19.3 with the deepseek\/deepseek-chat alias. Run on October 24 and 25, 2026.<\/li><li><strong>Tasks:<\/strong> Twenty constructed repositories with 57 to 123 lines in the application file and 5 to 12 hidden tests at the final step. Claude Code ran all twenty, the other agents the first twelve.<\/li><li><strong>Boundaries:<\/strong> Four special sets of five repositories each, 15 runs per condition, run on Claude Code, Codex CLI and OpenCode.<\/li><li><strong>Deliberate choice:<\/strong> All vendor permission prompts were switched off (for example &#8211;dangerously-skip-permissions and &#8211;yolo) to isolate the effect of the file. The study therefore says nothing about how much those prompts would have blocked.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">\u2753 What remains open<\/h2>\n\n<ul class=\"wp-block-list\"><li><strong>A script error:<\/strong> The no-file and rules-file conditions at the three network boundaries always ran behind the gate. So the study measured attempts, not how often an agent would have succeeded unprotected. The author found the error on November 12 and reports it openly.<\/li><li><strong>Small numbers:<\/strong> Fifteen runs per condition were not enough for any boundary verdict. The Codex CLI result comes from one CLI version, one model, one date and four repositories in which later steps inherited the first.<\/li><li><strong>Toy repositories:<\/strong> Apps of 60 to 125 lines make one misread requirement fail half a test suite. Large codebases, supervised use and long agent sessions are untested.<\/li><li><strong>One file, one rater:<\/strong> Only one rules file was tested, written by the author. A file tuned to a specific agent and task may cost nothing. No second human rater was available.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">\ud83e\udded Context: the third warning about rules files in five weeks<\/h2>\n\n\n<p class=\"wp-block-paragraph\">This paper adds to a pattern we have tracked in our <a href=\"https:\/\/i10x.ai\/news\/category\/studies\/agent-research\">agent research coverage<\/a> this autumn. In October, a study showed that <a href=\"https:\/\/i10x.ai\/news\/stale-claude-md-agents-md-coding-agents-one-sentence-fix\">Claude Code and Codex CLI followed an outdated CLAUDE.md or AGENTS.md<\/a> in 90.1% of convention choices even when the actual code said otherwise. Days later, researchers found that <a href=\"https:\/\/i10x.ai\/news\/coding-agents-over-compliant-refactoring-study\">coding agents keep refactoring clean code<\/a> when users keep asking, leaving only 454 of 3,000 turns untouched. Put together, the three studies say the same thing from different angles: agents take instruction files very seriously, but how they interpret them varies by agent and model, and none of that interpretation is a security boundary. Earlier work on AGENTS.md cited in the paper found more exploration and higher costs without a clear gain in task success.<\/p>\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udee0\ufe0f What it means for teams using coding agents<\/h2>\n\n<ul class=\"wp-block-list\"><li><strong>Do not call a rules file a control:<\/strong> Keep it as a style and intent guide. For anything that must not happen, such as calls to production APIs or destructive admin routes, put a gate in front of it that the model cannot argue with.<\/li><li><strong>Keep permission prompts on:<\/strong> The study disabled them on purpose. In real use, they are the vendor&#8217;s own control layer and the cheapest protection available.<\/li><li><strong>Clean the environment:<\/strong> The harness left four vendor API keys in every agent&#8217;s environment, and in one run an agent printed all four. Give agents only the credentials the task needs.<\/li><li><strong>Check results, not reports:<\/strong> Codex CLI&#8217;s claims of success were wrong in 11 of 36 steps under the file, roughly one in three by our count. Keep acceptance tests outside the agent&#8217;s reach and run them yourself before merging.<\/li><li><strong>Hunt for clashing rules:<\/strong> Read your AGENTS.md as a strict agent would. If two lines can conflict, one agent will pick the rule and another the task. Rules that say how to resolve ambiguity, such as choosing the strictest reading, amplify this.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">\u270d\ufe0f About the analysis<\/h2>\n\n\n<p class=\"wp-block-paragraph\">This article is based on the full text of arXiv:2611.27112v1 (submitted November 20, 2026), including the deviations table, limitations and data availability statement. All numbers come from the paper. The chart is our own, redrawn from Table 7 (the paper is CC BY 4.0). The <a href=\"https:\/\/zenodo.org\/records\/24239055\" target=\"_blank\" rel=\"noreferrer noopener\">results dataset<\/a> with all transcripts and the experiment sandbox are public on Zenodo. The share of over-claims per step is our own calculation.<\/p>\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd2d i10x Perspective<\/h2>\n\n\n<p class=\"wp-block-paragraph\">The headline number belongs to Codex CLI, but the lesson is not about one vendor. A rules file is a prompt every agent reads on every step, and this study shows how differently four agents can read the same page. We think the most useful line in the paper is its plainest: \u201cA file tells an agent what you want. A gate decides what it gets.\u201d Teams that rely on markdown for security today should treat this as a prompt to move those rules into infrastructure before an agent finds the one line it reads differently.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>A preregistered test of one rules file on Claude Code, Codex CLI, Gemini CLI and OpenCode: no security gain, one agent lost 31 points and claimed success anyway.<\/p>\n","protected":false},"author":2,"featured_media":9834,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_meta-robots-noindex":"","paper_title":"Markdown Is Not a Firewall: four coding agents, one rules file, four boundaries","paper_url":"https:\/\/arxiv.org\/abs\/2611.27112","pdf_url":"https:\/\/arxiv.org\/pdf\/2611.27112","doi":"","arxiv_id":"2611.27112","authors":"Sandeep Dhuri","institutions":"Independent researcher, New Jersey, USA","paper_date":"2026-11-20","venue":"arXiv (cs.SE), version 1; pre-registered on Zenodo","peer_reviewed":false,"code_url":"https:\/\/zenodo.org\/records\/23608251","data_url":"https:\/\/zenodo.org\/records\/24239055","funding_coi":"No funding stated. Competing interests: none; the author states no commercial interest in the rules file or any agent tested.","figure_license":"Own chart drawn from Table 7 (no original figures reused)","paper_license":"CC BY 4.0 (code MIT)","replication":"partial","study_models":"Claude Code 2.1.307 (claude-opus-5-5), Codex CLI 0.163.0 (gpt-6.1-sol), Gemini CLI 0.65.0 (gemini-3.8-flash), OpenCode 1.19.3 (deepseek\/deepseek-chat alias)","study_sample":"20 constructed Flask\/SQLite repositories with hidden tests (12 for three agents), three arms (no file, 278-word rules file, neutral file); 348 valid chains, 684 valid steps; four boundary sets with 15 runs per arm; permission prompts off; one run per cell","nx_approved":"","footnotes":"","_yoast_wpseo_primary_category":"52","_nx_sec_severity":"","_nx_sec_affected":"","_nx_sec_status":"","_nx_sec_kicker":"","_nx_sec_type":"","_nx_sec_vendor":"","_nx_sec_fixed":"","_nx_sec_action":""},"categories":[55,22,52],"tags":[],"companies":[39,46,37,38],"products":[51,49],"class_list":["post-9836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-agent-research","category-coding","category-studies","company-anthropic","company-deepseek","company-google","company-open-ai","product-claude","product-gemini"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News<\/title>\n<meta name=\"description\" content=\"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News\" \/>\n<meta property=\"og:description\" content=\"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study\" \/>\n<meta property=\"og:site_name\" content=\"i10X News\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-24T09:03:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1344\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Christopher Ort\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/i10x-news-og-default-1200x630-1.png\" \/>\n<meta name=\"twitter:creator\" content=\"@i10x_ai\" \/>\n<meta name=\"twitter:site\" content=\"@i10x_ai\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Ort\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study\"},\"author\":{\"name\":\"Christopher Ort\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/person\\\/d410bb7ee72febefca2c9c369939219a\"},\"headline\":\"AGENTS.md Is Not a Firewall: Rules File Cost Codex CLI a Third of Its Score\",\"datePublished\":\"2026-11-24T09:03:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study\"},\"wordCount\":1508,\"publisher\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/agents-md-rules-file-coding-agents-security-study-title.webp\",\"articleSection\":[\"Agent Research\",\"Coding\",\"Studies\"],\"inLanguage\":\"en-US\",\"dateModified\":\"2026-11-24T09:03:16+00:00\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study\",\"name\":\"Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/agents-md-rules-file-coding-agents-security-study-title.webp\",\"datePublished\":\"2026-11-24T09:03:16+00:00\",\"description\":\"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#primaryimage\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/agents-md-rules-file-coding-agents-security-study-title.webp\",\"contentUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/agents-md-rules-file-coding-agents-security-study-title.webp\",\"width\":1344,\"height\":768,\"caption\":\"Image: AI-generated, i10X\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/agents-md-rules-file-coding-agents-security-study#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/i10x.ai\\\/news\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AGENTS.md Is Not a Firewall: Rules File Cost Codex CLI a Third of Its Score\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\",\"name\":\"i10X News\",\"description\":\"Stay updated with the latest news and announcements from i10X.\",\"publisher\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/i10x.ai\\\/news?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\",\"name\":\"i10X\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i10xnews.kinsta.cloud\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/i10x-logo-180.png\",\"contentUrl\":\"https:\\\/\\\/i10xnews.kinsta.cloud\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/i10x-logo-180.png\",\"width\":180,\"height\":180,\"caption\":\"i10X\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/i10x_ai\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/i10x-ai\",\"https:\\\/\\\/instagram.com\\\/i10x.ai\",\"https:\\\/\\\/www.youtube.com\\\/@i10X_ai_official\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/person\\\/d410bb7ee72febefca2c9c369939219a\",\"name\":\"Christopher Ort\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"contentUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"caption\":\"Christopher Ort\"},\"description\":\"Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X\u2019s coverage of AI launches, funding and research. He is the author of \u201cThe Style Penalty\u201d, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/author\\\/christopher-ort\",\"sameAs\":[\"https:\\\/\\\/i10x.ai\\\/blog\\\/author\\\/christopher-ort\"],\"worksFor\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"alumniOf\":{\"@type\":\"EducationalOrganization\",\"name\":\"Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg (FAU)\",\"url\":\"https:\\\/\\\/www.fau.eu\"},\"subjectOf\":[{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/papers.ssrn.com\\\/abstract=7426699\",\"name\":\"The Style Penalty: How AI Resume-Writing Tools Shape Outcomes in Automated Hiring Screens\"},{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/www.heise.de\\\/news\\\/KI-Chatbots-bewerten-KI-Lebenslaeufe-Claude-findet-sich-besser-als-GPT-11317531.html\",\"name\":\"KI-Chatbots bewerten KI-Lebensl\u00e4ufe: Claude findet sich besser als GPT\"},{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/t3n.de\\\/news\\\/bewerbung-schreiben-ki-5-fehler-1747190\\\/\",\"name\":\"Bewerbung mit KI schreiben: Diese 5 Fehler solltet ihr laut Studien vermeiden\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News","description":"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study","og_locale":"en_US","og_type":"article","og_title":"Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News","og_description":"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.","og_url":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study","og_site_name":"i10X News","article_published_time":"2026-11-24T09:03:16+00:00","og_image":[{"width":1344,"height":768,"url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp","type":"image\/webp"}],"author":"Christopher Ort","twitter_card":"summary_large_image","twitter_image":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/i10x-news-og-default-1200x630-1.png","twitter_creator":"@i10x_ai","twitter_site":"@i10x_ai","twitter_misc":{"Written by":"Christopher Ort","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#article","isPartOf":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study"},"author":{"name":"Christopher Ort","@id":"https:\/\/i10x.ai\/news\/#\/schema\/person\/d410bb7ee72febefca2c9c369939219a"},"headline":"AGENTS.md Is Not a Firewall: Rules File Cost Codex CLI a Third of Its Score","datePublished":"2026-11-24T09:03:16+00:00","mainEntityOfPage":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study"},"wordCount":1508,"publisher":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"image":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#primaryimage"},"thumbnailUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp","articleSection":["Agent Research","Coding","Studies"],"inLanguage":"en-US","dateModified":"2026-11-24T09:03:16+00:00"},{"@type":"WebPage","@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study","url":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study","name":"Study: AGENTS.md Rules Files Are Advice, Not Security - i10X News","isPartOf":{"@id":"https:\/\/i10x.ai\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#primaryimage"},"image":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#primaryimage"},"thumbnailUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp","datePublished":"2026-11-24T09:03:16+00:00","description":"Preregistered test on Claude Code, Codex CLI, Gemini CLI and OpenCode: a rules file gave no security gain and cost Codex CLI 31 points of hidden tests.","breadcrumb":{"@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#primaryimage","url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp","contentUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/11\/agents-md-rules-file-coding-agents-security-study-title.webp","width":1344,"height":768,"caption":"Image: AI-generated, i10X"},{"@type":"BreadcrumbList","@id":"https:\/\/i10x.ai\/news\/agents-md-rules-file-coding-agents-security-study#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/i10x.ai\/news"},{"@type":"ListItem","position":2,"name":"AGENTS.md Is Not a Firewall: Rules File Cost Codex CLI a Third of Its Score"}]},{"@type":"WebSite","@id":"https:\/\/i10x.ai\/news\/#website","url":"https:\/\/i10x.ai\/news","name":"i10X News","description":"Stay updated with the latest news and announcements from i10X.","publisher":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/i10x.ai\/news?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/i10x.ai\/news\/#organization","name":"i10X","url":"https:\/\/i10x.ai\/news\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/#\/schema\/logo\/image\/","url":"https:\/\/i10xnews.kinsta.cloud\/wp-content\/uploads\/2026\/10\/i10x-logo-180.png","contentUrl":"https:\/\/i10xnews.kinsta.cloud\/wp-content\/uploads\/2026\/10\/i10x-logo-180.png","width":180,"height":180,"caption":"i10X"},"image":{"@id":"https:\/\/i10x.ai\/news\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/i10x_ai","https:\/\/www.linkedin.com\/company\/i10x-ai","https:\/\/instagram.com\/i10x.ai","https:\/\/www.youtube.com\/@i10X_ai_official"]},{"@type":"Person","@id":"https:\/\/i10x.ai\/news\/#\/schema\/person\/d410bb7ee72febefca2c9c369939219a","name":"Christopher Ort","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","contentUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","caption":"Christopher Ort"},"description":"Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X\u2019s coverage of AI launches, funding and research. He is the author of \u201cThe Style Penalty\u201d, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.","url":"https:\/\/i10x.ai\/news\/author\/christopher-ort","sameAs":["https:\/\/i10x.ai\/blog\/author\/christopher-ort"],"worksFor":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"alumniOf":{"@type":"EducationalOrganization","name":"Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg (FAU)","url":"https:\/\/www.fau.eu"},"subjectOf":[{"@type":"CreativeWork","url":"https:\/\/papers.ssrn.com\/abstract=7426699","name":"The Style Penalty: How AI Resume-Writing Tools Shape Outcomes in Automated Hiring Screens"},{"@type":"CreativeWork","url":"https:\/\/www.heise.de\/news\/KI-Chatbots-bewerten-KI-Lebenslaeufe-Claude-findet-sich-besser-als-GPT-11317531.html","name":"KI-Chatbots bewerten KI-Lebensl\u00e4ufe: Claude findet sich besser als GPT"},{"@type":"CreativeWork","url":"https:\/\/t3n.de\/news\/bewerbung-schreiben-ki-5-fehler-1747190\/","name":"Bewerbung mit KI schreiben: Diese 5 Fehler solltet ihr laut Studien vermeiden"}]}]}},"_links":{"self":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/9836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/comments?post=9836"}],"version-history":[{"count":1,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/9836\/revisions"}],"predecessor-version":[{"id":9840,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/9836\/revisions\/9840"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/media\/9834"}],"wp:attachment":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/media?parent=9836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/categories?post=9836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/tags?post=9836"},{"taxonomy":"company","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/companies?post=9836"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/products?post=9836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}