Home / Companies / Snyk / Blog / Post Details
Content Deep Dive

Generating fake security data with Python and faker-security

Blog post from Snyk

Post Details
Company
Date Published
Author
Michael Aquilina
Word Count
859
Language
English
Hacker News Points
-
Summary

The faker-security Python package allows developers to generate fake security-related data, such as CVSSv3 vectors, CVE identifiers, semver versions, and CWEs, for use in testing and development. It can be used with the factory_boy and Faker packages to simplify test-writing experience during development, reducing lines of code and noise from fields that are not relevant to the test. The package is open-sourced by Snyk and can be installed via pip, with a recommended configuration in conftest.py for pytest users.