OwenSanzas/O2-CyberSecurity-Outpost

GitHub: OwenSanzas/O2-CyberSecurity-Outpost

基于 React 和 Vite 构建的 LLM 安全研究论文门户网站,为 AI 安全领域提供结构化的文献聚合与知识管理服务。

Stars: 0 | Forks: 0

# React + TypeScript + Vite 此模板提供了一个最小化的设置,让 React 能在 Vite 中运行,包含 HMR 和一些 ESLint 规则。 目前提供两个官方插件: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) 使用 [Babel](https://babeljs.io/)(或在 [rolldown-vite](https://vite.dev/guide/rolldown) 中使用 [oxc](https://oxc.rs))实现 Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) 使用 [SWC](https://swc.rs/) 实现 Fast Refresh ## React Compiler 此模板未启用 React Compiler,因为它会对开发和构建性能产生影响。如需添加,请参阅[此文档](https://react.dev/learn/react-compiler/installation)。 ## 扩展 ESLint 配置 如果你正在开发生产环境应用程序,我们建议更新配置以启用类型感知的 lint 规则: ``` export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], extends: [ // Other configs... // Remove tseslint.configs.recommended and replace with this tseslint.configs.recommendedTypeChecked, // Alternatively, use this for stricter rules tseslint.configs.strictTypeChecked, // Optionally, add this for stylistic rules tseslint.configs.stylisticTypeChecked, // Other configs... ], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, // other options... }, }, ]) ``` 你也可以安装 [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) 和 [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) 以获取 React 特定的 lint 规则: ``` // eslint.config.js import reactX from 'eslint-plugin-react-x' import reactDom from 'eslint-plugin-react-dom' export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], extends: [ // Other configs... // Enable lint rules for React reactX.configs['recommended-typescript'], // Enable lint rules for React DOM reactDom.configs.recommended, ], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, // other options... }, }, ]) ```
标签:DLL 劫持, DNS解析, LLM, React, Ruby, Syscalls, TLS抓取, TruffleHog, TypeScript, Unmanaged PE, Vite, Web门户, 人工智能, 单页应用, 大语言模型, 学术论文, 安全插件, 开源项目, 技术文档, 文献管理, 漏洞分析, 用户模式Hook绕过, 知识库, 科研工具, 网络安全, 自动化攻击, 路径探测, 软件安全, 隐私保护