You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/05/27 20:06:52 UTC

[PR] Add AGENTS.md + SECURITY.md linking the project's security model [nutch]

potiuk opened a new pull request, #920:
URL: https://github.com/apache/nutch/pull/920

   **This is a proposal for the PMC to review — please correct, reject, or discuss as needed.** Nothing here is a requirement; the maintainer is the decision-maker.
   
   ## What this PR does
   
   Adds two new files at the repo root:
   
   - **`AGENTS.md`** — agent-instructions file with a Security section linking to `SECURITY.md`. The conventional first stop for automated agents (security scanners, code analyzers, AI assistants) operating on this repository.
   - **`SECURITY.md`** — short pointer to the canonical security documents on the project website at <https://nutch.apache.org/documentation/security/>, plus the standard ASF reporting flow (`security@apache.org`). No threat-model content is duplicated — the website stays the source of truth.
   
   Together they make the conventional `AGENTS.md → SECURITY.md → website` discoverability chain mechanically followable.
   
   ## Why
   
   Two practical drivers:
   
   1. **GitHub UI affordance.** GitHub's "Report a vulnerability" button surfaces the contents of `SECURITY.md` at the repo root. Without one, well-meaning reporters file public issues against perceived security gaps. The new `SECURITY.md` redirects them to the website's threat-model + reporting flow.
   
   2. **Agent-driven security tooling discovery.** An automated agentic security scan the ASF Security team is piloting needs to mechanically locate the project's threat model via the conventional `AGENTS.md → SECURITY.md` chain at the designated commit. Without that chain resolving, the scan refuses to run (refusing upfront beats wasting reviewer cycles on a noise-heavy run against an unknown model).
   
   The PMC opted in on a private thread with the ASF Security team; Sebastian Nagel picked option (b) — Security team opens the PR — in his 2026-05-26 reply.
   
   ## What this PR does NOT do
   
   - It does **not** alter the existing security model. The model at <https://nutch.apache.org/documentation/security/#security-model> stays the source of truth.
   - It does **not** introduce a new reporting alias. Reports continue to flow through `security@apache.org`.
   - It does **not** touch other repository files.
   
   Per Sebastian's "template or incomplete version, we can complete during PR review" note: this is exactly that — minimal scaffolding that lets the discoverability chain pass mechanically. The PMC can extend `AGENTS.md` over time with project-specific guidance for AI coding agents (general contribution rules, build conventions, etc.) — it's the agent-instruction file the security pointer lives in.
   
   Questions / pushback / scope expansion welcome.
   


-- 
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: dev-unsubscribe@nutch.apache.org

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


Re: [PR] Add AGENTS.md + SECURITY.md linking the project's security model [nutch]

Posted by "sebastian-nagel (via GitHub)" <gi...@apache.org>.
sebastian-nagel merged PR #920:
URL: https://github.com/apache/nutch/pull/920


-- 
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: dev-unsubscribe@nutch.apache.org

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


Re: [PR] Add AGENTS.md + SECURITY.md linking the project's security model [nutch]

Posted by "sebastian-nagel (via GitHub)" <gi...@apache.org>.
sebastian-nagel commented on PR #920:
URL: https://github.com/apache/nutch/pull/920#issuecomment-4587910810

   Thanks, @potiuk!
   
   #921 to complete the AGENTS.md, NUTCH-3178 to track the progress and for our Jira-generated release notes.


-- 
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: dev-unsubscribe@nutch.apache.org

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


Re: [PR] Add AGENTS.md + SECURITY.md linking the project's security model [nutch]

Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #920:
URL: https://github.com/apache/nutch/pull/920#issuecomment-4558465722

   ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_nutch&pullRequest=920) **Quality Gate passed**  
   Issues  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_nutch&pullRequest=920&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_nutch&pullRequest=920&issueStatuses=ACCEPTED)
   
   Measures  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_nutch&pullRequest=920&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_nutch&pullRequest=920&metric=new_coverage&view=list)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_nutch&pullRequest=920&metric=new_duplicated_lines_density&view=list)  
     
   <!-- sqra-placement-anchor -->
   [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_nutch&pullRequest=920)
   
   


-- 
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: dev-unsubscribe@nutch.apache.org

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