Skip to content

Security policy guide updates#203

Open
robrwo wants to merge 6 commits intoCPAN-Security:mainfrom
robrwo:rrwo/security-policy-guide-updates
Open

Security policy guide updates#203
robrwo wants to merge 6 commits intoCPAN-Security:mainfrom
robrwo:rrwo/security-policy-guide-updates

Conversation

@robrwo
Copy link
Contributor

@robrwo robrwo commented Feb 28, 2026

This adjusts the security policy wording, and adds a sample very short policy.

Please do not report security problems on public forums or in
repository issues.

Only the latest release of Foo-Bar will be supported.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly add a link to the repo with the latest security policy?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I proposed similar language above; Maybe find a phrasing that works well both places?


This policy is not intended to be machine readable.
However, it should be understandable for an international audience.
Dates and timestamps should be in the [HTTP Date/Time Format](https://httpwg.org/specs/rfc9110.html#http.date).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My knee-jerk reaction is "why no ISO-dates?"

Copy link
Contributor Author

@robrwo robrwo Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISO dates are meant for machines, and most parts of the world don't use them normally. I find it a little jarring to read text like "This was last updated on 194-11-06" instead of "This was last updated on Sun, 06 Nov 1994".

Copy link
Contributor

@timlegge timlegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment - otherwise looks fine

@robrwo robrwo requested a review from timlegge March 2, 2026 19:25
You should add a security policy to tell downstream users that you (the developers and maintainers of your software) care about the integrity of their data and systems.

A security policy tells users how to report security issues to the project maintainer(s), how the maintainer(s) will respond, and what software will be supported by them.
A security policy tells users how to report security issues to the project maintainer(s), how the maintainer(s) will respond to security issues, and what software will be supported by them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're talking about "human-intended" language further down, how about

A security policy tells users how to report security issues to the project maintainer(s), how the maintainer(s) will respond to security issues these, and what software will be supported by them.

Even if you are not subject to regulations of a government that requires security policies, potential users of your software are.
Adding a security policy will make it easier for them to follow regulations.
Even if you the author are not subject to regulations of a government or institution that requires security policies, potential users of your software may be.
Adding a security policy will make it easier for them to follow regulations and use your software.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[…] and use your software, with the right expectations for how security events will be handled.

A date or timestamp of the security policy (ideally the same as the distribution release) is useful to advise users that the information may be outdated, and where to check for a more recent version of the distribution:

> This policy was updated on Fri 22 Aug 2025 09:32:47 BST.
> If this policy is more than two years old, then you should check for a more recent version of [Foo-Bar on CPAN](https://metacpan.org/dist/Foo-Bar).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not bind a duration to this? E.g. write

The most recent version of this security policy can be found in the most recent release of Foo-Bar on CPAN.

Please do not report security problems on public forums or in
repository issues.

Only the latest release of Foo-Bar will be supported.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I proposed similar language above; Maybe find a phrasing that works well both places?


This policy was updated on Fri 22 Aug 2025 09:32:47 BST. If this
policy is more than two years old, then you should check for a more
recent version of [Foo-Bar on CPAN](https://metacpan.org/dist/Foo-Bar).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above, re "more than two years old"

Copy link
Contributor

@timlegge timlegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i do worry that these security policies will rot a little but I guess it can't be helped and does help in the near term

A security policy might also be a requirement by some institutions or governments.
Even if you are not subject to regulations of a government that requires security policies, potential users of your software are.
Adding a security policy will make it easier for them to follow regulations.
Even if you the author are not subject to regulations of a government or institution that requires security policies, potential users of your software may be.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/you the author/you, the author,/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants