mastoto

@mastootoo
1 Followers
10 Following
11 Posts

“if we give our data to companies, the wealthy will rule.

If we give our data to governments, we will end up with some form of authoritarianism.

Only if the people keep their data will society be free.

#Privacy matters because it gives power to the people.”

— Carissa Véliz, “Privacy is Power”

🎁 GenAI x Sec Advent #1

💡 RAG (Retrieval Augmented Generation) is an excellent way to use GenAI with your data!

A RAG allows you to add your data as context to a GenAI model like GPT, Claude, Mistral, and others. Think of it as incorporating your data directly into your prompts. 🤖

🤓 But it’s more than that— a RAG doesn’t just add context; it retrieves the most relevant information based on your query, like a search engine for your own data! 😉

We usually talk about the following RAG Techniques:

1️⃣ Naive RAG:
It retrieves relevant documents using vector similarity search and incorporates them into the LLM's context. It works by embedding the user queries and documents into a shared vector space to find semantically similar content. The performance depends on well-tuned chunking strategies and embedding parameters.

2️⃣ Advanced RAG:
It optimizes data indexing, retrieval quality, and post-retrieval processing to improve the relevance and coherence into the generated responses. For example it adds additional techniques such as Re-Ranking, Prompt Compression, Noise Filtering.

3️⃣ Modular RAG:
It introduces flexible modules—such as search, memory, fusion, and routing—that can be customized and rearranged to address specific tasks.

🤓 RAG in Cybersecurity:
This year, I used it in a very practical way to analyze the ISOON leak. I processed the data by:

- Extracting text via OCR,
- Translating it from Chinese to English,
- Embedding it into a vector to build my RAG and using FAISS.

The entire process is documented in the link below, and you can reuse my code! 👇

https://jupyter.securitybreak.io/ISOON_DataLeak_OCR_GenAI/ISOON_ChinLeaks.html

#genai #threatintel #RAG #cybersecurity #infosec

ISOON_ChinLeaks

My App Store numbers for the past year.
Looks like the ChatGPT Mac app is using my https://github.com/sindresorhus/KeyboardShortcuts package ❤️
GitHub - sindresorhus/KeyboardShortcuts: ⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes

⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes - sindresorhus/KeyboardShortcuts

GitHub

Today, I have 9 years of sobriety from alcohol. Without the support of my mum and sister, the recovery center and the various meetings and various groups I've attended over the years, I would not be alive today.

If you know someone suffering from an addiction of any sort, please, offer compassion and support, not condemnation. Even the strongest and wisest can fall prey to addiction. A little kindness can go a long way.

#RecoveryPosse #ODAAT

One of my favourite things about Mastodon is the niche creativity you get to see - when things aren’t determined by an algorithm, your creative projects don’t need to be understood or approved of by a majority in order for me to actually see them in my timeline. So I get lots of random fun art projects, knitting projects, unusual erotica, creative photography, nerds building cool things with wires. Love it. Cheers me right up, thanks Fedi ❤️

"If anyone thinks this is only about #Ukraine, they’re fundamentally mistaken. Possible directions and even timeline of a new russian aggression beyond Ukraine become more and more obvious.

Let me ask very honestly: which European nation today can provide a combat ready army on par with ours, holding back russia? And how many men and women are your nations ready to send to defend another state, another nation?"

- President #Zelenskyy at #Davos

Watch (1 Minute) Source Channel4 Insta Reel