Better HN
topnewbestaskshowjobs
Log inSign up

cookiengineer

7,971 karma · joined Aug 15, 2016 (10y ago) · 2,724 submissions

I'm sort of a software engineer with a Cyber Defense and Purpleteam background. My projects have involved co-evolutionary AI concepts (NEAT/HyperNEAT) to automate the generation and adaption of code and network protocols, as well as fuzzing and exploiting binaries reproducibly. Meanwhile I'm also building my own agentic environment for all sorts of cool things.

For the last years I've been building an agentic cyber defense platform in the form of the https://tholian.network

The open source projects I've built in the past can be found on Github or my personal website:

- https://github.com/cookiengineer (same account on gitlab)

- https://cookie.engineer

Fun fact: All my comments have been written on the toilet. I don't use social media anywhere else.

I only use reddit, HN, and LinkedIn. All other accounts are probably fake, because I don't like the toxicity that social media embraces as you might've guessed already.

Have a great day, stranger!

Submissions

comment 3d ago · link · parent

And they exited with $13M in XMR, now mixed into ETH while doing so. So I'd also argue that was the reason. The founder of the exchange claiming that 1984 retained the private key and personally hacked him with the feds makes it look like there's more to the truth than the founder wants to admit publicly.

I mean, the police in Iceland pulling off something like this? You sure, buddy?

In any case, leaving private keys for anything on a server should be considered foolish practice by now. Ronins are always exploitable, it's just a question of when, not if.

And assuming any XMR mixing service to have honest and transparent values is a pretty foolish errand.

comment 4d ago · link · parent

> By default, Microsoft has a copy of your laptop's encryption key and will hand it over in response to a warrant.

Note that this is meanwhile proven with both of the Bitlocker exploits that Nightmare Eclipse released this year.

comment 4d ago · link · parent

> This is just not true.

> not a single open source project to backup those claims

Without source code, there is no way to prove those assumptions. Saying "this is not true" is therefore a statement in bad faith.

Remember goto SSL bug? Where all Apple platforms did not even have working SSL encryption for over 15 years, unnoticed?

If you rely on hearsay and treat it as evidence, you're up for a rough awakening. That is not how NSLs work.

comment 5d ago · link · parent

It isn't if you train the quantized model with a quantized K/V and cache. That's my approach and usually takes around a day for 100k reasoning traces (including abliteration).

Also this is on consumer hardware, meaning 96GB CPU RAM and 48GB GPU VRAM, using an optimized Vulkan concurrent shader pipeline. So costs for the machine are around 3-5k depending on RAM crisis.

[1] https://github.com/cookiengineer/qwen-reasoning-trainer

comment 5d ago · link · parent

And here is me, self hosting and self training Chinese models, thinking that Claude and Fable were useless since February against them...

I don't understand this, to be honest. Claude is such a stupid model compared to DeepSeek v4.1 or GLM 5.3 or even Qwen3.8 flash next, especially in cyber security related tasks.

I get their marketing strategy, but it's just that. And they don't deliver on their promise and haven't done so since November anymore. They had the lead with Opus 4.6 but it got gradually so much worse that pretty much all people working in cyber that I know of all switched to different models or started to selfhost.

They (including me) were happy customers back in January, though.

comment 6d ago · link · parent

> Problem is tech is full of PMs and other managers that don’t know technology. Things that could be algorithms, functions, programs, regex filters, etc are now LLMs because they don’t know anything else to solve problems

Is this the right approach though?

Computers should be usable by humans, not the other way around. How CPUs are built, how assembler came to be, how programming languages came to be... ultimately, they were all just compromises along the way to make computers more usable by humans.

With LLMs, however, the threshold barrier for being able to modify and use a computer effectively is now zero, which in my opinion is a good thing.

I can recommend watching "the mother of all demos" talk from 1968 [1] which basically established the design patterns for modern computers. That's how old the concept of desktop environments is. There hasn't been any meaningful invention eversince, apart from touchscreens/smartphones, and now LLMs as a generalized interface design.

[1] https://www.youtube.com/watch?v=yJDv-zdhzMY

comment 6d ago · link · parent

For others:

> https://github.com/syntax-syndicate/onnxruntime

Check the web archive link for commit hashes, the syntax-syndicate fork seems to be the remaining legit fork.

[1] https://web.archive.org/web/20261113082932/https://github.co...

comment 6d ago · link · parent

Welcome to the world of cybersecurity. /s

Jokes aside, this is how Blueteams or more specifically GRC people usually think like, because they're not owning the systems that they have to defend. Meaning that corporate politics comes in the way with "who is to blame" instead of "who can fix it" for unmaintained systems, and nobody in the company accepts responsibilities to actually patch/migrate their existing software debt towards a modernized infrastructure.

This can be as bad as being stuck in the pre-Citrix age because there's no top-down approved official budget to migrate towards container images.

So from their point of view (being strictly operational without ownership in those organizations) the best they are "allowed to do" is isolate those systems in segregated networks.

But we all know how that strategy turned out, this year, when LLMs finally got finally good enough to implement lateral movement exploits on their own.

comment 1w ago · link · parent

Okay, this is a pretty cool prompt bypass/injection challenge.

comment 1w ago · link · parent

That is not how scale works.

Some (likely most) projects have just non-paid people working on it in their free time. That's the reality of open source.

comment 1w ago · link · parent

Oh the irony here.

AOSP still has a 6 months holding back patches delay, the reasoning was "improved security".

So, what is improving security now? Fast patches or slow patches? :)

comment 1w ago · link · parent

I think you haven't realized yet that LLMs were trained on human output.

comment 1w ago · link · parent

> And there has been strictly zero progress on this and IMO this isn't something LLMs are structurally capable of doing.

Totally agree with this.

I see the future of what an IDE is more like an "architecture designing interface" which designs tests, architectural decisions, type systems, and contracts between components. Tasks then should be delegated in their implementations to agents so they are just responsible for the "wiring parts together" tasks.

Currently I imagine it as something similar to how workflows are usually designed around strong types and schema validations in safety-critical areas like ASPICE, Ada Spark, etc.

That's mostly why I don't use existing agentic environments and started earlier this year to experiment with my own one, where I try to enforce the design and architecture related tasks through capabilities mapped on tools for each of the task-scoped roles involved.

comment 1w ago · link · parent

Wanted to add that LLMs have become incredibly good at reverse engineering such devices, even when they don't have postmarketOS (now "Nura") or upstream kernel support yet. Been able to merge kernel changes and backport driver support to upstream kernels pretty easily by just giving them access to UART. They'll just go ahead and figure out all the partitioning and firmware quirks by themselves, and e.g. OpenWRT instructions seem to be well documented in the wiki so they'll understand the process on how to get there almost completely by themselves.

For my malware home lab, I decided to just reuse old phones and routers that nobody wanted anymore (quite literally got them from the trash bins). Now they're running an ARMv8 kernel as the host kernel and the rest is emulated or containerized, depending on the use case.

Works like a charm for most tasks I throw at it, and many old cheap Android phones have at least quad or octa cores in them, making them pretty awesome for podman/docker usage, too.

The only thing you have to look out for is to remove the battery, and that you use a separate power circuit with a step down converter to power it. But other than that, old smartphones have become amazing for selfhosting stuff now.

15.

Show HN: Qwen Reasoning Traces Trainer and Inference Server(github.com ↗)

1 points · by cookiengineer · 1w ago · discuss

comment 2w ago · link · parent

> (...) that agents are currently pretty good at it if guided properly.

I think I partially agree with that.

If you create your type system and templates first, agents can be pretty helpful filling in the blanks or "wiring"/integrating an external API into your own type system.

The issue is that I always have to force agents to read that type system before I can prompt them with a task like this, and always have to prompt them to not touch/extend/modify that type system and to use existing codestyles etc.

So I guess I haven't figured out a good type system discovery in my workflows yet. Would be interesting to see how you work with agents here.

Got an open sourced repo by chance where the structure worked out well?

comment 2w ago · link · parent

Personally, I've never seen anyone write C++ codebases without boost. As you pointed out, the only practical way seems to be to constraint its feature complexity through meta programming.

Coming from the embedded C++ world where resources are scarce, C++ and its debugger ecosystem have been really nice. There were usually strong vendor provided SDKs and cross compilation toolchains available.

The issues I had with the language were mostly dependencies on vendors, not effectively being able to fix problems in SDKs, and as you also mentioned the footguns.

Lots of frustrations came from codestyle, branch conventions and type conventions we tried to encode into templates, which new team members had to learn before they could write any production code. So from a team perspective a lot of productivity came from reproducible build pipelines and setups. Having one team member on Windows and the other on macOS or Linux was as painful as it can get, especially with getting gcc's ecosystem to work properly. So you were also really dependent on Docker cross architecture images. And setting those up just for the sake of compilation was also unnecessary overhead.

These days I've migrated towards Go for pretty much all tasks I can think of, mostly for the tight integration with the C ABI ecosystem and tinygo and the easy possibility to cross compile into fat binaries.

What I miss though is a "real IDE" like the old Visual Studio, or geany or whatever. Most IDEs are not symbol based anymore, which makes them really painful to use in terms of what I expect an IDE to offer to be able to call itself an IDE. But maybe this is just my C++ heart bleeding all over the place because I miss good and typed API documentation examples that I can explore through clicking rather than having to google every function all the time.

comment 3w ago · link · parent

Do you have some repo link for your harness?

Would love to take a look at it.

19.

Check for IOCs for the ongoing Claude Code extensions exfil campaign(github.com ↗)

1 points · by cookiengineer · 3w ago · discuss

comment 3w ago · link · parent

It's dangerous to go alone, take this [1]

[1] https://github.com/cookiengineer/check-claude-code-exfil

comment 3w ago · link · parent

LGTM [1] sing

In all seriousness, there is nobody at Anthropic who can even give you that answer, because nobody there reads their pushed code anymore. Take a look at the previous Claude Code leaked codebases if you don't believe me, there is hundreds of files with 1000+ or more import statements at the top.

Any human would immediately tell you that it needs to be refactored from scratch. Their codebase also leaked that they're using review bots automatically instead of a human-in-the-loop review process.

[1] https://m.youtube.com/watch?v=3TNpOD6bov8

edit: downvoting me doesn't make it untrue, by the way. Check the leaked codebases, I dare you to provide evidence to the contrary.

comment 3w ago · link · parent

Had to check the nickname before I realized.

Hello, blast from the past! Feels like a lifetime ago.

I'm so grateful for WHATWG listening to the jquery community though, sizzle.js and the CSS query selector API made building dynamic websites so much easier.

comment 3w ago · link · parent

One of the three co-founders also founded NSO Group, and was developing the Pegasus malware.

Just for context, that is the type of evil we're talking about here.

A German comedian made an episode about it [1]

[1] https://youtube.com/watch?v=_PF23EdGNcE

comment 4w ago · link · parent

Yep, can confirm.

The tutorials and hands on coding examples made me understand how to program with GPUs. I loved them because at the time, khronos was still in its infancy and just started out with GLES extensions and the whole WebGL ecosystem.

Meanwhile I kind of believe that learning where it came from (fixed function pipeline, buffer/texture and uniform problems etc) makes a lot of sense to learn first so you start thinking in shader computation pipelines much easier, as you understand the whys and whens much better.

12345
91