mandiant / mandiant/capa

rule website: edit on GitHub doesn't work for library rules (missing namespace)

Open
#2,341 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug rule website
Dominant language
Python
Stars
6.2k
Forks
726
Avg merge
11d 11h
Merged PRs (30d)
7

Description

example link: https://mandiant.github.io/capa/rules/calculate-modulo-256-via-x86-assembly.html

https://github.com/mandiant/capa/blob/db4798aaf6d37abfd137b9dff2391088b1030cdd/web/rules/scripts/build_rules.py#L51

Contributor guide

Open the contributing guide

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 with web/rules/scripts/build_rules.py at line 51 and inspect how the edit-on-GitHub URL is generated for the example library rule page. Compare the generated URL with the example page and verify that the corrected link includes the required namespace and works for library rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.