diff --git a/rockcraft.yaml b/rockcraft.yaml
index 45f1ed36..68218bcf 100644
--- a/rockcraft.yaml
+++ b/rockcraft.yaml
@@ -61,3 +61,13 @@ parts:
       # Build the binary
       go mod download
       go build -ldflags="${go_linker_flags}" -o ${CRAFT_PART_INSTALL}/bin/kratos
+
+  deb-security-manifest:
+    plugin: nil
+    after:
+      - util
+      - shell
+    override-prime: |
+      set -x
+      mkdir -p $CRAFT_PRIME/usr/share/rocks/
+      (echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && dpkg-query --admindir=$CRAFT_PRIME/var/lib/dpkg/ -f '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' -W) > $CRAFT_PRIME/usr/share/rocks/dpkg.query