Skip to content

Add threat model and promote GH advisories usage - #4

Open
UlisesGascon wants to merge 2 commits into
NativeScript:masterfrom
UlisesGascon:threat-model-and-reporting
Open

UlisesGascon wants to merge 2 commits into
NativeScript:masterfrom
UlisesGascon:threat-model-and-reporting

Conversation

@UlisesGascon

Copy link
Copy Markdown
Contributor

Main Changes

  • Added a threat model for reporters, developers and maintainers
  • Promote the use of GitHub Advisories as the primary tool for reporting

As discussed in Slack... this is just an initial version. All feedback is welcome!

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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: bc6dfad2-7be7-4c7f-8f75-0eddc5d20053

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@UlisesGascon

Copy link
Copy Markdown
Contributor Author

Friendly ping @NathanWalker :)

@NathanWalker
NathanWalker self-requested a review November 10, 2026 17:34
@NathanWalker NathanWalker self-assigned this Nov 10, 2026
@github-actions

Copy link
Copy Markdown

Unsigned contributions cannot merge.

  1. Read the Individual CLA (or the Corporate CLA if an organization owns the work).
  2. Comment exactly: I have read the CLA and I hereby sign the CLA
  3. That signing comment satisfies this check across all NativeScript repositories. The signer is recorded on the cla-signatures branch after this pull request merges. See the CLA guide.

Missing CLA status:

Adding your own username on this branch does not pass the check.

@NathanWalker

Copy link
Copy Markdown
Contributor

Thanks so much for putting this together @UlisesGascon — this is a really strong foundation!

I pushed a small follow-up commit (dc41364) to align a few details with NativeScript's current setup:

  • Added a fallback link to NativeScript/NativeScript advisories when a reporter isn't sure which org repo is affected.
  • Included @nativescript/webpack and @nativescript/vite (alongside the CLI, LiveSync/HMR dev servers, and debug builds) as dev-time tooling inheriting the Node.js threat model.
  • Updated supported platforms (Android, iOS, macOS, visionOS) and JS engines (V8, JavaScriptCore, Hermes, QuickJS).
  • Tightened security.remoteModuleAllowlist wording to match ISecurityConfig, clarified the WebView wrapper vs engine boundary, and added concrete plugin examples (@nativescript/zip, @nativescript/secure-storage).
  • Noted that automated scanner / npm audit findings without a demonstrated, reachable exploit in a published package (e.g. workspace-only devDependencies) and unsupported/archived versions are out of scope.

Once you've commented to sign the new org-wide CLA above — and if these refinements look good to you — we're ready to approve and get this merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants