You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/05/15 16:49:30 UTC

[PR] docs: add camel-karaf security model, SECURITY.md and AGENTS.md [camel-karaf]

oscerd opened a new pull request, #706:
URL: https://github.com/apache/camel-karaf/pull/706

   ## What
   
   Adds a **Karaf-specific threat model** for camel-karaf, plus the supporting
   `SECURITY.md` reporting pointer and `AGENTS.md` AI-agent guidelines — mirroring
   the house style of [`apache/camel`](https://github.com/apache/camel)
   (`docs/user-manual/.../security-model.adoc` + root `SECURITY.md` + `AGENTS.md`
   with a Security Model section + `CLAUDE.md` symlink).
   
   | File | |
   |---|---|
   | `docs/modules/ROOT/pages/security-model.adoc` | the threat model (new) |
   | `docs/modules/ROOT/nav.adoc` | links the new page in the user guide nav |
   | `SECURITY.md` | GitHub-rendered reporting pointer to the model + Apache Camel private process (new) |
   | `AGENTS.md` (+ `CLAUDE.md` symlink) | AI-agent guidelines incl. a Security Model summary (new) |
   
   ## Why / approach
   
   camel-karaf is a **runtime adapter, not a new data plane**. The data-plane
   vulnerability classes (unsafe deserialization, XXE, expression/template
   injection, path traversal, SSRF, header/bean-dispatch abuse, auth bypass,
   information disclosure, insecure defaults, back-end query injection) live in
   **Apache Camel core and components**. The model therefore **defers those to the
   canonical [Apache Camel Security Model](https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/security-model.adoc)**
   and documents only the **Karaf delta**:
   
   - the `camel-core-osgi` resolution layer (must not *widen*, for untrusted
     message data, a class/bean/component sink flat-classpath Camel core had closed);
   - the Blueprint DSL as trusted route-author code (equivalent to Java/XML/YAML DSL);
   - the Karaf shell as a management surface (analogous to camel-management/JMX);
   - the feature / Pax-URL install model as trusted operator action;
   - **OSGi is not a security sandbox** — the headline false-friend.
   
   It includes a component-family map, input-trust matrix, adversary model,
   properties provided / not provided, known non-findings (for automated triage),
   a closed set of triage dispositions, and a dated ratification record. The model
   is **fully ratified**; provenance tags are retained as the chain of authority
   cited when closing reports.
   
   Produced with the `threat-model-producer` rubric. No code changes; docs only.
   Build gate not affected.
   
   ---
   
   _Claude Code on behalf of Andrea Cosentino_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: add camel-karaf security model, SECURITY.md and AGENTS.md [camel-karaf]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #706:
URL: https://github.com/apache/camel-karaf/pull/706#issuecomment-4467461755

   Added commit `627dc0ce7` converting the three in-site `link:https://camel.apache.org/...` URLs in `security-model.adoc` to root-relative `link:/security/` form. This matches apache/camel core `security-model.adoc` (apache/camel#23224) and prevents this PR from introducing `camel/relative-links` failures in the camel-website build once merged (same fix shipped for the sibling per-subproject models: apache/camel-kamelets#2836, apache/camel-kafka-connector#1774, apache/camel-quarkus#8661). Documentation-only; link targets unchanged.
   
   _Claude Code on behalf of Andrea Cosentino_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: add camel-karaf security model, SECURITY.md and AGENTS.md [camel-karaf]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #706:
URL: https://github.com/apache/camel-karaf/pull/706


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: add camel-karaf security model, SECURITY.md and AGENTS.md [camel-karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on code in PR #706:
URL: https://github.com/apache/camel-karaf/pull/706#discussion_r3252184276


##########
docs/modules/ROOT/pages/security-model.adoc:
##########
@@ -0,0 +1,694 @@
+= Security Model

Review Comment:
   The ASF header is missing here.



##########
AGENTS.md:
##########
@@ -0,0 +1,358 @@
+# Apache Camel Karaf - AI Agent Guidelines

Review Comment:
   The ASF header is missing here.



##########
SECURITY.md:
##########
@@ -0,0 +1,30 @@
+# Security Policy

Review Comment:
   The ASF header is missing here.



##########
CLAUDE.md:
##########
@@ -0,0 +1 @@
+AGENTS.md

Review Comment:
   The ASF header is missing here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: add camel-karaf security model, SECURITY.md and AGENTS.md [camel-karaf]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #706:
URL: https://github.com/apache/camel-karaf/pull/706#issuecomment-4467529426

   @jbonofre addressed in `605b93c3c`: added the ASF license header to `AGENTS.md`, `SECURITY.md` (HTML-comment form, matching `README.md`) and `docs/modules/ROOT/pages/security-model.adoc` (AsciiDoc `////` form). `CLAUDE.md` is a symlink to `AGENTS.md`, so it inherits the header transitively — kept it as a symlink rather than converting it to a regular file. Re-requesting review.
   
   _Claude Code on behalf of Andrea Cosentino_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org