There is an official, open-source lastpass CLI client: <a href="https:&#x2F;&#x2F;github.com&#x2F;lastpass&#x2F;lastpass-cli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lastpass&#x2F;lastpass-cli</a>