How it works • Getting-Started • API Inventory • API testing • Add Test • Join Discord community •
Akto is a plug-n-play API security platform that takes only 60 secs to get started. Akto is used by security teams to maintain a continuous inventory of APIs, test APIs for vulnerabilities and find runtime issues. Akto offers tests for all OWASP top 10 and HackerOne Top 10 categories including BOLA, authentication, SSRF, XSS, security configurations, etc. Akto's powerful testing engine runs variety of business logic tests by reading traffic data to understand API traffic pattern leading to reduced false positives. Akto can integrate with multiple traffic sources - burpsuite, AWS, postman, GCP, gateways, etc.
Akto enables security and engineering teams to secure their APIs by doing three things:
Akto.demo.mp4
Step 1: Create inventory
Step 2: Run tests
Local deploy:
Run this script to create Akto at ~/akto and run the docker containers. You'll need to have Docker installed in order to run the container.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/akto-api-security/infra/feature/self_hosting/cf-deploy-akto)"
OpenJDK 8, node(v18.7.0+ link), npm(v8.15.0+), maven (v3.6.3 link), Mongo (v5.0.3+)
mkdir ~/akto_code
cd akto_code
git clone https://github.com/akto-api-security/community-edition
Open a new terminal tab
cd ~
mkdir ~/akto_mongo_data
<path_to_mongo_folder>/bin/mongod --dbpath ~/akto_mongo_data
Open a new terminal tab
cd ~/akto_code/community-edition
cd apps/dashboard
npm install
npm run hot
Open a new terminal tab
cd ~/akto_code/community-edition
export AKTO_MONGO_CONN="mongodb://localhost:27017"
export DASHBOARD_MODE="local_deploy"
mvn clean install
mvn --projects :dashboard --also-make jetty:run
Open a new terminal tab
cd ~/akto_code/community-edition
cd apps/testing
export AKTO_MONGO_CONN="mongodb://localhost:27017"
mvn compile; mvn exec:java -Dexec.mainClass="com.akto.testing.Main"
- Open
localhost:8080
in your favourite browser - You will need to signup when logging in for the first time, next time onwards you can login
-
To debug front end, install Vue.js Chrome extension from here.
-
To debug backend, run the following before running web server - a. Set MAVEN_OPTS variable to enable debugging on your Java process
```bash export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8081, -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.rmi.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" ```
b. In Visual Studio code, click on any line number to set a breakpoint.
c. Attach the Java debugger from Run and Debug mode. If you are doing this for the first time, click on “Create launch.json file” and then “Add configuration”. Choose “Java: Attach process by ID” and save the file.
d. A list of running Java processes with show up. Select the web server process to attach the debugger
We welcome contributions to this project. Please read our CONTRIBUTING.md for more information on how to get involved.
This project is licensed under the MIT License.