ssrfr: Server-Side Request Forgery Guard for Outbound Requests

Protects R applications that fetch URLs an attacker can influence from server-side request forgery. Each redirect hop is parsed once, resolved once, and every resolved address is classified before the connection is pinned to a validated address, so a hostname cannot be rebound between check and connect. Refusals carry stable reason codes. Provides the guarded fetch of each hop of a redirect chain, a helper that follows a whole chain, structural inspection of a URL without network access, and resolved inspection of every address a name resolves to.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: curl (≥ 7.0.0), pslr (≥ 1.2.2), raddr (≥ 0.1.2), rurl (≥ 3.1.0)
Suggests: callr, httpuv, knitr, oysteR, pkgload, processx, rmarkdown, rosv, testthat (≥ 3.0.0), webfakes (≥ 1.4.0), withr
Published: 2026-11-23
DOI: 10.32614/CRAN.package.ssrfr (may not be active yet)
Author: Bart Turczynski ORCID iD [aut, cre, cph]
Maintainer: Bart Turczynski <bartek at turczynski.pl>
BugReports: https://gitlab.com/bart-turczynski/ssrfr/-/work_items
License: MIT + file LICENSE
URL: https://bart-turczynski.gitlab.io/ssrfr/, https://gitlab.com/bart-turczynski/ssrfr, https://bart-turczynski.r-universe.dev/ssrfr
NeedsCompilation: no
SystemRequirements: libcurl (>= 7.73.0)
Language: en-US
Citation: ssrfr citation info
Materials: README, NEWS
CRAN checks: ssrfr results

Documentation:

Reference manual: ssrfr.html , ssrfr.pdf
Vignettes: Introduction to ssrfr (source, R code)

Downloads:

Package source: ssrfr_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ssrfr to link to this page.