Skip to content

Commit 30f622e

Browse files
authored
Bugfixes and Version bump (#162)
* Fix crash in message history screen when reducing windows size * Fix indirect-prompt-injection cvss score * Bump version to 0.4.0
1 parent 4edf2f4 commit 30f622e

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

VERSION

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
0.3.7
2-
1+
0.4.0

packages/tui/internal/components/viewport.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ func (v *Viewport) Update(msg tea.Msg) (*Viewport, tea.Cmd) {
292292

293293
// View renders the viewport into a string
294294
func (v Viewport) View() string {
295+
if v.Height <= 0 || v.Width <= 0 {
296+
return ""
297+
}
295298
if len(v.lines) == 0 {
296299
// Return empty styled area if no content
297300
return v.Style.Render(strings.Repeat("\n", max(0, v.Height-1)))

rogue/server/red_teaming/strategy_metadata.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@ class StrategyMetadata:
154154
description="Attempt to leak system prompts or instructions",
155155
category="LLM_06",
156156
),
157+
# Indirect injection via external content
158+
"html-indirect-prompt-injection": StrategyMetadata(
159+
human_exploitable=True,
160+
complexity="low",
161+
description="Inject hidden instructions via HTML served to web-browsing agents",
162+
category="LLM_02",
163+
),
157164
# Insecure output handling
158165
"sql_injection": StrategyMetadata(
159166
human_exploitable=True,

0 commit comments

Comments
 (0)