Skip to content

Document that Unshield does not handle untrusted input - #240

Merged
twogood merged 1 commit into
mainfrom
docs/security-policy
Nov 5, 2026
Merged

twogood merged 1 commit into
mainfrom
docs/security-policy

Conversation

@twogood

@twogood twogood commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Adds SECURITY.md and an "Untrusted input" README section. Unshield is written for the happy path. Crashes and out-of-bounds reads on crafted files are treated as ordinary bugs, and fixes should come as pull requests rather than reports (for example #239).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added guidance warning that malformed or crafted InstallShield files may cause crashes or out-of-bounds reads, and recommending sandboxed processing of untrusted files.
    • Added a security policy explaining how malformed-input issues are handled, how to report other suspected security concerns, and what to include when submitting fixes.

Add SECURITY.md and a README section: crashes on malformed input are
ordinary bugs, fixed by pull request, not vulnerability reports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The README adds a warning about untrusted input and links to a new SECURITY.md. The policy describes sandboxing guidance, the treatment of malformed-input memory-safety bugs, and issue reporting expectations.

Changes

Untrusted Input Guidance

Layer / File(s) Summary
Security policy and README warning
SECURITY.md, README.md
SECURITY.md describes the input threat model, sandboxing guidance, and reporting expectations. The README warns about limited validation and possible crashes or out-of-bounds reads, and links to the policy.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related issues

Suggested reviewers: kratz00

Merge Risk: Minimal · up to 57409

The README and security policy consistently explain the untrusted-input limitations and reporting expectations. No merge-blocking issue remains.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: documenting that Unshield does not handle untrusted input.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit reads the warning sign,
Then tucks the files away,
A sandbox keeps the burrow safe,
While careful fixes find their way.
The README points to policy,
And hops contentedly.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: abbf72eb-ef24-4b3f-8cb7-87e0d034d998
Commits

Reviewing files that changed from the base of the PR and between 0788bfb and 574090b.

Files selected for processing: 2

  • README.md
  • SECURITY.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@twogood
twogood marked this pull request as ready for review November 5, 2026 20:04
@twogood
twogood merged commit c602af6 into main Nov 5, 2026
16 checks passed
@twogood
twogood deleted the docs/security-policy branch November 5, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant