Interactive Threat Modeling Assistant
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Start by reading the original proposal in issue #34 and the current issue's open question about integrating with /security:analyze. Identify the existing command entry points and generation flow before deciding whether this is a separate /security:threat-model command. Done should include an interactive threat-modeling flow that produces THREAT_MODEL.md and clearly supports the intended analysis workflow.
Written by the indexing model from the issue text.
Description
Introduce a new interactive command /security:threat-model, to help developers think through potential threats before or during development. This would generate a THREAT_MODEL.md at the end, as originally proposed in https://github.com/gemini-cli-extensions/security/issues/34
This command would guide the developer through a simplified threat modeling exercise, such as:
-
The developer runs
/security:threat-model. -
The CLI asks a series of questions about the feature being built, such as:
"Briefly describe the new feature or change."
"What new data are you collecting or processing?"
"Does this feature involve authentication or authorization?"
"Does it interact with any external APIs or services?" -
Based on the answers, it generates a mini threat model, outlining potential threats (using a framework like STRIDE: Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege), and suggests specific mitigations the developer should consider.
-
The THREAD_MODEL.md could be used to help the /security:analyze scan to find the correct vulnerabilities or go after specific risks.
Open question: instead of a separate command, should this be incorporated into the /security:analyze?
- Dominant language
- TypeScript
- Stars
- 793
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gemini-cli-extensions/security
-
Difficulty 1/5 Under an hour Newbie friendliness 79/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
HelpOpen
Difficulty 1/5 Under an hour Newbie friendliness 10/100
-
[Feature Request - Codemaps] Deduplicate Structural Graph Edges and Augment with Metadata (Call Sites)May be free again @satvikkk claimed this 262 days ago, and no pull request is open. Openenhancement
gemini-cli-extensions/security#141 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
gemini-cli-extensions/security#133 · 3 comments ·
All issues in gemini-cli-extensions/security
Similar issues
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingOpene2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
devswha/herdr-web-ui#2884 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
b:minor bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion/argent#1771 ·
Maintainers usually reply within 1 day
-
Resources: New palettes of XiamenPossibly taken @rmt-svc claimed this today. Openresources
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
railmapgen/rmg-palette#2491 ·
Maintainers usually reply within 4 days