<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/hooks/security_reminder_hook.py, branch bump/altimate-code</title>
<subtitle>Official Claude Code plugin directory
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/'/>
<entry>
<title>Merge pull request #6755 from anthropics/mhegazy/sg-notebook-edit-patterns</title>
<updated>2026-10-19T17:24:40+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-19T17:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d4c95aa95d02188aac37f6b435dadaccde46d1f9'/>
<id>d4c95aa95d02188aac37f6b435dadaccde46d1f9</id>
<content type='text'>
security-guidance: run pattern checks on NotebookEdit cells</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: run pattern checks on NotebookEdit cells</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: say when the LLM reviews can't run</title>
<updated>2026-10-19T16:29:37+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=1aecb0c12c0d688d65ae4d5a0c2e17768f8bbfd8'/>
<id>1aecb0c12c0d688d65ae4d5a0c2e17768f8bbfd8</id>
<content type='text'>
With no credentials in the hook's environment every Stop, commit and push review is skipped, and nothing told the user. That is the state of a signed-in session started with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY or DO_NOT_TRACK set, where Claude Code does not pass the sign-in to plugin hooks.

Show a notice on an edit in a git repo, at most once a week, naming the setting when one is set. Document where the reviews get credentials, and report no_creds on the skipped reviews.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With no credentials in the hook's environment every Stop, commit and push review is skipped, and nothing told the user. That is the state of a signed-in session started with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY or DO_NOT_TRACK set, where Claude Code does not pass the sign-in to plugin hooks.

Show a notice on an edit in a git repo, at most once a week, naming the setting when one is set. Document where the reviews get credentials, and report no_creds on the skipped reviews.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: run pattern checks on NotebookEdit cells</title>
<updated>2026-10-17T16:40:57+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-17T16:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=227b8934c9f5eb49fb8641332c227810539dda4b'/>
<id>227b8934c9f5eb49fb8641332c227810539dda4b</id>
<content type='text'>
The edit hook is registered for NotebookEdit but read no content from
it, so a cell edit never produced a pattern warning. Check the cell's
new source, and check a saved notebook by its cell sources so JSON
escapes no longer hide code from the rules.

Refs #6718
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The edit hook is registered for NotebookEdit but read no content from
it, so a cell edit never produced a pattern warning. Check the cell's
new source, and check a saved notebook by its cell sources so JSON
escapes no longer hide code from the rules.

Refs #6718
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6588 from anthropics/mhegazy/sg-inflight-reviews</title>
<updated>2026-10-15T22:41:24+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=18de88a51e19589dbf2524b27eb72919721c3e15'/>
<id>18de88a51e19589dbf2524b27eb72919721c3e15</id>
<content type='text'>
security-guidance: do not review a commit twice while its first review is running</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: do not review a commit twice while its first review is running</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6589 from anthropics/mhegazy/sg-review-cost-log</title>
<updated>2026-10-15T22:41:17+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=4db747859e151db177af7ed7cd8b5a20c5995ca2'/>
<id>4db747859e151db177af7ed7cd8b5a20c5995ca2</id>
<content type='text'>
security-guidance: log each review's token use and estimated cost</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: log each review's token use and estimated cost</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6538 from anthropics/mhegazy/sg-launcher-unreadable-plugin-dir</title>
<updated>2026-10-15T22:40:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f698d8bca315d40f1771a3a12746bd793f842f07'/>
<id>f698d8bca315d40f1771a3a12746bd793f842f07</id>
<content type='text'>
security-guidance: never run a hook with a Python that cannot read it</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: never run a hook with a Python that cannot read it</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: log each review's token use and estimated cost</title>
<updated>2026-10-15T22:40:35+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=48805c9f91eb029cb49286cad82dde3381ef7e3c'/>
<id>48805c9f91eb029cb49286cad82dde3381ef7e3c</id>
<content type='text'>
The plugin computed a review's usage but kept it only in its metrics.
Each review now writes one line to the plugin's debug log with the kind
of review, the Claude Code session, model, tokens and estimated cost.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The plugin computed a review's usage but kept it only in its metrics.
Each review now writes one line to the plugin's debug log with the kind
of review, the Claude Code session, model, tokens and estimated cost.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: do not review a commit twice while its first review is running</title>
<updated>2026-10-15T22:40:32+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=7e05205b41cbd5d3c8884f7effc8688c10e2cf00'/>
<id>7e05205b41cbd5d3c8884f7effc8688c10e2cf00</id>
<content type='text'>
A commit review records its commits only once it has a verdict. A push
(or the next commit's reflog scan) that started before then reviewed the
same diff again. A running review now holds a lock file per commit in the
git dir; a push review waits for it and skips what it recorded, and the
reflog scan leaves those commits to it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A commit review records its commits only once it has a verdict. A push
(or the next commit's reflog scan) that started before then reviewed the
same diff again. A running review now holds a lock file per commit in the
git dir; a push review waits for it and skips what it recorded, and the
reflog scan leaves those commits to it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into mhegazy/sg-launcher-unreadable-plugin-dir</title>
<updated>2026-10-15T22:39:40+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-15T21:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=e873784d807428e86a3ab7cea202d9812de07718'/>
<id>e873784d807428e86a3ab7cea202d9812de07718</id>
<content type='text'>
# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: report launcher fallback and give-up as metrics</title>
<updated>2026-10-15T22:39:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=5a1d326c862f33d05a9e65f30e50a71a4e71d4a5'/>
<id>5a1d326c862f33d05a9e65f30e50a71a4e71d4a5</id>
<content type='text'>
Two count-only metrics, emitted only when nonzero, so the launcher change
can be checked in the field:

- launcher_fallback: the hook ran, but only because the launcher started
  the interpreter by its real path (the names on PATH could not read the
  plugin files). Added to the hook's and the SessionStart bootstrap's
  existing metrics.
- launcher_unreadable: no interpreter could read the hook script. No
  Python runs in that case, so the launcher prints the metrics line
  itself before exiting 1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two count-only metrics, emitted only when nonzero, so the launcher change
can be checked in the field:

- launcher_fallback: the hook ran, but only because the launcher started
  the interpreter by its real path (the names on PATH could not read the
  plugin files). Added to the hook's and the SessionStart bootstrap's
  existing metrics.
- launcher_unreadable: no interpreter could read the hook script. No
  Python runs in that case, so the launcher prints the metrics line
  itself before exiting 1.
</pre>
</div>
</content>
</entry>
</feed>
