Skip to content

Commit beeb2ef

Browse files
hiskudinclaude
andauthored
fix: use absolute URLs for README images to fix npm display (#28)
Relative paths (assets/banner-*.svg, assets/demo-*.svg) resolve correctly on GitHub but break on npm's markdown renderer which has no base URL context. Replaced with raw.githubusercontent.com URLs. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2397f4f commit beeb2ef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div align="center">
22

33
<picture>
4-
<source media="(prefers-color-scheme: dark)" srcset="assets/banner-dark.svg" />
5-
<img src="assets/banner-light.svg" alt="Defender by StackOne — Indirect prompt injection protection for MCP tool calls" width="800" />
4+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/StackOneHQ/defender/main/assets/banner-dark.svg" />
5+
<img src="https://raw.githubusercontent.com/StackOneHQ/defender/main/assets/banner-light.svg" alt="Defender by StackOne — Indirect prompt injection protection for MCP tool calls" width="800" />
66
</picture>
77

88
<p>
@@ -61,8 +61,8 @@ if (!result.allowed) {
6161
## How It Works
6262

6363
<picture>
64-
<source media="(prefers-color-scheme: dark)" srcset="assets/demo-dark.svg" />
65-
<img src="assets/demo-light.svg" alt="Defender flow: a poisoned email with an injection payload is intercepted by @stackone/defender and blocked before reaching the LLM, with riskLevel: critical and tier2Score: 0.97" width="900" />
64+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/StackOneHQ/defender/main/assets/demo-dark.svg" />
65+
<img src="https://raw.githubusercontent.com/StackOneHQ/defender/main/assets/demo-light.svg" alt="Defender flow: a poisoned email with an injection payload is intercepted by @stackone/defender and blocked before reaching the LLM, with riskLevel: critical and tier2Score: 0.97" width="900" />
6666
</picture>
6767

6868
`defendToolResult()` runs a two-tier defense pipeline:

0 commit comments

Comments
 (0)