The Shoninki was written during the Edo period (1603–1867), a time of relative peace in Japan. This context is crucial; unlike the Warring States period (Sengoku Jidai) where ninja were utilized for open warfare and castle infiltration, the shinobi of Natori Masazumi’s era were concerned with peacekeeping, surveillance, and internal security.