microsoft / microsoft/CyberBattleSim

How "model.Rates" works ?

Open
#152 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
1.8k
Forks
286
Avg merge
4h 35m
Merged PRs (30d)
12

Description

I am wondering how "model.Rates" works.

For example :

vulname = m.VulnerabilityInfo(
    ... 
   rates=m.Rates(successRate=1.0)
),

I couldn't find where the variable "successRate" is used to calculate whether an exploitation succeeds or not.
( I means : When I tried to define successRates as 0.0 , the vulneraility still exploits successfully. )

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing model.Rates and the vulnerability exploitation entry point to determine whether successRate is consulted during exploitation. Document the observed behavior and clarify whether a rate of 0.0 should prevent successful exploitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.