<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance, branch mhegazy/sg-name-broken-python</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>security-guidance: shorter wording, and name every unusable Python</title>
<updated>2026-11-23T20:30:17+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-23T20:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=8b36210d053853c857670bdaf1b1da8bbfd65bec'/>
<id>8b36210d053853c857670bdaf1b1da8bbfd65bec</id>
<content type='text'>
A python3.NN name that answers with another version is now named as well.
The text says "not usable" instead of claiming what the interpreter is,
and points to --version, which is safe in any folder.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A python3.NN name that answers with another version is now named as well.
The text says "not usable" instead of claiming what the interpreter is,
and points to --version, which is safe in any folder.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: say which Python failed when none works</title>
<updated>2026-11-23T18:47:28+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-23T18:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=c4cdcf736553990e2029418f211179953637fb1b'/>
<id>c4cdcf736553990e2029418f211179953637fb1b</id>
<content type='text'>
When every interpreter the launcher tried failed, its message was the same
as with no Python at all, so a version manager's shim with no version set
read as Python not being installed.

The first line now names python3, python and py -3 with what they did
(an exit code, or no version in their answer), because Claude Code's
terminal shows only the first line of a failed hook. A later line has all
of them. The interpreters' own output is not repeated. Nothing changes in
which interpreter is started, in the exit code or in the number of
processes.

See anthropics/claude-code#86709.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When every interpreter the launcher tried failed, its message was the same
as with no Python at all, so a version manager's shim with no version set
read as Python not being installed.

The first line now names python3, python and py -3 with what they did
(an exit code, or no version in their answer), because Claude Code's
terminal shows only the first line of a failed hook. A later line has all
of them. The interpreters' own output is not repeated. Nothing changes in
which interpreter is started, in the exit code or in the number of
processes.

See anthropics/claude-code#86709.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge main into mhegazy/sg-one-interpreter-start</title>
<updated>2026-11-20T21:05:18+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-20T21:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=7c963e12ea37a494c138cdcb0231ffe1fa3f5b82'/>
<id>7c963e12ea37a494c138cdcb0231ffe1fa3f5b82</id>
<content type='text'>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7143 from anthropics/mhegazy/sg-bump-2021</title>
<updated>2026-11-20T20:33:48+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-20T20:33:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d586c3f10a8c2366179bf46b097b4f652622ffc6'/>
<id>d586c3f10a8c2366179bf46b097b4f652622ffc6</id>
<content type='text'>
security-guidance: bump version to 2.0.21</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: bump version to 2.0.21</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7176 from anthropics/mhegazy/sg-pyenv-win-probe</title>
<updated>2026-11-20T20:33:30+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-20T20:33:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=6dc81aaaa133b1d776fb2fed02de18ac157558f8'/>
<id>6dc81aaaa133b1d776fb2fed02de18ac157558f8</id>
<content type='text'>
security-guidance: keep the interpreter check working through a .bat shim</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: keep the interpreter check working through a .bat shim</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: skip other repositories whose settings change what git runs</title>
<updated>2026-11-19T19:38:13+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-19T19:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=ff2b81351ae2778c9cda5f5b600269410fd0331c'/>
<id>ff2b81351ae2778c9cda5f5b600269410fd0331c</id>
<content type='text'>
The hooks run git in the session's repository and in those the session
moves to. A repository other than the session's own is now skipped when
its own config has settings that change what git runs. An index copy made
in another repository holds only the entries for files.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hooks run git in the session's repository and in those the session
moves to. A repository other than the session's own is now skipped when
its own config has settings that change what git runs. An index copy made
in another repository holds only the entries for files.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep the interpreter check working through a .bat shim</title>
<updated>2026-11-19T19:34:17+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-19T19:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=4fa3475d3a7f58ffe75930c6aa8ae56e80496447'/>
<id>4fa3475d3a7f58ffe75930c6aa8ae56e80496447</id>
<content type='text'>
pyenv-win's python names end in a batch file. In its released version
(3.1.1) cmd.exe read the "&gt;=" in the check as a redirect: every hook left
an empty "(3" file in the project, and the interpreter was rejected. With
no other Python no hook ran.

The check now uses only characters that arrive unchanged. On Windows a
name that loses the argument counts as unable to read the hook script, so
the launcher goes on to its real interpreter.

See #7172.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyenv-win's python names end in a batch file. In its released version
(3.1.1) cmd.exe read the "&gt;=" in the check as a redirect: every hook left
an empty "(3" file in the project, and the interpreter was rejected. With
no other Python no hook ran.

The check now uses only characters that arrive unchanged. On Windows a
name that loses the argument counts as unable to read the hook script, so
the launcher goes on to its real interpreter.

See #7172.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep the hook's exit code when launcher-python cannot be opened</title>
<updated>2026-11-18T18:43:08+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-18T18:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f9f419ea5635419271a0e3259b7f48f2079ad619'/>
<id>f9f419ea5635419271a0e3259b7f48f2079ad619</id>
<content type='text'>
Dropping the entry after a hook that exits non-zero runs under set -e. When the file could not be opened for reading at that moment, the launcher exited 1 in place of the hook's own code, so a review's findings did not reach the session. Also leave the file alone when it is not a regular file.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropping the entry after a hook that exits non-zero runs under set -e. When the file could not be opened for reading at that moment, the launcher exited 1 in place of the hook's own code, so a review's findings did not reach the session. Also leave the file alone when it is not a regular file.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: let a killed holder's lock be released late in a test</title>
<updated>2026-11-18T00:11:54+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-18T00:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=0a5c67674bfba7cf9e67f4b1bbb4464d881ccb91'/>
<id>0a5c67674bfba7cf9e67f4b1bbb4464d881ccb91</id>
<content type='text'>
Windows can release a killed process's file lock a moment after the
process ended, so the wait that follows may see it held once more.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows can release a killed process's file lock a moment after the
process ended, so the wait that follows may see it held once more.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into mhegazy/sg-commit-diff-memory</title>
<updated>2026-11-18T00:11:54+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-18T00:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=bdbd27da1d3b535eabfdf7dc5bf2e308858d7d3a'/>
<id>bdbd27da1d3b535eabfdf7dc5bf2e308858d7d3a</id>
<content type='text'>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;

# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;

# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</pre>
</div>
</content>
</entry>
</feed>
