The AI Gazette

Practical AI techniques, workflows, tools and research for hands-on engineers.

By Ravi AutarRSS feed

Top news

No. 3

ClaudeAgent security

"Don't ask again" in Claude Code can save passwords in plain text

Apiiro found 1,122 public GitHub copies of .claude/settings.local.json holding secrets, all saved from approved commands.

When you pick "Yes, and don't ask again" on a Bash prompt, Claude Code writes an allow rule into .claude/settings.local.json. If the prompt offered the exact command, the rule is the exact command, so a PGPASSWORD=... or token typed inline is stored word for word. Claude Code adds the file to your global git excludes on one machine, but not to the project's own .gitignore, so clones, other machines and files committed earlier are not covered.

Across 104,185 public copies, 1,379 distinct secrets turned up, more than a third of them database passwords, plus SSH logins, GitHub and npm tokens and AWS keys. Gitleaks and TruffleHog each missed hundreds of these files, and old versions in git history held 734 more secrets.

1,379 distinct secrets in 104,185 public settings files, more than a third of them database passwords.
By the numbersApiiro's scan of public Claude Code settings on GitHub

Coding agents

Stale TODOs send coding agents on side quests

Google measured what old bug references in code cost its agents: 70% more steps when they bite.

Across hundreds of millions of agent steps, 13% of sessions read a TODO(bug/...) or FIXME, and in 6% of those the agent acted on it, 83% of the time unprompted. Of those detours, 41% chased bugs already closed and 57% expanded scope into open bugs nobody asked about; each added 70% more steps, 77% more tokens and 105% more wait time.

Google's fix was an agent that checks bug status and file history and only proposes deleting a TODO once it confirms it is obsolete. Reviewers accepted over 95% of those changes.

Context and memory

Compact early and often: agents lose little at 16K to 50K context

An NVIDIA paper shows frequent compaction and grep-style reading hold accuracy while cutting cost several times over.

With mini-swe-agent, compacting whenever context hit 18K to 36K tokens kept Opus 4.5 and GPT 5.6 Sol within a few points of full history on SWE-bench Verified and Terminal-Bench, sometimes higher. Putting long documents in files and reading them with grep and bounded reads beat pasting them in, by up to 40 points on some long-input tests.

The appendix shows the compaction prompt that worked best: a handoff brief, not a summary.

In brief

Techniques and workflows

Tools and releases

Agents on the web

Say hi.