Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CWE support ? #435

Open
chenchampion opened this issue Dec 26, 2023 · 1 comment
Open

New CWE support ? #435

chenchampion opened this issue Dec 26, 2023 · 1 comment

Comments

@chenchampion
Copy link

Hi Sir, I want to write some new analysier to check more CWE error. can you give me some guide to get CWE dataset ? thank you for support.

@Enkelmann
Copy link
Contributor

I am always happy for contributions, although I am not entirely sure what the question is. I will try to answer it anyway, but you may need to clarify your question if missed the intent of it.

The list of CWEs currently supported by the cwe_checker can be found in the main README file. If you need inspiration on what new CWE types to support, you can take a look at the official website of the Mitre organisation.

If you need guidance on how to write a new check, my recommendation is to start by taking a look at the implementation of a simple check like the CWE-676: Use of Dangerous Function check and figure out how it works. Afterwards, either look at a more complicated check or start asking concrete questions either here or in the gitter channel of the FACT project where I usually can be reached.

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

No branches or pull requests

2 participants