Skip to content

docs: add SECURITY_MODEL.md threat model - #49

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1793856810-security-model
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1793856810-security-model

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Description

Adds SECURITY_MODEL.md at the repo root: the threat model used for the deep security scan of git-proxy, so later scans (and reviewers) start from it.

It covers:

  • the system overview and trust boundaries (developer → proxy, proxy → upstream Git host with user credentials, browser/CLI → [REDACTED SECRET] API, and the external AD/OIDC/DB/config sources)
  • the components: Git Proxy, Push Policy Chain, Admin API, Authentication, Data Store, Configuration & Plugins, Web UI, Docs Website, CLI
  • entry points, assets, attackers that matter (insiders pushing through the proxy, authenticated low-privilege UI users), existing controls, and open questions
  • what is out of scope or accepted risk: experimental/, plugins/git-proxy-plugin-samples/, test/Cypress fixtures, and the dev-only defaults in proxy.config.json. website/ stays in scope.

This change only adds documentation; no code or config changes. The file was formatted with Prettier 3.8.1. SECURITY.md (the disclosure policy) is unchanged.

Related Issue

None.

Checklist

General

Documentation

  • Documentation has been added/updated for any new features

Configuration

  • If configuration schema (config.schema.json) was modified: N/A

Tests

  • Tests have been added/updated for new functionality: N/A, docs only
  • Unit tests pass (npm test): not run, docs only
  • Linting and formatting pass: prettier --write run on the new file
  • Type checks pass (npm run check-types): N/A, docs only

Devin-Org: engineering

Link to Devin session: https://devin-gtm.devinenterprise.com/sessions/6774104dcc3a4117ae66448ccda27d54
Open in Devin Desktop: https://devin-gtm.devinenterprise.com/desktop/session/6774104dcc3a4117ae66448ccda27d54?variant=devin
Requested by: @schaudhry123


Devin Review

Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Samir Chaudhry <samir@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

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