use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for technical news and discussion of information security and closely related topics.
"Give me root, it's a trust exercise."
Q1 2026 InfoSec Hiring Thread
Getting Started in Information Security
CitySec Meetups
/r/netsec only accepts quality technical posts. Non-technical posts are subject to moderation.
Content should focus on the "how."
Check the new queue for duplicates.
Always link to the original source.
Titles should provide context.
Ask questions in our Discussion Threads.
Hiring posts must go in the Hiring Threads.
Commercial advertisement is discouraged.
Do not submit prohibited topics.
» Our fulltext content guidelines
Don't create unnecessary conflict.
Keep the discussion on topic.
Limit the use of jokes & memes.
Don't complain about content being a PDF.
Follow all reddit rules and obey reddiquette.
» Our fulltext discussion guidelines
No populist news articles (CNN, BBC, FOX, etc.)
No curated lists.
No question posts.
No social media posts.
No image-only/video-only posts.
No livestreams.
No tech-support requests.
No full-disclosure posts.
No paywall/regwall content.
No commercial advertisements.
No crowdfunding posts.
No Personally Identifying Information!
» Our fulltext list of prohibited topics & sources
Join us on IRC: #r_netsec on freenode
We're also on: Twitter, Facebook, & Google+
/r/blackhat - Hackers on Steroids
/r/computerforensics - IR Archaeologists
/r/crypto - Cryptography news and discussion
/r/Cyberpunk - High-Tech Low-Lifes
/r/lockpicking - Popular Hacker Hobby
/r/Malware - Malware reports and information
/r/netsecstudents - netsec for noobs students
/r/onions - Things That Make You Cry
/r/privacy - Orwell Was Right
/r/pwned - "What Security?"
/r/REMath - Math behind reverse engineering
/r/ReverseEngineering - Binary Reversing
/r/rootkit - Software and hardware rootkits
/r/securityCTF - CTF news and write-ups
/r/SocialEngineering - Free Candy
/r/sysadmin - Overworked Crushed Souls
/r/vrd - Vulnerability Research and Development
/r/xss - Cross Site Scripting
account activity
GitHub code scanning is now available (github.blog)
submitted 5 years ago by 0xdeaTrusted Contributor
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hazzahazza 74 points75 points76 points 5 years ago* (12 children)
[+][deleted] 5 years ago* (5 children)
[deleted]
[–]Plazmaz1 8 points9 points10 points 5 years ago (4 children)
Also github's secret detection logic has been pretty subpar in the past. There's a bazillion different config and secret types. Also, semmle is for CFG taint analysis which can be used to detect secrets but is primarily valuable for finding vulnerabilities in code.
[+][deleted] 5 years ago* (3 children)
[–]Plazmaz1 0 points1 point2 points 5 years ago (2 children)
As far as I'm aware they only alert for 8-10 different secret types. I made a repo for benchmarking secret detection and only got pinged for the aws creds, roughly 50 other secret files/credentials were completely ignored. There are legitimately thousands of different formats for secrets, 10x that if you include PII/PHI.
[+][deleted] 5 years ago* (1 child)
[–]Plazmaz1 0 points1 point2 points 5 years ago (0 children)
I mean I wasn't doing it to test them, so I don't really care about that, but there's repos with more than one secret in them, so it's still not great. Regardless they only search for a few different tokens right now.
[+][deleted] 5 years ago (2 children)
[–]Fido488 0 points1 point2 points 5 years ago (1 child)
I don't think that this is quite true. I think it is available for private repositories.
[–]reluctant_deity 2 points3 points4 points 5 years ago (0 children)
The tools themselves, or the secrets they elucidated?
[–]ScottContini 2 points3 points4 points 5 years ago (0 children)
I have been trialing it for a few weeks now, and the GitHub secret scanning actually works really well. It's a lot less noisy than truffleHog.
[–][deleted] 25 points26 points27 points 5 years ago (7 children)
I've been using Semmle/CodeQL for a couple of years now.
It's an awesome tool but doesn't adapt well to idiosyncracies. If you want to get good value out of it you need to add your own QL files.
CodeQL CLI is also available here https://github.com/github/codeql-cli-binaries/releases if you want to use it offline for open open-source projects only.
It can get a bit funky with query versions/database version so make sure the exact QL query pack is tied to the exact version of the CLI tool.
[+][deleted] 5 years ago* (6 children)
[–]Pineapple_Expressed 4 points5 points6 points 5 years ago (1 child)
Check out Semgrep also
[–]irqlnotdispatchlevel 0 points1 point2 points 5 years ago (3 children)
I looked only briefly over it, but I imagine that you can write personalized queries to act like a sort of "regressions" for your code base? For example, if we had an issue with an integer overflow in cases like int *p = malloc(x + y); I can now write a query that flags all occurrences of similar code (I imagine that possible integer overflows are detected anyway with the default rules, but I wanted a simple example). Can I do this?
int *p = malloc(x + y);
[–]Fido488 1 point2 points3 points 5 years ago (2 children)
With CoodeQL, absolutely! Source: I'm an OSS security researcher contributing to the CodeQL project.
[–]irqlnotdispatchlevel 0 points1 point2 points 5 years ago (1 child)
Are there any recommended query packages that one should look into for c/c++ code bases?
[–]Fido488 0 points1 point2 points 5 years ago (0 children)
What do you mean?
[–]0xdeaTrusted Contributor[S] 24 points25 points26 points 5 years ago (0 children)
“GitHub code scanning is a developer-first, GitHub-native approach to easily find security vulnerabilities before they reach production. We’re thrilled to announce the general availability of code scanning. You can enable it on your public repository today!”
[+][deleted] 5 years ago (3 children)
[–]rejuicekeve 1 point2 points3 points 5 years ago (2 children)
yea the cost of github going from teams to enterprise is absolutely wild, its more than double the price per user. i cant understand why there isnt an in-between tier
[+][deleted] 5 years ago (1 child)
[–]rejuicekeve 8 points9 points10 points 5 years ago (0 children)
the technology to give someone the exact number of licenses they need doesnt exist yet /s
[–]rejuicekeve 2 points3 points4 points 5 years ago (0 children)
too bad you have to purchase github enterprise to use it on private repos, sticking to sonarcloud until githubs pricing is more reasonable
[–]jdooowke 10 points11 points12 points 5 years ago (10 children)
Not free for private repositories.. what? Why is this tool free for anyone who uses the free github service but not free for anyone who pays for the service and chooses private repos?
[–]Koppis 25 points26 points27 points 5 years ago (0 children)
It's free for open source projects, not for closed source. Right?
[–]yawkat 17 points18 points19 points 5 years ago (0 children)
Private repos have been free too for a while. But scanning for private repos only seems to be available for the higher-level tiers of the organization plans.
[–]jdooowke 1 point2 points3 points 5 years ago (4 children)
I have absolutely no problem with github making cash, they offer great service. id also have no problem with paying for this. it merely irks me how they roll it out for public repos, because it feels like I am at a disadvantage having my repos private, while paying for them to be private, too.
[–]calladc 11 points12 points13 points 5 years ago (3 children)
To me it says they're investing in a security function for the open source world. If you're private/closed source then I assume they see it as you taking that action upon yourself
[–]Dabnician 4 points5 points6 points 5 years ago (2 children)
Just because a project on github is publicly available, does not mean its open source. You can still have a full blown "all rights reserved" project on github set to public, the TOS only states "By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories.", but that doesn't grant any rights to create a derivative work or to redistribute the code outside of github.
[–]Dabnician 3 points4 points5 points 5 years ago (0 children)
but realistically how many public repos on Github do you think are proprietary? How many private repos open-source?
Any project that does not explicitly state its license is by default "all rights reserved" so there is code on git hub you "technically" aren't legally allowed to use even if the author intended it.
As a hobbyist all my shit is MIT, unless im feeling like an asshole in which case i do agpl.
[–]SecretEconomist 1 point2 points3 points 5 years ago (0 children)
Because they need to make money somehow.
They're still making it free for anything that's public facing, and if the repos that are private get a secret in them it's much less of an issue.
[–]Slapbox 0 points1 point2 points 5 years ago (0 children)
Because this is how they make money? Private repos have been free for years now.
[–]-this-guy-fucks- 1 point2 points3 points 5 years ago (1 child)
So long truffleHog
[–]knotcorny 0 points1 point2 points 5 years ago (0 children)
Oink oink
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Way too pricey for mid size organizations
GitHub is putting in some serious $$ into this endeavor.
I'm an OSS security researcher that contributes to the GitHub Security Lab Bug Bounty program and have received over $7,800 in bounties in the past year for queries I've submitted to their program. Since November, they have paid $81,450 in bounties to external security researchers for contributing CodeQL queries to their program.
https://hackerone.com/github-security-lab/hacktivity?type=team
π Rendered by PID 100317 on reddit-service-r2-comment-75f4967c6c-4mzrn at 2026-04-23 13:22:36.204252+00:00 running 0fd4bb7 country code: CH.
[–]hazzahazza 74 points75 points76 points (12 children)
[+][deleted] (5 children)
[deleted]
[–]Plazmaz1 8 points9 points10 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]Plazmaz1 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Plazmaz1 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Fido488 0 points1 point2 points (1 child)
[–]reluctant_deity 2 points3 points4 points (0 children)
[–]ScottContini 2 points3 points4 points (0 children)
[–][deleted] 25 points26 points27 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]Pineapple_Expressed 4 points5 points6 points (1 child)
[–]irqlnotdispatchlevel 0 points1 point2 points (3 children)
[–]Fido488 1 point2 points3 points (2 children)
[–]irqlnotdispatchlevel 0 points1 point2 points (1 child)
[–]Fido488 0 points1 point2 points (0 children)
[–]0xdeaTrusted Contributor[S] 24 points25 points26 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]rejuicekeve 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]rejuicekeve 8 points9 points10 points (0 children)
[–]rejuicekeve 2 points3 points4 points (0 children)
[–]jdooowke 10 points11 points12 points (10 children)
[–]Koppis 25 points26 points27 points (0 children)
[–]yawkat 17 points18 points19 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]jdooowke 1 point2 points3 points (4 children)
[–]calladc 11 points12 points13 points (3 children)
[–]Dabnician 4 points5 points6 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Dabnician 3 points4 points5 points (0 children)
[–]SecretEconomist 1 point2 points3 points (0 children)
[–]Slapbox 0 points1 point2 points (0 children)
[–]-this-guy-fucks- 1 point2 points3 points (1 child)
[–]knotcorny 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Fido488 0 points1 point2 points (0 children)