---
title: "Carla Reyes (@Heresy) | Hashnode"
description: "Anti-Money Laundering. Read the latest articles by Carla Reyes on Hashnode."
url: "https://hashnode.com/@Heresy"
---

@Heresy

# Carla Reyes

@Heresy · Joined March 2023

Anti-Money Laundering

### [rag 攻击 | 本地靶场搭建 | google AI 响应](https://heresy.hashnode.dev/rag-google-ai?utm_source=hashnode&utm_medium=feed)

安装向量库与本地 Embedding 依赖 (python312) $ pip install chromadb sentence-transformers 构建易受攻击的 RAG 靶场代码 创建一个名为 vulnerable\_rag.py 的文件 该脚本模拟了一个企业内部客服/助手系统，具备“检索知识库”和“模拟执行敏感工具（如发送邮件/读取机密）”的能力，且未做任何输入输出隔离 impo

3 min read · [heresy.hashnode.dev](https://heresy.hashnode.dev/rag-google-ai?utm_source=hashnode&utm_medium=feed)

[Nov 19](https://hashnode.com/posts/rag-google-ai/6afe67381cc017897d38413a)

### [rag 攻击 | 本地靶场搭建 | duck AI 响应](https://heresy.hashnode.dev/rag-duck-ai?utm_source=hashnode&utm_medium=feed)

安装依赖并下载模型 (python312) $ pip install huggingface\_hub 将以下内容保存为 download\_models.py 这是下载模型的代码 from pathlib import Path from huggingface\_hub import hf\_hub\_download MODEL\_DIR = Path("models") MODEL\_DIR.m

4 min read · [heresy.hashnode.dev](https://heresy.hashnode.dev/rag-duck-ai?utm_source=hashnode&utm_medium=feed)

[Nov 19](https://hashnode.com/posts/rag-duck-ai/6afe6274422e0697068bb752)

### [conda 安装 最新版 llama-cpp](https://heresy.hashnode.dev/conda-llama-cpp?utm_source=hashnode&utm_medium=feed)

由 duck AI 和 google AI 响应整理 安装并激活 python 版本 3.12 指定该版本 (python312) $ conda env list # conda environments: # # \* -> active # + -> frozen base /home/user/miniconda3 python312

2 min read · [heresy.hashnode.dev](https://heresy.hashnode.dev/conda-llama-cpp?utm_source=hashnode&utm_medium=feed)

[Nov 19](https://hashnode.com/posts/conda-llama-cpp/6afe5fafbeb9a495b921e845)

### [AIRT 靶场 | Lab03 : RAG Exploitation](https://heresy.hashnode.dev/airt-lab03-rag-exploitation?utm_source=hashnode&utm_medium=feed)

做好准备 激活 python312 环境 (base) $ conda activate python312 安装对应的软件包，并确认安装成功 # apt-get install uidmap # command -v newuidmap /usr/bin/newuidmap # command -v newgidmap /usr/bin/newgidmap # apt-get insta

3 min read · [heresy.hashnode.dev](https://heresy.hashnode.dev/airt-lab03-rag-exploitation?utm_source=hashnode&utm_medium=feed)

[Nov 19](https://hashnode.com/posts/airt-lab03-rag-exploitation/6afe5d9765fea6c3c49de09a)

### [DVLAA 靶场安装](https://heresy.hashnode.dev/dvlaa?utm_source=hashnode&utm_medium=feed)

Damn Vulnerable LLM and Agent Application 项目地址 https://github.com/Tcotl/DVLAA 说明给出 3 种安装方式：一键 docker 部署；手动 Docker 部署；本地运行 一键 docker 部署：如果容器运行时使用 docker 安装比较麻烦；容器运行时如果换成 podman 需要修改的太多 手动 Docker 部署：根

2 min read · [heresy.hashnode.dev](https://heresy.hashnode.dev/dvlaa?utm_source=hashnode&utm_medium=feed)

[Nov 19](https://hashnode.com/posts/dvlaa/6afe5b72192c360e920e8417)
