Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add hooks/jsydorowicz21/universal-ai-infrustructure/session-startgit clone --depth 1 https://github.com/jSydorowicz21/Universal-AI-InfrustructureWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/hooks/jsydorowicz21/universal-ai-infrustructure/session-start)<a href="https://agentmods.dev/hooks/jsydorowicz21/universal-ai-infrustructure/session-start"><img src="https://agentmods.dev/badge/hooks/jsydorowicz21/universal-ai-infrustructure/session-start.svg" alt="Measured on agentmods" height="20"></a>Grade B, and why
SessionStart scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the commands this hook runs, not an audit. A hook is shell that executes on your machine at the event it names, which is why every command in it is printed with what was found.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
"command": "bun $HOME/.claude/LIFEOS/TOOLS/SettingsBackport.ts; bun $HOME/.claude/LIFEOS/TOOLS/MergeSettings.ts --system $HOME/.claude/settings.system.json --user $HOME/.claude/LIFEOS/USER/CONFIG/settings.user.json --out The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What else hooks.json configures
This page is one entry in a file that holds 11. Installing the file brings all of them; each is measured and scanned on its own page.
- Hook ConfigChange A not measured
- Hook PermissionRequest A not measured
- Hook PostToolUse A not measured
- Hook PostToolUseFailure A not measured
- Hook PreToolUse A not measured
- Hook SessionEnd A not measured
- Hook Stop A not measured
- Hook StopFailure A not measured
- Hook TaskCreated A not measured
- Hook UserPromptSubmit A not measured
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 33 lines scan B 714051ef5046
SessionStart is a hook published in the GitHub repository jSydorowicz21/Universal-AI-Infrustructure (2 stars, last pushed 4d ago), with no licence file. Its token cost is not measured: a hook is shell that never enters the context. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other hooks, from other repositories
PostToolUse
Runs after a tool call finishes for Edit, Write, Bash, Agent, TaskCreate and TaskUpdate tool calls, running an inline shell check (4 commands). From theexperiencecompany/gaia.
PreToolUse
Runs before the agent uses a tool for Agent tool calls, running an inline shell check. From theexperiencecompany/gaia.
SessionEnd
Runs when a session ends, running an inline shell check. From theexperiencecompany/gaia.
SessionStart
Runs when a session starts, running an inline shell check (2 commands). From theexperiencecompany/gaia.
Stop
Runs when the agent finishes a response, running an inline shell check. From theexperiencecompany/gaia.
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, running an inline shell check. From theexperiencecompany/gaia.