[{"data":1,"prerenderedAt":1005},["ShallowReactive",2],{"/blog/how-to-fuzz-rust-code":3,"navigation-en-us":254,"banner-en-us":691,"footer-en-us":699,"blog-post-authors-en-us-Yevgeny Pats":946,"blog-related-posts-en-us-how-to-fuzz-rust-code":960,"blog-share-wrapper-en-us":985,"next-steps-en-us":995},{"id":4,"title":5,"authors":6,"body":8,"category":233,"date":234,"description":235,"extension":236,"externalUrl":237,"faq":237,"featured":238,"heroImage":239,"hidePromo":238,"meta":240,"navigation":241,"path":242,"seo":243,"slug":247,"stem":248,"tags":249,"template":252,"updatedDate":237,"__hash__":253},"blogPosts/en-us/blog/how-to-fuzz-rust-code.md","How to fuzz Rust code continuously",[7],"Yevgeny Pats",{"type":9,"value":10,"toc":225},"minimark",[11,15,20,29,37,41,49,58,61,70,73,83,87,90,98,107,113,121,127,130,136,139,143,155,161,168,189,197,211],[12,13,14],"p",{},"This blog post was originally published on the GitLab Unfiltered blog. It was reviewed and republished on 2020-12-17.",[16,17,19],"h2",{"id":18},"what-is-fuzzing","What is fuzzing?",[12,21,22,23,28],{},"Fuzzing, also called ",[24,25,27],"a",{"href":26},"/topics/devsecops/what-is-fuzz-testing/","fuzz testing",", is an automated software technique that involves providing semi-random data as an input to the test program in order to uncover bugs and crashes.",[12,30,31,32,36],{},"In this short tutorial we will discuss using ",[33,34,35],"code",{},"cargo-fuzz"," for fuzzing Rust code.",[16,38,40],{"id":39},"why-fuzz-rust-code","Why fuzz Rust code?",[12,42,43,48],{},[24,44,47],{"href":45,"rel":46},"https://www.rust-lang.org/",[],"Rust"," is a safe language (mostly) and memory corruption issues are a thing of the past so we don’t need to fuzz our code, right? Wrong!\nAny code, and especially where stability, quality, and coverage are important, is worth fuzzing.\nFuzzing can uncover logical bugs and denial-of-service issues in critical components that can lead to security issues as well.",[12,50,51,52,57],{},"As a reference to almost infinite amount of bugs found with cargo-fuzz (only the documented one) you can look at ",[24,53,56],{"href":54,"rel":55},"https://github.com/rust-fuzz/trophy-case",[],"the list of bugs found by fuzz-testing Rust codebases",".",[16,59,60],{"id":35},"Cargo-fuzz",[12,62,63,64,69],{},"cargo-fuzz is the current de-facto standard fuzzer for Rust and essentially it is a proxy layer to the well-tested ",[24,65,68],{"href":66,"rel":67},"https://llvm.org/docs/LibFuzzer.html",[],"libFuzzer"," engine.\nThis means the algorithm and the interface is all based on libFuzzer, which is a widely-used, coverage-guided fuzzer for C/C++ and some other languages that implemented a proxy layer – just like cargo-fuzz.",[12,71,72],{},"libFuzzer (cargo-fuzz) and coverage-guided fuzzers in general have the following algorithm:",[74,75,81],"pre",{"className":76,"code":78,"language":79,"meta":80},[77],"language-text","// pseudo code\nInstrument program for code coverage\nfor {\n  Choose random input from corpus\n  Mutate input\n  Execute input and collect coverage\n  If new coverage/paths are hit add it to corpus (corpus - directory with test-cases)\n}\n","text","",[33,82,78],{"__ignoreMap":80},[16,84,86],{"id":85},"building-and-running-the-fuzzer","Building and running the fuzzer",[12,88,89],{},"If you are already familiar with this part you can skip to Continuous Fuzzing section.",[12,91,92,93,57],{},"We will start with ",[24,94,97],{"href":95,"rel":96},"https://gitlab.com/gitlab-org/security-products/demos/coverage-fuzzing/rust-fuzzing-example",[],"rust-fuzzing-example",[12,99,100,101,106],{},"For the sake of the example, we have a simple ",[24,102,105],{"href":103,"rel":104},"https://gitlab.com/gitlab-org/security-products/demos/coverage-fuzzing/rust-fuzzing-example/-/blob/master/src/lib.rs",[],"function"," with an off-by-one bug:",[74,108,111],{"className":109,"code":110,"language":79,"meta":80},[77],"pub fn parse_complex(data: &[u8]) -> bool{\n    if data.len() == 5 {\n        if data[0] == b'F' && data[1] == b'U' && data[2] == b'Z' && data[3] == b'Z' && data[4] == b'I' && data[5] == b'T' {\n            return true\n        }\n    }\n    return true;\n}\n",[33,112,110],{"__ignoreMap":80},[12,114,115,116,120],{},"Our fuzz ",[24,117,105],{"href":118,"rel":119},"https://gitlab.com/gitlab-org/security-products/demos/coverage-fuzzing/rust-fuzzing-example/-/blob/master/fuzz/fuzz_targets/fuzz_parse_complex.rs",[]," will look like this and will be called by libFuzzer in an infinite loop with the generated data, according to the coverage-guided algorithm.",[74,122,125],{"className":123,"code":124,"language":79,"meta":80},[77],"#![no_main]\n#[macro_use] extern crate libfuzzer_sys;\nextern crate example_rust;\n\nfuzz_target!(|data: &[u8]| {\n    let _ = example_rust::parse_complex(&data);\n});\n",[33,126,124],{"__ignoreMap":80},[12,128,129],{},"To run the fuzzer we need to build an instrumented version of the code together with the fuzz function.\ncargo-fuzz is doing for us the heavy lifting so it can be done using the following simple steps:",[74,131,134],{"className":132,"code":133,"language":79,"meta":80},[77],"# cargo-fuzz is available in rust nightly\ndocker run -it rustlang/rust:nightly-stretch /bin/bash\ncargo install cargo-fuzz\n\n# Download the example repo, build, and run the fuzzer\ngit clone https://gitlab.com/gitlab-org/security-products/demos/coverage-fuzzing/rust-fuzzing-example/-/blob/master/fuzz/fuzz_targets/fuzz_parse_complex.rs\ncd example-rust\ncargo fuzz run fuzz_parse_complex\n\n## The output should look like this:\n#524288 pulse  cov: 105 ft: 99 corp: 6/26b lim: 517 exec/s: 131072 rss: 93Mb\n#1048576        pulse  cov: 105 ft: 99 corp: 6/26b lim: 1040 exec/s: 116508 rss: 229Mb\n==2208== ERROR: libFuzzer: deadly signal\n    #0 0x5588b8234961  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x83961)\n    #1 0x5588b8262dc5  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xb1dc5)\n    #2 0x5588b8284734  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xd3734)\n    #3 0x5588b82845e9  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xd35e9)\n    #4 0x5588b826493a  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xb393a)\n    #5 0x7f93737e70df  (/lib/x86_64-linux-gnu/libpthread.so.0+0x110df)\n    #6 0x7f9373252ffe  (/lib/x86_64-linux-gnu/libc.so.6+0x32ffe)\n    #7 0x7f9373254429  (/lib/x86_64-linux-gnu/libc.so.6+0x34429)\n    #8 0x5588b82a4a06  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf3a06)\n    #9 0x5588b82a1b75  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf0b75)\n    #10 0x5588b824fa1b  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x9ea1b)\n    #11 0x5588b82a442b  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf342b)\n    #12 0x5588b82a3ee1  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf2ee1)\n    #13 0x5588b82a3dd5  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf2dd5)\n    #14 0x5588b82b6cd9  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x105cd9)\n    #15 0x5588b82b6c94  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x105c94)\n    #16 0x5588b824edda  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x9ddda)\n    #17 0x5588b81c45b7  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x135b7)\n    #18 0x5588b824f7e4  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0x9e7e4)\n    #19 0x5588b827da53  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xcca53)\n    #20 0x5588b82a4a18  (/example-rust/fuzz/target/x86_64-unknown-linux-gnu/debug/fuzz_parse_complex+0xf3a18)\n\nNOTE: libFuzzer has rudimentary signal handlers.\n      Combine libFuzzer with AddressSanitizer or similar for better crash reports.\nSUMMARY: libFuzzer: deadly signal\nMS: 2 ShuffleBytes-ChangeByte-; base unit: 89b92cdd9bcb9b861c47c0179eff7b3a9baafcde\n0x46,0x55,0x5a,0x5a,0x49,\nFUZZI\nartifact_prefix='/example-rust/fuzz/artifacts/fuzz_parse_complex/'; Test unit written to /example-rust/fuzz/artifacts/fuzz_parse_complex/crash-df779ced6b712c5fca247e465de2de474d1d23b9\nBase64: RlVaWkk=\n",[33,135,133],{"__ignoreMap":80},[12,137,138],{},"This find the bug in a few seconds, prints the “FUZZI” string that triggers the vulnerability and saves it to a file.",[16,140,142],{"id":141},"running-cargo-fuzz-from-ci","Running cargo-fuzz from CI",[12,144,145,146,149,150,57],{},"The best way to integrate go-fuzz fuzzing with Gitlab CI/CD is by adding additional stage and step to your ",[33,147,148],{},".gitlab-ci.yml",". It is straightforward and ",[24,151,154],{"href":152,"rel":153},"https://docs.gitlab.com/user/application_security/coverage_fuzzing/#configuration",[],"fully documented",[74,156,159],{"className":157,"code":158,"language":79,"meta":80},[77],"include:\n  - template: Coverage-Fuzzing.gitlab-ci.yml\n\nmy_fuzz_target:\n  extends: .fuzz_base\n  script:\n    - apt-get update -qq && apt-get install -y -qq git make clang cmake\n    - export CC=`which clang`\n    - export CXX=`which clang++`\n    - cargo install cargo-fuzz\n    - cargo fuzz run fuzz_parse_complex -- -runs=0\n    - ./gitlab-cov-fuzz run --regression=$REGRESSION -- ./fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_parse_complex\n",[33,160,158],{"__ignoreMap":80},[12,162,163,164,167],{},"For each fuzz target you will have to create a step which extends ",[33,165,166],{},".fuzz_base"," that runs the following:",[169,170,171,175,178],"ul",{},[172,173,174],"li",{},"Builds the fuzz target.",[172,176,177],{},"Runs the fuzz target via gitlab-cov-fuzz CLI.",[172,179,180,181,184,185,188],{},"For ",[33,182,183],{},"$CI_DEFAULT_BRANCH"," (can be override by ",[33,186,187],{},"$COV_FUZZING_BRANCH",") will run fully fledged fuzzing sessions. For everything else including MRs will run fuzzing regression with the accumulated corpus and fixed crashes.",[12,190,191,192,57],{},"This will run your fuzz tests in a blocking manner inside your pipeline. There is also a possibility to run longer fuzz sessions asynchronously, as described in the ",[24,193,196],{"href":194,"rel":195},"https://docs.gitlab.com/user/application_security/coverage_fuzzing/#continuous-fuzzing-long-running-async-fuzzing-jobs",[],"docs",[12,198,199,200,205,206,210],{},"Check out our ",[24,201,204],{"href":202,"rel":203},"https://docs.gitlab.com/user/application_security/coverage_fuzzing/",[],"full documentation"," and the ",[24,207,209],{"href":95,"rel":208},[],"example repo"," and try adding fuzz testing to your own repos!",[12,212,213,214,219,220],{},"Cover image by ",[24,215,218],{"href":216,"rel":217},"https://unsplash.com/@sunitalap",[],"Zsolt Palatinus"," on ",[24,221,224],{"href":222,"rel":223},"https://unsplash.com/",[],"Unsplash",{"title":80,"searchDepth":226,"depth":226,"links":227},2,[228,229,230,231,232],{"id":18,"depth":226,"text":19},{"id":39,"depth":226,"text":40},{"id":35,"depth":226,"text":60},{"id":85,"depth":226,"text":86},{"id":141,"depth":226,"text":142},"engineering","2020-12-03","Learn why you should always fuzz test your Rust code, and the code you'll need to do it.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749681441/Blog/Hero%20Images/rust.jpg",{},true,"/en-us/blog/how-to-fuzz-rust-code",{"title":5,"description":235,"ogTitle":5,"ogDescription":235,"noIndex":238,"ogImage":239,"ogUrl":244,"ogSiteName":245,"ogType":246,"canonicalUrls":244},"https://about.gitlab.com/blog/how-to-fuzz-rust-code","https://about.gitlab.com","article","how-to-fuzz-rust-code","en-us/blog/how-to-fuzz-rust-code",[250,251],"open source","tutorial","BlogPost","XCDLbEfax85QM76TOHHWB27Q7ssyC_HGB9pji1zR0Zs",{"logo":255,"freeTrial":260,"sales":265,"login":270,"items":275,"search":610,"minimal":642,"duo":661,"switchNav":670,"pricingDeployment":681},{"config":256},{"href":257,"dataGaName":258,"dataGaLocation":259},"/","gitlab logo","header",{"text":261,"config":262},"Get free trial",{"href":263,"dataGaName":264,"dataGaLocation":259},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":266,"config":267},"Request a demo",{"href":268,"dataGaName":269,"dataGaLocation":259},"/request-a-demo/","sales",{"text":271,"config":272},"Sign in",{"href":273,"dataGaName":274,"dataGaLocation":259},"https://gitlab.com/users/sign_in/","sign in",[276,362,450,455,534,588],{"text":277,"left":241,"config":278,"menu":280},"Platform",{"dataNavLevelOne":279},"platform",{"type":281,"link":282,"columns":286,"feature":351},"lists",{"text":283,"config":284},"Explore the Platform",{"href":285,"dataGaName":279,"dataGaLocation":259},"/platform/",[287,310,333],{"title":288,"items":289},"DevOps",[290,295,300,305],{"text":291,"config":292},"CI/CD",{"href":293,"dataGaLocation":259,"dataGaName":294},"/solutions/continuous-integration/","ci/cd",{"text":296,"config":297},"Source Code Management",{"href":298,"dataGaLocation":259,"dataGaName":299},"/solutions/source-code-management/","source code management",{"text":301,"config":302},"Agile Delivery",{"href":303,"dataGaLocation":259,"dataGaName":304},"/solutions/agile-delivery/","agile delivery",{"text":306,"config":307},"Artifact Management",{"href":308,"dataGaLocation":259,"dataGaName":309},"/artifact-central/","artifact management",{"title":311,"items":312},"Security & Governance",[313,318,323,328],{"text":314,"config":315},"Application Security Testing",{"href":316,"dataGaLocation":259,"dataGaName":317},"/solutions/application-security-testing/","application security testing",{"text":319,"config":320},"Governance & Compliance",{"href":321,"dataGaLocation":259,"dataGaName":322},"/solutions/software-compliance/","governance and compliance",{"text":324,"config":325},"Secrets Management",{"href":326,"dataGaLocation":259,"dataGaName":327},"/gitlab-secrets-manager/","secrets management",{"text":329,"config":330},"Supply Chain Security",{"href":331,"dataGaLocation":259,"dataGaName":332},"/solutions/supply-chain/","supply chain security",{"title":334,"items":335},"Agentic AI & Context",[336,341,346],{"text":337,"config":338},"Duo Agent Platform",{"href":339,"dataGaLocation":259,"dataGaName":340},"/gitlab-duo-agent-platform/","duo agent platform",{"text":342,"config":343},"Orbit Context Graph",{"href":344,"dataGaLocation":259,"dataGaName":345},"/gitlab-orbit/","orbit",{"text":347,"config":348},"Visibility & Measurement",{"href":349,"dataGaLocation":259,"dataGaName":350},"/solutions/visibility-measurement/","visibility and measurement",{"config":352,"title":355,"text":356,"link":357},{"background":353,"textColor":354},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":358,"config":359},"Read the announcement",{"href":360,"dataGaName":361,"dataGaLocation":259},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":363,"left":241,"config":364,"menu":366},"Solutions",{"dataNavLevelOne":365},"solutions",{"type":281,"link":367,"columns":371,"feature":441},{"text":368,"config":369},"View all Solutions",{"href":370,"dataGaName":365,"dataGaLocation":259},"/solutions/",[372,390,408],{"title":373,"items":374},"Outcomes",[375,380,385],{"text":376,"config":377},"DevOps Modernization",{"href":378,"dataGaLocation":259,"dataGaName":379},"/assessments/devops-modernization-assessment/","devops modernization",{"text":381,"config":382},"Security Modernization",{"href":383,"dataGaLocation":259,"dataGaName":384},"/assessments/security-modernization-assessment/","security modernization",{"text":386,"config":387},"AI Modernization",{"href":388,"dataGaLocation":259,"dataGaName":389},"/assessments/ai-modernization-assessment/","ai modernization",{"title":391,"items":392},"By size",[393,398,403],{"text":394,"config":395},"Enterprise",{"href":396,"dataGaLocation":259,"dataGaName":397},"/enterprise/","enterprise",{"text":399,"config":400},"Small Business",{"href":401,"dataGaLocation":259,"dataGaName":402},"/small-business/","small business",{"text":404,"config":405},"Startups",{"href":406,"dataGaLocation":259,"dataGaName":407},"/solutions/startups/","startups",{"title":409,"items":410},"Industries",[411,416,421,426,431,436],{"text":412,"config":413},"Financial Services",{"href":414,"dataGaLocation":259,"dataGaName":415},"/solutions/finance/","financial services",{"text":417,"config":418},"Public Sector",{"href":419,"dataGaLocation":259,"dataGaName":420},"/solutions/public-sector/","public sector",{"text":422,"config":423},"Telecommunications",{"href":424,"dataGaLocation":259,"dataGaName":425},"/solutions/telecommunications/","telecommunications",{"text":427,"config":428},"Automotive",{"href":429,"dataGaLocation":259,"dataGaName":430},"/solutions/automotive/","automotive",{"text":432,"config":433},"Education",{"href":434,"dataGaLocation":259,"dataGaName":435},"/solutions/education/","education",{"text":437,"config":438},"Aerospace",{"href":439,"dataGaLocation":259,"dataGaName":440},"/solutions/aerospace/","aerospace",{"config":442,"title":443,"text":444,"link":445},{"background":353,"textColor":354},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":446,"config":447},"Explore the standard",{"href":448,"dataGaName":449,"dataGaLocation":259},"/gitlab-security-standard/","gitlab security standard",{"text":451,"config":452},"Pricing",{"href":453,"dataGaName":454,"dataGaLocation":259,"dataNavLevelOne":454},"/pricing/","pricing",{"text":456,"config":457,"menu":459},"Resources",{"dataNavLevelOne":458},"resources",{"type":281,"link":460,"columns":464,"feature":525},{"text":461,"config":462},"View all resources",{"href":463,"dataGaName":458,"dataGaLocation":259},"/resources/",[465,497],{"title":466,"items":467},"Discover",[468,472,477,482,487,492],{"text":469,"config":470},"Docs",{"href":471,"dataGaName":196,"dataGaLocation":259},"https://docs.gitlab.com/",{"text":473,"config":474},"University",{"href":475,"dataGaName":476,"dataGaLocation":259},"https://university.gitlab.com/","university",{"text":478,"config":479},"Demo Series",{"href":480,"dataGaName":481,"dataGaLocation":259},"/gitlab-technical-demo-series/","demo series",{"text":483,"config":484},"Demo Hub",{"href":485,"dataGaName":486,"dataGaLocation":259},"/demo-hub/","demo hub",{"text":488,"config":489},"Services",{"href":490,"dataGaName":491,"dataGaLocation":259},"/services/","services",{"text":493,"config":494},"Well Architected",{"href":495,"dataGaName":496,"dataGaLocation":259},"/resources/well-architected/","well architected",{"title":498,"items":499},"Connect",[500,505,510,515,520],{"text":501,"config":502},"Blog",{"href":503,"dataGaName":504,"dataGaLocation":259},"/blog/","blog",{"text":506,"config":507},"Community",{"href":508,"dataGaName":509,"dataGaLocation":259},"/community/","community",{"text":511,"config":512},"Customers",{"href":513,"dataGaName":514,"dataGaLocation":259},"/customers/","customers",{"text":516,"config":517},"Partners",{"href":518,"dataGaName":519,"dataGaLocation":259},"/partners/","partners",{"text":521,"config":522},"Events",{"href":523,"dataGaName":524,"dataGaLocation":259},"/events/","events",{"config":526,"title":527,"text":528,"link":529},{"background":353,"textColor":354},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":530,"config":531},"Read the latest",{"href":532,"dataGaName":533,"dataGaLocation":259},"/whats-new/","whats new",{"text":535,"config":536,"menu":538},"Company",{"dataNavLevelOne":537},"company",{"type":281,"columns":539},[540],{"items":541},[542,547,553,558,563,568,573,578,583],{"text":543,"config":544},"About",{"href":545,"dataGaName":546,"dataGaLocation":259},"/company/","about",{"text":548,"config":549,"footerGa":552},"Jobs",{"href":550,"dataGaName":551,"dataGaLocation":259},"/jobs/","jobs",{"dataGaName":551},{"text":554,"config":555},"Press",{"href":556,"dataGaName":557,"dataGaLocation":259},"/press/","press",{"text":559,"config":560},"Handbook",{"href":561,"dataGaName":562,"dataGaLocation":259},"https://handbook.gitlab.com/","handbook",{"text":564,"config":565},"Leadership",{"href":566,"dataGaName":567,"dataGaLocation":259},"/company/team/e-group/","leadership",{"text":569,"config":570},"Investor relations",{"href":571,"dataGaName":572,"dataGaLocation":259},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":574,"config":575},"Trust Center",{"href":576,"dataGaName":577,"dataGaLocation":259},"/security/","trust center",{"text":579,"config":580},"AI Transparency Center",{"href":581,"dataGaName":582,"dataGaLocation":259},"/ai-transparency-center/","ai transparency center",{"text":584,"config":585},"Newsletter",{"href":586,"dataGaName":587,"dataGaLocation":259},"/company/contact/#contact-forms","newsletter",{"text":589,"config":590,"menu":591},"Contact us",{"dataNavLevelOne":537},{"type":281,"columns":592},[593],{"items":594},[595,600,605],{"text":596,"config":597},"Talk to sales",{"href":598,"dataGaName":599,"dataGaLocation":259},"/sales/","talk to sales",{"text":601,"config":602},"Support portal",{"href":603,"dataGaName":604,"dataGaLocation":259},"https://support.gitlab.com/hc/en-us","support portal",{"text":606,"config":607},"Customer portal",{"href":608,"dataGaName":609,"dataGaLocation":259},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":611,"login":612,"suggestions":619},"Close",{"text":613,"link":614},"To search repositories and projects, login to",{"text":615,"config":616},"gitlab.com",{"href":273,"dataGaName":617,"dataGaLocation":618},"search login","search",{"text":620,"default":621},"Suggestions",[622,625,628,630,634,638],{"text":623,"config":624},"GitLab Duo Agent Platform",{"href":339,"dataGaName":623,"dataGaLocation":618},{"text":626,"config":627},"Code Suggestions (AI)",{"href":339,"dataGaName":626,"dataGaLocation":618},{"text":291,"config":629},{"href":293,"dataGaName":291,"dataGaLocation":618},{"text":631,"config":632},"GitLab on AWS",{"href":633,"dataGaName":631,"dataGaLocation":618},"/partners/technology-partners/aws/",{"text":635,"config":636},"GitLab on Google Cloud",{"href":637,"dataGaName":635,"dataGaLocation":618},"/partners/technology-partners/google-cloud-platform/",{"text":639,"config":640},"Why GitLab?",{"href":641,"dataGaName":639,"dataGaLocation":618},"/why-gitlab/",{"freeTrial":643,"mobileIcon":648,"desktopIcon":653,"secondaryButton":656},{"text":644,"config":645},"Start free trial",{"href":646,"dataGaName":264,"dataGaLocation":647},"https://gitlab.com/-/trials/new/","nav",{"altText":649,"config":650},"Gitlab Icon",{"src":651,"dataGaName":652,"dataGaLocation":647},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":649,"config":654},{"src":655,"dataGaName":652,"dataGaLocation":647},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":657,"config":658},"Get Started",{"href":659,"dataGaName":660,"dataGaLocation":647},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":662,"mobileIcon":666,"desktopIcon":668},{"text":663,"config":664},"Learn more about GitLab Duo",{"href":339,"dataGaName":665,"dataGaLocation":647},"gitlab duo",{"altText":649,"config":667},{"src":651,"dataGaName":652,"dataGaLocation":647},{"altText":649,"config":669},{"src":655,"dataGaName":652,"dataGaLocation":647},{"button":671,"mobileIcon":676,"desktopIcon":678},{"text":672,"config":673},"/switch",{"href":674,"dataGaName":675,"dataGaLocation":647},"#contact","switch",{"altText":649,"config":677},{"src":651,"dataGaName":652,"dataGaLocation":647},{"altText":649,"config":679},{"src":680,"dataGaName":652,"dataGaLocation":647},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":682,"mobileIcon":687,"desktopIcon":689},{"text":683,"config":684},"Back to pricing",{"href":453,"dataGaName":685,"dataGaLocation":647,"icon":686},"back to pricing","GoBack",{"altText":649,"config":688},{"src":651,"dataGaName":652,"dataGaLocation":647},{"altText":649,"config":690},{"src":655,"dataGaName":652,"dataGaLocation":647},{"title":692,"button":693,"config":697},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":358,"config":694},{"href":360,"dataGaName":695,"dataGaLocation":696},"orbit-ga-banner","global-banner",{"layout":698,"disabled":238},"release",{"data":700},{"text":701,"config":702,"items":707,"minimal":935},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":703,"facebook":704,"youtube":705,"linkedin":706},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[708,756,815,862,903],{"title":451,"links":709,"subMenu":725},[710,715,720],{"text":711,"config":712},"View plans",{"href":453,"dataGaName":713,"dataGaLocation":714},"view plans","footer",{"text":716,"config":717},"Why Premium?",{"href":718,"dataGaName":719,"dataGaLocation":714},"/pricing/premium/","why premium",{"text":721,"config":722},"Why Ultimate?",{"href":723,"dataGaName":724,"dataGaLocation":714},"/pricing/ultimate/","why ultimate",[726],{"title":727,"links":728},"Contact Us",[729,732,734,736,741,746,751],{"text":730,"config":731},"Contact sales",{"href":598,"dataGaName":269,"dataGaLocation":714},{"text":601,"config":733},{"href":603,"dataGaName":604,"dataGaLocation":714},{"text":606,"config":735},{"href":608,"dataGaName":609,"dataGaLocation":714},{"text":737,"config":738},"Status",{"href":739,"dataGaName":740,"dataGaLocation":714},"https://status.gitlab.com/","status",{"text":742,"config":743},"Terms of use",{"href":744,"dataGaName":745,"dataGaLocation":714},"/terms/","terms of use",{"text":747,"config":748},"Privacy statement",{"href":749,"dataGaName":750,"dataGaLocation":714},"/privacy/","privacy statement",{"text":752,"config":753},"Cookie preferences",{"dataGaName":754,"dataGaLocation":714,"id":755,"isOneTrustButton":241},"cookie preferences","ot-sdk-btn",{"title":277,"links":757,"subMenu":773},[758,761,763,765,767,769],{"text":759,"config":760},"Explore the platform",{"href":285,"dataGaName":279,"dataGaLocation":714},{"text":337,"config":762},{"href":339,"dataGaName":340,"dataGaLocation":714},{"text":291,"config":764},{"href":293,"dataGaName":294,"dataGaLocation":714},{"text":342,"config":766},{"href":344,"dataGaName":345,"dataGaLocation":714},{"text":324,"config":768},{"href":326,"dataGaName":327,"dataGaLocation":714},{"text":770,"config":771},"Why GitLab",{"href":641,"dataGaName":772,"dataGaLocation":714},"why gitlab",[774],{"title":775,"links":776},"Topics",[777,781,786,790,795,800,805,810],{"text":291,"config":778},{"href":779,"dataGaName":780,"dataGaLocation":714},"/topics/ci-cd/","cicd",{"text":782,"config":783},"GitOps",{"href":784,"dataGaName":785,"dataGaLocation":714},"/topics/gitops/","gitops",{"text":288,"config":787},{"href":788,"dataGaName":789,"dataGaLocation":714},"/topics/devops/","devops",{"text":791,"config":792},"Version Control",{"href":793,"dataGaName":794,"dataGaLocation":714},"/topics/version-control/","version control",{"text":796,"config":797},"DevSecOps",{"href":798,"dataGaName":799,"dataGaLocation":714},"/topics/devsecops/","devsecops",{"text":801,"config":802},"Cloud Native",{"href":803,"dataGaName":804,"dataGaLocation":714},"/topics/cloud-native/","cloud native",{"text":806,"config":807},"AI for Coding",{"href":808,"dataGaName":809,"dataGaLocation":714},"/topics/devops/ai-for-coding/","ai for coding",{"text":811,"config":812},"Agentic AI",{"href":813,"dataGaName":814,"dataGaLocation":714},"/topics/agentic-ai/","agentic ai",{"title":363,"links":816},[817,820,823,826,829,832,834,836,838,840,842,845,847,850,854,858],{"text":818,"config":819},"DevOps modernization",{"href":378,"dataGaName":379,"dataGaLocation":714},{"text":821,"config":822},"Security modernization",{"href":383,"dataGaName":384,"dataGaLocation":714},{"text":824,"config":825},"AI modernization",{"href":388,"dataGaName":389,"dataGaLocation":714},{"text":827,"config":828},"Financial services",{"href":414,"dataGaName":415,"dataGaLocation":714},{"text":830,"config":831},"Public sector",{"href":419,"dataGaName":420,"dataGaLocation":714},{"text":422,"config":833},{"href":424,"dataGaName":425,"dataGaLocation":714},{"text":427,"config":835},{"href":429,"dataGaName":430,"dataGaLocation":714},{"text":432,"config":837},{"href":434,"dataGaName":435,"dataGaLocation":714},{"text":437,"config":839},{"href":439,"dataGaName":440,"dataGaLocation":714},{"text":394,"config":841},{"href":396,"dataGaName":397,"dataGaLocation":714},{"text":843,"config":844},"Small business",{"href":401,"dataGaName":402,"dataGaLocation":714},{"text":404,"config":846},{"href":406,"dataGaName":407,"dataGaLocation":714},{"text":782,"config":848},{"href":849,"dataGaName":785,"dataGaLocation":714},"/solutions/gitops/",{"text":851,"config":852},"Software composition analysis",{"href":331,"dataGaName":853,"dataGaLocation":714},"software composition analysis",{"text":855,"config":856},"Value stream management",{"href":349,"dataGaName":857,"dataGaLocation":714},"value stream management",{"text":859,"config":860},"All solutions",{"href":370,"dataGaName":861,"dataGaLocation":714},"all solutions",{"title":456,"links":863},[864,869,874,876,878,880,882,884,886,888,890,892,894,896,899],{"text":865,"config":866},"Install",{"href":867,"dataGaName":868,"dataGaLocation":714},"/install/","install",{"text":870,"config":871},"Quick start guides",{"href":872,"dataGaName":873,"dataGaLocation":714},"/get-started/","quick setup checklists",{"text":469,"config":875},{"href":471,"dataGaName":196,"dataGaLocation":714},{"text":473,"config":877},{"href":475,"dataGaName":476,"dataGaLocation":714},{"text":478,"config":879},{"href":480,"dataGaName":481,"dataGaLocation":714},{"text":483,"config":881},{"href":485,"dataGaName":486,"dataGaLocation":714},{"text":488,"config":883},{"href":490,"dataGaName":491,"dataGaLocation":714},{"text":501,"config":885},{"href":503,"dataGaName":504,"dataGaLocation":714},{"text":506,"config":887},{"href":508,"dataGaName":509,"dataGaLocation":714},{"text":511,"config":889},{"href":513,"dataGaName":514,"dataGaLocation":714},{"text":516,"config":891},{"href":518,"dataGaName":519,"dataGaLocation":714},{"text":521,"config":893},{"href":523,"dataGaName":524,"dataGaLocation":714},{"text":584,"config":895},{"href":586,"dataGaName":587,"dataGaLocation":714},{"text":897,"config":898},"What's new",{"href":532,"dataGaName":533,"dataGaLocation":714},{"text":900,"config":901},"All resources",{"href":463,"dataGaName":902,"dataGaLocation":714},"all resources",{"title":535,"links":904},[905,907,909,911,913,915,917,919,921,925,930],{"text":543,"config":906},{"href":545,"dataGaName":537,"dataGaLocation":714},{"text":548,"config":908},{"href":550,"dataGaName":551,"dataGaLocation":714},{"text":554,"config":910},{"href":556,"dataGaName":557,"dataGaLocation":714},{"text":559,"config":912},{"href":561,"dataGaName":562,"dataGaLocation":714},{"text":564,"config":914},{"href":566,"dataGaName":567,"dataGaLocation":714},{"text":569,"config":916},{"href":571,"dataGaName":572,"dataGaLocation":714},{"text":574,"config":918},{"href":576,"dataGaName":577,"dataGaLocation":714},{"text":579,"config":920},{"href":581,"dataGaName":582,"dataGaLocation":714},{"text":922,"config":923},"Sustainability",{"href":924,"dataGaName":922,"dataGaLocation":714},"/sustainability/",{"text":926,"config":927},"Diversity, inclusion and belonging (DIB)",{"href":928,"dataGaName":929,"dataGaLocation":714},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":931,"config":932},"Modern Slavery Transparency Statement",{"href":933,"dataGaName":934,"dataGaLocation":714},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":936},[937,940,943],{"text":938,"config":939},"Terms",{"href":744,"dataGaName":745,"dataGaLocation":714},{"text":941,"config":942},"Cookies",{"dataGaName":754,"dataGaLocation":714,"id":755,"isOneTrustButton":241},{"text":944,"config":945},"Privacy",{"href":749,"dataGaName":750,"dataGaLocation":714},[947],{"id":948,"title":7,"body":237,"config":949,"content":951,"description":237,"extension":954,"meta":955,"navigation":241,"path":956,"seo":957,"stem":958,"__hash__":959},"blogAuthors/en-us/blog/authors/yevgeny-pats.yml",{"template":950},"BlogAuthor",{"name":7,"config":952},{"headshot":80,"ctfId":953},"ypats","yml",{},"/en-us/blog/authors/yevgeny-pats",{},"en-us/blog/authors/yevgeny-pats","Eyf0FMujgvuiOm0zj0NDJAlOukR9i1LRkM8OsWsmc6M",[961,969,977],{"title":962,"description":963,"heroImage":964,"category":233,"date":965,"authors":966,"slug":968,"externalUrl":237},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[967],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":970,"description":971,"heroImage":972,"category":233,"date":973,"authors":974,"slug":976,"externalUrl":237},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[975],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":978,"description":979,"heroImage":980,"category":233,"date":981,"authors":982,"slug":984,"externalUrl":237},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[983],"Isa Huerga","co-create-h1-2026",{"header":986,"text":987,"button":991,"disclaimer":994},"Start your free\n\n30-day GitLab trial\n",[988,989,990],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":261,"config":992},{"href":993,"dataGaName":264,"dataGaLocation":504},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":996,"blurb":997,"button":998,"secondaryButton":1003},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":999,"config":1000},"Get your free trial",{"href":1001,"dataGaName":264,"dataGaLocation":1002},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":730,"config":1004},{"href":598,"dataGaName":269,"dataGaLocation":1002},1794911780009]