Skip to content

Instantly share code, notes, and snippets.

View bennycode's full-sized avatar

Benny Neugebauer bennycode

View GitHub Profile
@neekolas
neekolas / audit.md
Created October 27, 2026 14:57
Nick's Guide To AI Assisted Security Audits (October 2026 Edition)

Nick's Guide To AI Assisted Security Audits (October 2026 Edition)

It's a scary time to be an open source software maintainer. I thought I would share my overall setup and workflow for finding vulnerabilities in OSS I am responsible for.

This isn't a single skill, since it involves many models/providers inside and outside of a sandboxed environment. Some steps will only work with Daybreak/CVP enabled or an abliterated model and some will work better with Daybreak turned off. If you point your LLM at this file, you can probably turn it into a less manual workflow around your particular setup.

This process is not meant to be token-efficient or fast. It is meant to find all the vulnerabilities today's frontier tools are capable of finding. I use this process before major releases, with a much lighter and more automation-friendly process for PR checks and periodic audits.

0: Setup

@bennycode
bennycode / dump.js
Last active May 6, 2024 11:29
Dump text into JSON file (Node.js)
const payload = {name: 'text'};
(require('fs')).writeFileSync(`dump-${Date.now()}.json`, JSON.stringify(payload));
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 9, 2026 19:45
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@douglas
douglas / update_git_repos.sh
Created October 14, 2011 15:04
Update all git repositories under a base directory
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# Let the person running the script know what's going on.
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do
@mathiasbynens
mathiasbynens / unicodeEscape.js
Created September 26, 2011 19:50
Escape all characters in a string using both Unicode and hexadecimal escape sequences
// Ever needed to escape '\n' as '\\n'? This function does that for any character,
// using hex and/or Unicode escape sequences (whichever are shortest).
// Demo: http://mothereff.in/js-escapes
function unicodeEscape(str) {
return str.replace(/[\s\S]/g, function(character) {
var escape = character.charCodeAt().toString(16),
longhand = escape.length > 2;
return '\\' + (longhand ? 'u' : 'x') + ('0000' + escape).slice(longhand ? -4 : -2);
});
}