To cite sensmediation in publications use:

Lindmark A, de Luna X, Eriksson M (2018). “Sensitivity analysis for unobserved confounding of direct and indirect effects using uncertainty intervals.” Statistics in Medicine, 37(10), 1744–1762. doi:10.1002/sim.7620.

and:

Lindmark A (2022). “Sensitivity analysis for unobserved confounding in causal mediation analysis allowing for effect modification, censoring and truncation.” Statistical Methods & Applications, 31, 1599. doi:10.1007/s10260-021-00611-4.

Corresponding BibTeX entries:

  @Article{,
    title = {Sensitivity analysis for unobserved confounding of direct
      and indirect effects using uncertainty intervals},
    author = {Anita Lindmark and Xavier {de Luna} and Marie Eriksson},
    journal = {Statistics in Medicine},
    year = {2018},
    volume = {37},
    number = {10},
    pages = {1744--1762},
    doi = {10.1002/sim.7620},
  }
  @Article{,
    title = {Sensitivity analysis for unobserved confounding in causal
      mediation analysis allowing for effect modification, censoring
      and truncation},
    author = {Anita Lindmark},
    journal = {Statistical Methods & Applications},
    year = {2022},
    volume = {31},
    pages = {1599},
    doi = {10.1007/s10260-021-00611-4},
  }