Repository navigation
docs: add analysis Q&A document for connect-core stack - #112
Conversation
Add docs/preguntas_respuestas.md containing detailed analysis of architecture, security, agent verification, operations, risk findings, and unanswered questions for very-simplified-stack/. Co-authored-by: Axlfc <14998495+Axlfc@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Add docs/preguntas_respuestas.md, docs/propuestas_cognito.md, and docs/riesgos_nuevas_funciones.md containing detailed analysis of architecture, security, agent verification, operations, risk findings, feature proposals, and security risk evaluations for very-simplified-stack/. Co-authored-by: Axlfc <14998495+Axlfc@users.noreply.github.com>
- Filter subprocess env vars in SandboxedExecutor (SAFE_ENV_KEYS: PATH, LANG, LC_ALL, TERM) and add --clearenv.
- Hide user home directory in bwrap (--tmpfs ~) with optional COGNITO_SANDBOX_HOME_RO_PATHS re-exposure.
- Enforce CPU, memory, nproc, and nofile resource limits via prlimit in SandboxedExecutor.
- Prevent zombie processes on sandbox timeouts with await proc.wait().
- Fix protected_files symlink bypass in write_tool.py by resolving canonical target relative paths.
- Add resolve_in_workspace helper in path_safety.py and defense-in-depth in read_tool.py and edit_tool.py.
- Implement atomic file writes in edit_tool.py via NamedTemporaryFile and os.replace.
- Replace plain text password fallbacks in docker-compose.yml files with ${VAR:?error} syntax.
- Add security test suites test_security_path_tools.py and test_security_sandbox.py.
- Add docs/preguntas_respuestas.md, docs/propuestas_cognito.md, docs/riesgos_nuevas_funciones.md, and docs/security_fixes.md.
Co-authored-by: Axlfc <14998495+Axlfc@users.noreply.github.com>
… safety
- Worktrees in sandbox (Punto 1): detect worktree .git pointer and re-expose gitdir via --ro-bind.
- Removed --nproc from prlimit (Punto 2): prevent UID process exhaustion issues.
- HOME checks (Punto 3): omit --tmpfs on HOME when HOME is "/", non-existent, or invalid.
- CWD under /tmp (Punto 4): place CWD --bind after --tmpfs /tmp in bwrap arguments.
- Compose fallbacks (Punto 5): replace plain text sensitive fallbacks with ${VAR:?error}.
- Port bindings (Punto 6): bind qdrant and cognito-backend in stack compose to 127.0.0.1.
- Protected file normalization (Punto 7): normalize ./ prefix in write_tool without stripping leading dots.
- Memory test assertion (Punto 8): assert process non-zero exit code and no ALLOCATED output.
- Prlimit inheritance documentation & verification (Punto 9): document prlimit inheritance and test rlimits.
- Add docs/preguntas_respuestas.md, docs/propuestas_cognito.md, docs/riesgos_nuevas_funciones.md, and docs/security_fixes.md.
Co-authored-by: Axlfc <14998495+Axlfc@users.noreply.github.com>
Add docs/preguntas_respuestas.md containing detailed read-only analysis of the Hypenosys connect-core codebase (very-simplified-stack/). Answers all 13 questions with line citations, status tags, prioritized risk findings, and unanswered questions according to prompt guidelines.
PR created automatically by Jules for task 2598792436114850096 started by @Axlfc