GTosetti

Mandante — AI skill for Claude Code

AI community

Argument provenance for AI coding agents: tells whether the path or URL in a sensitive Claude Code tool call came from the human's prompt or from a README, web page or MCP result the agent read.

How to install Mandante

This entry records only its repository, not the path inside it, so there is no exact command to give. Open GTosetti/Mandante and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Mandante does

Argument provenance for AI coding agents: tells whether the path or URL in a sensitive Claude Code tool call came from the human's prompt or from a README, web page or MCP result the agent read. Computed from the agent's own logs, emitted as ECS fields, with Sigma and Wazuh rules on top.

Alternatives in AI

  • Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
  • Gensee Crate — Run AI harnesses like Claude Code, Codex, Copilot, Antigravity, and Omnigent in disposable workspace forks 123 ★
  • Claude Council Skill — A Claude skill that convenes 7 expert AI personas to debate any decision, idea, or problem — then synthesizes 87 ★

README

mandante

**Argument provenance for AI coding agents.** When an agent reads `~/.aws/credentials` or pipes a download into a shell, mandante tells you *who put that path or URL into the command*: the human who prompted the agent, or a README, web page, MCP result or command output the agent read on the way. It computes this from the agent's own logs, emits it as ECS fields, and ships Sigma and Wazuh rules that condition on it.

*Mandante* is Spanish for "principal": the party an agent acts for.

Status: v0.1 prototype, Claude Code only. Apache-2.0.

Why

Detection rules for AI coding agents identify the agent by process ancestry and then look for sensitive actions. That tells you *that the agent did something*, not *who asked for it*, so the rules are noisy: Elastic tags its own permission-bypass rule `Noise: High` ([rule](https://github.com/elastic/detection-rules/blob/06a05eb45d6e10d8f4ddc24ac88edcd5c4f47ee6/rules/cross-platform/defense_evasion_genai_cli_unsafe_permission_bypass.toml)), Sophos [reported](https://www.sophos.com/en-us/blog/2607_agents_vs_telemetry) benign Claude Code, Cursor and Codex sessions tripping attacker rules, and the [ACE paper](https://arxiv.org/abs/2609.28915) measured Falco's default rules near chance (AUROC 0.565) on Claude Code sessions.

An agent reading `~/.aws/credentials` because the human asked for help with an AWS profile is normal. The same read because a README the agent just opened told it to is an incident. The process tree is identical. The difference is in the agent's own record: **which input put that path into the action's arguments.**

What it looks like

A repository's README carries an instruction aimed at build agents. The human only asked the agent to build the project ([scenario s01](scenarios/s01-readme-injection-credential-exfil.yml), inert fixture):

$ mandante explain tests/data/transcripts/s01-readme-injection-credential-exfil
[3] Bash toolu_014ozWEaQGtYzA7dRZaThF4z - main timeline, sequence