<feed xmlns='http://www.w3.org/2005/Atom'>
<title>webmentions-ssg/webmentions_ssg/url_security.py, branch v0.0.3</title>
<subtitle>A web service that implements webmentions receiver/sender for static site generators.</subtitle>
<id>https://git.dennisfink.me/webmentions-ssg/atom/webmentions_ssg/url_security.py?h=v0.0.3</id>
<link rel='self' href='https://git.dennisfink.me/webmentions-ssg/atom/webmentions_ssg/url_security.py?h=v0.0.3'/>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/'/>
<updated>2026-11-12T18:57:08Z</updated>
<entry>
<title>refactor(core): split modules by responsibility</title>
<updated>2026-11-12T18:57:08Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-11-12T18:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=4bd1d9e348918b2e55db47a1ac3489d035cf55e2'/>
<id>urn:sha1:4bd1d9e348918b2e55db47a1ac3489d035cf55e2</id>
<content type='text'>
Break up monolithic views, task helpers, networking, CLI, and
application extension setup so each module owns a focused concern.

Reorganize the test suite around the new boundaries while preserving
existing Webmention behavior and coverage.
</content>
</entry>
<entry>
<title>fix(core): reject IPv6 transition addresses</title>
<updated>2026-10-31T16:49:44Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-10-31T16:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=f7c0691e0da84644ea8b2b83ad5574fe179da59b'/>
<id>urn:sha1:f7c0691e0da84644ea8b2b83ad5574fe179da59b</id>
<content type='text'>
Harden public-address validation against NAT64, IPv4-compatible, 6to4,
and IPv4-mapped IPv6 forms that can encapsulate private or metadata
destinations.

Apply the same check to literal form validation and DNS-resolved
addresses so SSRF protections do not rely on Python's `is_global`
behavior alone.
</content>
</entry>
<entry>
<title>fix(core): replace Huey pickle serialization with JSON</title>
<updated>2026-10-30T19:41:25Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-10-30T19:41:25Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=53370723df05193938ce3c2d55a8e12f2a87b17b'/>
<id>urn:sha1:53370723df05193938ce3c2d55a8e12f2a87b17b</id>
<content type='text'>
Prevent broker-controlled task and result payloads from deserializing
arbitrary Python objects by using a restricted JSON serializer with an
explicit type allowlist.

Fail closed on serializer overrides and document broker isolation and
migration requirements for existing pickle-backed deployments.
</content>
</entry>
<entry>
<title>fix(core): prevent DNS rebinding in HTTP requests</title>
<updated>2026-10-30T19:31:43Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-10-30T19:31:43Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=13a9d9ddce09230017699bc34ac3bf08ed2f84ed'/>
<id>urn:sha1:13a9d9ddce09230017699bc34ac3bf08ed2f84ed</id>
<content type='text'>
Pin outbound connections to validated public IP addresses so DNS changes
cannot redirect receiver or sender requests onto private or link-local
networks.

Apply the same protection across redirects, add an overall request
deadline, and keep DNS resolution out of synchronous endpoint form
validation.
</content>
</entry>
<entry>
<title>fix(core): prevent unsafe login redirects</title>
<updated>2026-10-29T17:57:32Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-10-29T17:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=aa59080c78a815a7c2e4509c9a8fe73edc93f6c2'/>
<id>urn:sha1:aa59080c78a815a7c2e4509c9a8fe73edc93f6c2</id>
<content type='text'>
Validate post-login redirect targets as local paths and reject
backslashes, scheme-relative URLs, and malformed paths that browsers may
interpret as external destinations.

Add regression coverage for safe local redirects and open redirect
variants.
</content>
</entry>
<entry>
<title>fix(core): resolve static type checking issues</title>
<updated>2026-10-27T22:49:24Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-10-27T22:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=c6a40d741c41cdc0af38eef89247c2120dcb6270'/>
<id>urn:sha1:c6a40d741c41cdc0af38eef89247c2120dcb6270</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(core): standardize SPDX copyright headers</title>
<updated>2026-08-20T20:22:15Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-20T20:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=12b8c4b7f1d14556cc459f672b501e901da2d216'/>
<id>urn:sha1:12b8c4b7f1d14556cc459f672b501e901da2d216</id>
<content type='text'>
Add SPDX copyright and license headers to source, test, migration,
template, and static files throughout the project.

Include the maintainer email in copyright notices and fill in the BSD
license copyright holder.
</content>
</entry>
<entry>
<title>refactor(core): improve typing and test coverage</title>
<updated>2026-08-19T17:49:55Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-19T17:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=d0e245d63e014d268310976fc45429f08d2cbbe9'/>
<id>urn:sha1:d0e245d63e014d268310976fc45429f08d2cbbe9</id>
<content type='text'>
Restructure database and user CLI commands, make passwords write-only
model properties, and use the UTC datetime constant throughout the
application.

Add PEP 287-style documentation and expand receiver, scanner, sender,
and URL security tests to cover error paths and edge cases.
</content>
</entry>
<entry>
<title>feat(sender): add outgoing Webmention pipeline</title>
<updated>2026-08-15T18:54:53Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-15T18:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=e0f65d7ff582b32f1c7b5508bba8cda807aaae5f'/>
<id>urn:sha1:e0f65d7ff582b32f1c7b5508bba8cda807aaae5f</id>
<content type='text'>
Scan generated h-entry documents for Webmention targets and track source
revisions and delivery state in the database.

Discover target endpoints, send Webmentions asynchronously, and reconcile
updated, removed, restored, and deleted sources across scans.

Add authenticated views for inspecting sent Webmentions and make the scanner
schedule configurable.
</content>
</entry>
<entry>
<title>fix(receiver): prevent requests to non-public addresses</title>
<updated>2026-08-10T17:36:49Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-08-10T17:36:49Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/webmentions-ssg/commit/?id=8350bef3e3baea6042ed3780a054cc65707e9f8d'/>
<id>urn:sha1:8350bef3e3baea6042ed3780a054cc65707e9f8d</id>
<content type='text'>
Resolve source hostnames before fetching and reject addresses that are
not globally routable to prevent SSRF against local or private services.

Repeat the check for every HTTP request so redirects cannot bypass the
initial source validation. Treat DNS resolution failures during
verification as temporary fetch errors.
</content>
</entry>
</feed>
