• 1.4.31-parang 5f7e3381cc

    loweel released this 2026-11-28 15:44:53 +01:00 | 6 commits to master since this release

    Stabbypossum 1.4.31 "PARANG" closes a hole that let any account make a user leave a community, names forged Blocks in red, decides every block by proved rules, marks the federated timeline instead of censoring it, and adds the Home filters.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Security: a ban only from the community itself

    Until now any signed account could send a Block naming as target a community the user follows, and the user left that community. Now a ban counts only when it comes from the community itself:

    • a Block whose actor is the community;
    • or the community's own Announce of a moderator's Block, signed by the community.

    Any other Block naming a target is refused: nothing is written and nobody is notified.

    Forged Blocks are named in red

    A Block is applied only in its exact form: its type is Block, its actor is the owner of the key that signed it (an unsigned one is refused), its object is a local user or one of their aliases, and its id is on the actor's host.

    A forged Block (signed by someone else than its actor, or with its id on another host) is told to the user with a new notification, block_attempt:

    • it names who signed it and, when different, whom it claimed to be;
    • the web interface shows it in bold red; apps that do not know the type show it plainly or not at all;
    • one a day for each signer, dated by this server's clock.

    A well-formed Block refused only for its target, such as a moderator's copy of a ban or a site ban, is somebody's real act: it is only logged, never called forged.

    Blocks decided by proved rules

    Every decision about a block is a SPARK function proved with gnatprove (doc/block-rules.md): the exact form, the order of the steps, whether a row replaces another, whom a Purge holds for, and which posts are marked. Every incoming Block now says its outcome in the log: recorded, already blocked, refused with its reason, left the community, or failed (at ERROR).

    What changes for you:

    • An Undo of a Block no longer lifts it. Whoever blocked us stays on None until you remove the row by hand.
    • A row written by the server only makes yours harsher. If an account you set to Slow blocks us, it becomes None; when you unblock it, the row is gone, with no history kept.
    • A user's Purge is that user's. It clears and stops the account for that user only. The Purge of the instance or of the administrator holds for everybody, the federated timeline and the stored posts included.

    The federated timeline is marked, not censored

    The federated timeline is the same for everybody, and a user's blocks no longer take anything out of it. A post by an account you blocked, or boosted by one, comes with the standard Mastodon filtered field and the action warn: apps show it covered, and the web interface shows it covered with a click to open it. What is illegal is for the administrator, who stops it for everybody.

    The marks are worked out in the background, not on every read: one worker keeps them on disk, every 15 seconds, only for the users active in the last 30 minutes (until they log out of the web interface).

    Home filters

    GET /api/v1/timelines/home takes the four Mastodon parameters: exclude_direct, exclude_reblogs, exclude_quotes and exclude_replies (a reply to oneself, a thread, stays).

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass. New: a unit test for the federated view, and smoke phases for the marked federated timeline, the forms of a Block and their outcomes, the forged-Block notification, a member's ban refused and the community's announcement taken, and each Home filter.

    Downloads